Autohotkey related

Discuss Autohotkey related topics here. Not a place to share code.
Forum rules
Discuss Autohotkey related topics here. Not a place to share code.
darsh1809
Posts: 2
Joined: 17 Dec 2022, 01:38

Autohotkey related

17 Dec 2022, 01:45

Why is it that whenever I use make a new macro script and run it for the first time, the script colors are gone and it basically becomes into a text file. I don't know why this is and the script runs but nothing happens.
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Autohotkey related

17 Dec 2022, 02:48

Sounds like you’re running it as text, so it'll open within a standard editor without syntax coloring/highlighting + it will be executed as text instead of being interpreted by autohotkey.exe
darsh1809
Posts: 2
Joined: 17 Dec 2022, 01:38

Re: Autohotkey related

17 Dec 2022, 10:06

That IS right but I don't how to fix that. I am pretty new and I have also tried saving it in different file types. I would really appreciate the help.
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Autohotkey related

17 Dec 2022, 10:15

https://www.lifewire.com/how-to-change-file-associations-in-windows-2624477
As said, you've to assign it (the *.AHK extension) to autohotkey.exe. Good luck :thumbup:

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests