Anonymous wrote:
The beauty of Normands solution is that it is completely portable, nobody has to install autohotkey.exe if they don't want to in order to run the plugin scripts.
well,
but the plug-in
.ahk are not include in the compilation.exe,
how run-it ?
Anonymous wrote:
A compiled script can NOT run another *.ahk script, that is correct.
cause
Code:
;n°225
Loop,%A_ScriptDir%\plugins\*.ahk
{
StringTrimRight,AddMenuItemP,A_LoopFileName,4
Menu,P,Add,&%AddMenuItemP%,PA
}
; AND
; n°3020
;### Extensions
PA:
StringTrimLeft,RunScript,A_ThisMenuItem,1
Run %A_AhkPath% "%A_ScriptDir%\plugins\%runscript%.ahk"
Return