I am trying to write an applescript that opens a specific pdf file on my desktop. How do I do that?
Adobe what? the Reader? In what operating system - this forum is for OS 9 and previous. Is that where you want to be? Do you mean instead of Preview opening it if you’re in OS X?
I am using Mac OS X and I would like to open the file with Adobe Acrobat 6.0.2 Professional.
I’ve tried different variations in workflow, but just can’t find a way to open a specific file on my desktop.
Here you go, with pdfFileName being the full path in a string format.
tell application “Acrobat 6.0.2 Professional”
open file (pdfFileName as string)
end tell
Hi Goose
Try something like this:
tell application "Adobe Acrobat 7.0 Professional"
activate
open (choose file)
end tell
Look in the events log to see the result of the choose file which will be an alias, copy and paste that alias
into where the (choose file) command is,
Change your acrobat to 6.02 aswell might help.