Page 1 of 1

Install / Associate ahk to AHK-v2 - Win10

Posted: 19 Dec 2018, 09:23
by Albireo
I try to associate all AHK-script to AHK-v2.0 - but failed
First, I removed all old AHK-files (AHK-v1.1) from C:\Program Files\AutoHotkey\
Unzipped to that directory.
Tried to run a new script

Code: Select all

SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

MsgBox %A_AhkVersion%
1. The icon is not the "green-H" (it's a white paper sheet)
2. Each time I click on that icon, the question is asked .: How do you want to open this .AHK file?
I always select "Autohotkey Unicode 64-bit" and the AHK-v2 program is running.

How to select the "Autohotkey Unicode 64-bit" program permanent?
I right-click on the test.ahk file and choose properties.
I see that it says "Opens with: Unknown Program"
I press on the button "Change" and select

But nothing happens!
What's wrong?

Re: Install / Associate ahk to AHK-v2 - Win10  Topic is solved

Posted: 19 Dec 2018, 09:41
by Albireo
Excuse me!
A restart of the computer was required, to get the AHK-association to work ...