Hi all,
I got error in this script. Could anyone help on this?
tell application "Finder"
activate
set myApps to {"CS3", "CS4", "CS5"}
set selectedApp to choose from list myApps with prompt "Choose Application:" with title "Launch Application"
if the result is not false then
set myApp to "Adobe InDesign " & selectedApp
display dialog myApp
set myFile to "Applications:" & myApp & ":Scripts:Scripts Panel:Sample.jsx"
tell my application myApp
activate
run script file myFile // error "Adobe InDesign CS4 got an error: A unknown token can’t go after this “)”." number -2740
end tell
end if
end tell
Regards
Suresh