Applescript to run javascript
hi all,
i got error in script. on this?
tell application "finder"
activate
set myapps {"cs3", "cs4", "cs5"}
set selectedapp choose list myapps prompt "choose application:" title "launch application"
if result not false then
set myapp "adobe indesign " & selectedapp
display dialog myapp
set myfile "applications:" & myapp & ":scripts:scripts panel:sample.jsx"
tell application myapp
activate
run script file myfile // error "adobe indesign cs4 got error: unknown token can’t go after “)”." number -2740
end tell
end if
end tell
regards
suresh
hey suresh..
can't realy remember last time used applescript, still here 2 cents:
the javascript trying run has error somwhere in it. open in estk , try "check syntax" (form edit menu)
More discussions in InDesign Scripting
adobe
Comments
Post a Comment