Page 1 of 1

Hotkey doesn't work

Posted: 21 Apr 2024, 14:17
by usser
Hello

Any idea why the below doesn't work? It should open the Screen Snapshot tool.

Code: Select all

LAlt::Send {LWin down}{Shift down}{s}{LWin up}{Shift up}
I think this is v2!

Thanks

Re: Hotkey doesn't work  Topic is solved

Posted: 21 Apr 2024, 14:24
by mikeyww
Hello,

It's v1, worked here. If you have another script or program using the key sequence, it might conflict. I do not recommend using LAlt as a hotkey.

Code: Select all

#Requires AutoHotkey v1.1.33.11
F3::Send #+s
Many other posts cover this topic as well, in case any are helpful.

Re: Hotkey doesn't work

Posted: 22 Apr 2024, 12:42
by RussF
In Windows 10 (and 11, I assume) - in Settings->Ease of Access->Keyboard->Print Screen Shortcut
you can map the PrtScn key to open screen snipping - no need for AHK (unless you don't want that hotkey).

Russ