Re: Distiller Sample Line?
Re: Distiller Sample Line?
- Subject: Re: Distiller Sample Line?
- From: "Gary (Lists)" <email@hidden>
- Date: Fri, 03 Jun 2005 14:57:33 -0400
"Grimm, Kenneth" wrote:
> All:
>
> Can someone shoot me a sample line of code to distill a file in distiller 6?
> I've tried to research this and not coming up with much. Any help
> appreciated! Of course, this is on deadline.... :-)
>
> This is old code that used to work:
>
> repeat with thisFile in myFileList
> set myFileRef to thisFile as text
> tell application "Distiller"
> open alias myFileRef joboptions JobOptionsFileAlias with wait
> end tell
> end repeat
Ken,
Given that you're on a deadline, and since you said "any help", let me
suggest the built-in batch job processing options of Distiller.
My setup is such that I create a normal Distiller Watch Folder and then set
my Job Options. From there on out, when you launch Distiller, it processes
all the files inside the Watch Folder, to the output folder, according to
those settings.
Given a choice between an application-native batch processing and a
put-together AS alternative, I think you will find a speed gain, as well as
avoid time spent on trying to make your script wait for actions to be
completed.
You can, of course, have different Job Option settings, different Watch
Folders and different Profiles for your output documents.
Not AS code, I know, but I think it will help you meet your deadline. I'm
happy to offer more about setting up Distiller for such tasks, if you are
not familiar with the Batch processing features.
HTH,
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden