Pass Variable From Javascript to AppleScript
hi all,
my request zip folder.
i create folder using javascript , variable "folder_path"
for zip, pass folder_path variable applescript. can't success.
please help
regards
siraj
have @ scripts args ;
var main = function() { app.scriptargs.setvalue ("path", "/path/to/folder" ); var scpt = 'tell application "adobe indesign cc 2015"\ tell script args\ set v value name "path"\ display dialog v\ end tell\ end tell'; app.doscript ( scpt, scriptlanguage.applescriptlanguage ); } main();
hth
loic
More discussions in InDesign Scripting
adobe
Comments
Post a Comment