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

Discuss the future of the AutoHotkey language
Albireo
Posts: 793
Joined: 16 Oct 2013, 13:53

Install / Associate ahk to AHK-v2 - Win10

19 Dec 2018, 09:23

Hello!
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 AutoHotkey_2.0-a100-52515e2.zip 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 AutoHotkey_2.0-a100-52515e2.zip

But nothing happens!
What's wrong?
Albireo
Posts: 793
Joined: 16 Oct 2013, 13:53

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

19 Dec 2018, 09:41

Excuse me!
A restart of the computer was required, to get the AHK-association to work ...

Return to “AutoHotkey v2 Development”

Who is online

Users browsing this forum: No registered users and 7 guests