SHOW:
|
|
- or go back to the newest paste.
1 | #installkeybdhook | |
2 | #singleinstance force | |
3 | settitlematchmode, 2 | |
4 | ||
5 | #ifwinactive OneNote | |
6 | - | #ifwinactive ahk_class Framework::CFrame ;only works if main desktop OneNote window is active |
6 | + | #ifwinactive ahk_class Framework::CFrame |
7 | #F19:: | |
8 | sleep 50 | |
9 | - | sleep 150 ;wait for menu to activate, you may need to tweak this |
9 | + | |
10 | - | send dp ;dp will select draw=>pens. 2{alt} will undo your last action. wf will toggle between windowed and full screen. |
10 | + | sleep 50 ;wait for menu to activate, you may need to tweak this |
11 | - | return |
11 | + | send dp ;select draw=>pens. this can be changed to whatever menu hotkeys you want. 2{alt} will undo your last action, wf will toggle between windowed and full screen. |
12 | return | |
13 | #IfWinActive |