PDA

View Full Version : set zoom of pdf using applescript?


dbeedle
05-14-2009, 11:46 AM
I've created a very simple applescript that opens a PDF file based on a button click in Flash. My client has now asked that the PDF opens with the zoom level set 100%. Can I achieve this in my applescript? Currently, it looks like this:

tell application "Finder"
activate
open document file "my_doc.pdf" of folder "fscommand" of disk "my_disk"
end tell

northcode
05-14-2009, 05:45 PM
Start recording a new AppleScript... open a PDF document, set the zoom and stop recording. Now look a the AppleScript and steal the code you need :)