Reputation: 4977
I recently installed the new Autohotkey v2. I have an existing autohotkey script called test-v1.ahk
When I double-click on test-v1.ahk
, autohotkey is smart enough to detect that the code conforms to v1 syntax and runs autohotkey v1 on it. How to force auto-hotkey v2 to run on test-v1.ahk
?
Both Autohotkey v1 and v2 are installed on my PC running on Windows 10.
Upvotes: 3
Views: 4695
Reputation: 4977
Someone smart and helpful gave me this answer.
The solution is this https://www.autohotkey.com/docs/v2/lib/_Requires.htm
Upvotes: 6