Something very strange happens:
$.includePath
generates a string ending with a semicolon, for example:
E:\_DDDprojects\FM+EN-escript\escript;
Hence the following does not find and execute my compiled AHK script
// establish the hortcut for inserting temp. citations with the AHK scipt var ahkFile = File($.includePath + "\\ctrl-y.exe"); if (ahkFile.exists === true) { ahkFile.execute(); } else { alert ("Program ctrl-y.exe not found in script directory"); } }
OK, I just need to add some code to remove the semicolon. But why the heck is it there?