ok...
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" set myScript to POSIX path of myFile tell my application myApp activate run script file myScript end tell end if
end tell