In Autohotkey, how can I make NumpadDot double-click if Foxit Reader is active, otherwise send a normal NumpadDot?
My (broken) attempt:
NumpadDot::
SetTitleMatchMode 2 ; allow partial titles
IfWinActive, Foxit
Click 2
else
Send {NumpadDot} ; THIS CREATES AN ENDLESS LOOP!
Return