I have edited SciTEUser.properties like @FanaticGuru suggested in this post :
Code: Select all
file.patterns.ahk=*.ahk;*.ah2
file.patterns.ahk1=*.ahk
file.patterns.ahk2=*.ah2
ah2.file.extension=*.ah2
filter.ahk=\
AutoHotkey scripts (*.ahk)|$(ahk.file.extension)|\
AutoHotkey v2 scripts (*.ah2)|$(ah2.file.extension)|\
AHK scriptlets (*.scriptlet)|$(ahkscriptlet.file.extension)|
C:\example\SciTe\
C:\example\v2\AutoHotkey64.exe
But when I press F5 (run script) S4A still tries to run .ah2 scripts with ..\AutoHotkey.exe (the v1 executable).