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

ozalto | productivity oriented - loïc aigon



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"