Hopefully someone can help me out. Here is my dilemma.
I have created a flash projector file that is using a fscommand(“exec”,“file.app”); and I have created some applescript that is getting called by the fscommand. This applescript is calling a pdf file. I am getting the applescript to run from the cd and it locates the file but will not open the pdf until I click the button again. Sometimes it works on the first click. But sometimes it does not. Has anyone had this problem on mac. Any help would be great. Here is my applescript that i am using:
tell application “Finder”
activate
select file “start.pdf” of folder “pdfs” of folder “Charting_Course”
open selection
end tell