Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 3715

Re: Manipulating the clipboard

$
0
0

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?


Viewing all articles
Browse latest Browse all 3715

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>