Acrobat scripting of rotate pages menu item
Acrobat scripting of rotate pages menu item
- Subject: Acrobat scripting of rotate pages menu item
- From: Christopher MJ Tangora <email@hidden>
- Date: Tue, 28 Oct 2003 15:52:36 -0500
I am trying to write a script that will rotate the even pages only for
any PDF selected. But I can not figure out how to get the menu items
selected.
Here is the code I have down so far. The commented out parts are the
parts that weren't working. I think the menu item is working, the last
response in the Event Log is get menu item "rotate pages" and it
doesn't throw back any errors.
tell application "Acrobat 6.0 Professional"
activate
set pdfRotate to choose file with prompt "Choose a PDF" of type {"PDF
"}
open pdfRotate
menu item "rotate pages"
-- can't get the sets to work?!!!?!?!?
-- set direction to "180 degrees"
-- set pagerange to true
-- set Rotate to Even
-- set pages to true
end tell
i tried using the above set... and i tried using properties _name_ :
setting. But both do not seem to be working. It sure would be easier
if I could just record this, but of course it won't.
thanks.
Chris Tangora
Desktop Specialist
Production Services
Daytona Beach News-Journal Corporation
Daytona Beach, Florida
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.