i’m working on a cd rom and using apple script to launch pdfs from flash. the trouble is that when the script runs, it causes the folders it’s looking in for the pdf to pop up on the screen. is there any way to avoid this? or otherwise to close the folders straight away once it has lauched the pdf file? the code i am using is:
tell application “Finder”
select file “yourfile.pdf” of folder “yourfolder” of disk “YourDisk”
any ideas? thanks!