Hey guys I have been trying the suggestions everyone has been posting here for hours and cant get this pdf to open.

You can see how I have everything set up in the image below


And here is all the code:

BUTTON:


on (release) {
fscommand ("exec", "open");
}


applescript:


tell application "Finder"
activate
select file "ym.pdf" of folder "test"
open selection
end tell

Anyone know whats going on?