I am trying to write a code to open a exe file (Calculator) when press Insert key.
The code it's working when using 1.1 for converting to EXE, but not with 2.0.
I want:
1. to use 2.0
2. that the Calculator window to be on top after press Insert (maybe using WinMoveTop).
Thank you
Code: Select all
Insert::
#SingleInstance force
if WinExist("Calculator")
WinActivate
else
Run "C:\Program Files\Calculator\Calculator.exe"
return