ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

double keypress for hotkey

(1/1)

matesko:
It would be nice to have an option for double (or even triple) keypress for hotkey to start farr. For example double "click" on shift or Ctrl or Alt or something similar.

Nod5:
Do you really want to spend as much as three keyboard presses each time you load FARR? I'd say it is useful enough to deserve a one press hotkey!  ;D But if you still want it a short Autohotkey script can be used to launch FARR with such custom hotkeys.

Doubletap:

--- ---F4::
if (A_TimeSincePriorHotkey < 500) and (A_PriorHotkey == A_ThisHotkey)
 send {pause}   ;the command that launches FARR
return
Tripletap:

--- ---F5::
if (A_TimeSincePriorHotkey < 500) and (A_PriorHotkey == A_ThisHotkey)
if triple = 1
send {pause} ;the command that launches FARR
else
 triple = 1
else
 triple = 0
return

If you want to use the Control key alone as a tripletap hotkey we better prevent holding down of the button for a longer time from triggering a lot of open and close actions in FARR. This seems to work.

--- ---Control::
if (A_TimeSincePriorHotkey > 10) and (A_TimeSincePriorHotkey < 500) and (A_PriorHotkey == A_ThisHotkey)
if triple = 1
send {pause} ;the command that launches FARR
else
 triple = 1
else
 triple = 0
return

ewemoa:
IIRC, when bugging mouser about this type of functionality, I think he suggested checking out TapTap Hotkey Extender -- at the time of trial it worked (but it didn't survive across multiple machine transitions, so I haven't had much experience with it recently).

matesko:
This was fast. Thanks! That is all I need   :Thmbsup:

Navigation

[0] Message Index

Go to full version