I'm new at using AHK and am hoping for some pointers on implementing an idea.
I want to use a double-click of the Caps Lock to execute a PrntScrn command. Is that possible?
Thanks
Double-click Caps Lock to execute PrntScrn Topic is solved
Re: Double-click Caps Lock to execute PrntScrn Topic is solved
Hallo,
try:
or in one line:
try:
Code: Select all
~*CapsLock Up::
IF (A_PriorHotkey = A_ThisHotkey And A_TimeSincePriorHotkey < 400)
Send, {PrintScreen}
Return
Code: Select all
~*CapsLock Up::Send,% (A_PriorHotkey = A_ThisHotkey And A_TimeSincePriorHotkey < 400)?"{PrintScreen}":
Re: Double-click Caps Lock to execute PrntScrn
Works exactly as I hoped. Thanks so much!
Who is online
Users browsing this forum: Rohwedder and 340 guests