I have an AutoHotkey script and it should be started each time on Windows startup. For this purpose, it is located in
The problem is that my AHK scripts are associated with Sublime Text, not the AHK interpreter. (Typically, when I need to run a script, I open it in Sublime Text and then press F1. I have a special package for it.)
Hence, on Windows startup, this script is opened in Sublime Text instead of being started. Is there a way to start it?
Bad workarounds I'm aware of:
- To associate
.ahkfiles with AHK interpreter.
- To convert
- To start
.ps1file to start
.ahkfile. (That is, it is assumed that
.ahkfiles are associated with Sublime Text, but
.ps1files are associated with the corresponding interpreters. I call this workaround "bad" because these file types are as well already associated with Sublime Text.)