-
-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monitor Off/On Button? #295
Comments
@Raychan87 - since you already use app for that, i think it will be easier to bind a key. You can't bind a combination at the moment, but what you can do - is trigger some exotic keypress for M3/M4 like F13 (that doesn't even exist on default keyboard) It's explained at https://github.com/seerge/g-helper#custom-hotkey-actions Full list of codes that you can use is here https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes Then you can setup your Dekisoft Monitor Off to listen for that combination i think ? :) |
Thank you very much for your answer. Unfortunately, in Dekisoft Monitor Off you can't set F keys. i use the g-helper v0,55. config.json: |
Cause to run bat you need to tell windows with what to execute it, try
|
Unfortunately, does not work either. even if I only enter "cmd.exe" nothing happens. here is the log: |
@Raychan87 this build should fix cmd running Also i have simply added Laptop Screen option in dropdown that should toggle screen on / off |
cmd works now, thanks :) The new function "Laptop Screen" does not work on my Asus G14 GA401QM 2021 with Windows 11 22H2. My batch file has the command: powershell (Add-Type '[DllImport("user32.dll")]^public static extern int PostMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::PostMessage(-1,0x0112,0xF170,2) |
@Raychan87 i use same, strange it doesn't work
|
GHelper.zip |
Yes, now it works. Thanks a lot :) Wish you still a nice weekend |
Thank you for the nice tool.
Unfortunately, the G14 does not have a standard button to turn the monitor on and off.
Currently I use "Dekisoft Monitor Off" with a button combination. Is it possible to add such a function for the M3/M4 button?
If it is not possible or too complicated. How do I put a key combination like "CTRL+ALT+Y" on M3?
The text was updated successfully, but these errors were encountered: