Got the following applescript from another board and am trying to open a pdf file from a CD Rom tirggered from a button in Flahs. I have got the button in flash to initiate the script but am having a hard time getting the script to work.
This is the script:
tell application "Finder"
activate
select file "your-file.pdf" of disk "Your Disk"
open selection
end tell
The problem I am having is I get a syntax error "Expected end of line, etc. but found ". And it highlights the " at the begining of "Your Disk".
Then when I remove the quotes it tells me that the disk is not defined.
Does anybody have any idea how to mak this work, I think I am about to loose my mind.
Thanks,
Bingo