So far I'd had to:
1. set the correct version using the HH on the toolbar (not obvious)
2. change the path to AHK V2 in (Scite) ahk.properties
3. change also the name of the compiler
Ad 2 & 3: I have modified "ahk.properties" from line 14 (only changed lines):
Now, when I compile this simple sample script (from the AHK v2 docs) with scite4autohotkey:### AutoHotkey=$(AutoHotkeyDir)\AutoHotkey.exe
### Added V2 and changed wrond name of compiler exe
AhkV2Dir=$(AutoHotkeyDir)\V2
AutoHotkey=$(AhkV2Dir)\AutoHotkey.exe
ahk.help.file=$(AhkV2Dir)\AutoHotkey.chm
ahk.compiler=$(AhkV2Dir)\AutoHotkey64.exe
Code: Select all
#z::Run "https://www.autohotkey.com" ; Win+Z
^!n:: ; Ctrl+Alt+N
{
if WinExist("Untitled - Notepad")
WinActivate
else
Run "Notepad"
}
and a dialog pops up with the message:"C:\Program Files\AutoHotkey\V2\AutoHotkey64.exe" /in "E:\MENU\ProgLang\autohotkey\src\tst.ahk" /base "C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe"
But my script lives indeed here:Script file not found. /in
Any ideas?E:\MENU\ProgLang\autohotkey\src\tst.ahk
Please help; I don't understand ...