Re: More Acrobat 5 headaches
Re: More Acrobat 5 headaches
- Subject: Re: More Acrobat 5 headaches
- From: Shane Stanley <email@hidden>
- Date: Fri, 07 Sep 2001 09:07:39 +1000
On 6/9/01 11:56 PM +1000, Lyle Petro, email@hidden, wrote:
>
Having read the threads here about Acrobat 5, I must concur. I would
>
love to be able to script consistently the export of a PDF file to an
>
EPS with specific settings, that being PS Level 1, binary, PICT Preview,
>
all embedded fonts. Shane, would you jump in here if you know the
>
syntax I must be missing? Thanks.
As far as I can see, all attempts to set settings for export fail -- it just
uses whatever was last used in the UI (I guess that means you can juggle
prefs files if you're really keen).
There seem to be six conversions. If you ask for the name of any of them,
Acrobat returns true -- not very useful. But if you just ask for
"conversions", you'll get a list returned in a form you can use. I just use
the indexes -- 1 for eps, 2 for jpeg, 3 for png, 4 for .ps, 5 for rtf, and 6
for tiff.
The actual export then becomes simple (and Acrobat must be the frontmost
app):
tell application "Acrobat 5.0"
activate
save document nameOfDoc to file filePath using conversion 6
end tell
--
Shane Stanley, email@hidden