like: shift+ctrl+M to change font size in WORD for ex
now i will use autohotkey script to make this keyboard shortcut simple by:
Code: Select all
#If GetKeyState("ScrollLock", "T") && WinActive("ahk_exe WINWORD.exe")
$m::
SoundBeep, 1500, 20
Send m{ctrl Down}{shift Down}
Sleep, 200
SoundBeep, 1000, 20
Send m{ctrl Up}{shift up}
Return
here my script problem when i press M if scroll lock on shortcut work nicely but with that its type "m" in my page of the word i want when i press "m" if the scroll lock on
to only active my keyboard shortcut witch is shift+ctrl+M without type "m"
so what i want if i press M when scroll lock on just for active "this shift+ctrl+M" and disable M form type in the word page
and when scroll lock off every thing back normal