Last active
July 26, 2018 17:31
-
-
Save gustavomdsantos/54586cf5d62148ca198e3f8b163e8ae8 to your computer and use it in GitHub Desktop.
AutoHotKey script that locks Ctrl+Alt+{Down, Left, Right} keys for avoid rotating Windows screen (90º, 180º, 360º) accidentally, instead of switching virtual desktops (on Windows 10).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; AutoHotKey Beginner Tutorial: https://www.autohotkey.com/docs/Tutorial.htm | |
; AutoHotKey Key list: https://autohotkey.com/docs/KeyList.htm | |
; AutoHotKey Hotkeys: https://www.autohotkey.com/docs/Hotkeys.htm | |
notificationMessage := "Rotação de tela por atalho de teclado bloqueada." | |
notificationIcon := 16 + 3 ; No notification sound (16) + Error icon (3) | |
^!Down:: | |
^!Left:: | |
^!Right:: | |
TrayTip, Ctrl+Alt+Seta, %notificationMessage%, , %notificationIcon% | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment