Re: Acrobat Batch Sequences
Re: Acrobat Batch Sequences
- Subject: Re: Acrobat Batch Sequences
- From: David Simerly <email@hidden>
- Date: Fri, 21 Sep 2001 14:35:05 -0700
- Url: http://www.digital-native.com
on 9/21/01 12:42 PM, devmail at <email@hidden> wrote:
>
Has anyone managed to automatically start a batch sequence from
>
within Acrobat 5.0?
>
>
The applescript dictionary seems to suggest that it is possible -
>
>
perform: Causes the object's action to be executed
>
perform reference -- The object (Bookmark, Link Annotation,
>
or Batch Sequence) whose action is to be performed
The problem is that there is no object in Acrobat 5's dictionary called
"Batch Sequence." And by "Batch Sequence," I'm assuming you mean the items
accessible through the "Batch Processing" submenu of the File menu? These
are menu items and can be called like so:
tell application "Acrobat 5.0"
-- usually easier to call submenus by number.
-- here's why...
get name of menu item 5 of menu "Batch" --> "AVSequenceMenuItemAtom-2"
-- execute menu item "AVSequenceMenuItemAtom-2" of menu "Batch"
get title of menu item 5 of menu "Batch" --> "Open All"
-- execute (every menu item of menu "Batch" whose title is "Open All")
-- just use the submenu number...
execute menu item 5 of menu "Batch"
end tell
HTH.
DS
______________________________________
Digital Native
Your guide through the virtual jungle.
______________________________________
"In Italy for 30 years under the Borgias they had warfare, terror, murder
and bloodshed -- but they produced Michelangelo, Leonardo da Vinci, and the
Renaissance. In Switzerland they had brotherly love, 500 years of democracy
and peace, and what did that produce? The cuckoo clock."
-- Orson Welles in The 3rd Man