This should work all I want is to execute
1 - Git Bash with One Click
2 - Calculator with Two Clicks
Here is the code:
Code: Select all
#~::
KeyWait, ~ ; wait for ~ to be released
KeyWait, ~, D T0.7 ; and pressed again within 0.2 seconds
if ErrorLevel { ; timed-out (only a single press)
Run "C:\Program Files\Git\git-bash.exe" --cd-to-home
} Else
Run C:\Program Files (x86)\SpeedCrunch\speedcrunch.exe
Return
Code: Select all
#~::
It works if I use
Code: Select all
#+~::