Re: Scripting InDesign CS3 print dialog box
Re: Scripting InDesign CS3 print dialog box
- Subject: Re: Scripting InDesign CS3 print dialog box
- From: Char Thumser <email@hidden>
- Date: Wed, 19 May 2010 08:52:21 -0500
- Thread-topic: Scripting InDesign CS3 print dialog box
I tried that route, I was able to create a postscript file-which I don't
want, but I wasn't able to choose the printer preset for the PDF I am trying
to create.
I can also get the name of the file I want, but I am unable to get it to
save to the correct directory.
I am so close..it is making me crazy!!!
On 5/19/10 8:46 AM, "David Wolfe" <email@hidden> wrote:
> You can, using Applescript, print to a postscript file or to PDF using given
> print presets and options of your choosing, setting the filename of the
> resulting files to whatever you want. For example, omit the .indd and replace
> the first 9 characters of the filename (0000_0000--a page range contained in
> the file) with the 4-digit page number of each single-page PDF.
>
> David
>
> On May 19, 2010, at 9:21 AM, Char Thumser wrote:
>
>> Good question, because that would be A LOT easier :)
>>
>> I want to paste the name of the file in the "Save" dialog box, that follows
>> the "Print" dialog box you get when you hit the "Printer..." button.
>> InDesign always adds an @ sign with the current percentage, and does not
>> remove the .indd extension. The name of my files have to be 9 characters,
>> with a .pdf extension.
>>
>> Exported pdf files do not work through our workflow. When you PRINT to pdf
>> Acrobat Distiller creates the PDF, when you EXPORT, PDF Library makes the
>> PDF. The PDF library causes unpredictable results in our workflow, so we
>> don't use it for press pdfs.
>>
>> Here's what I want to achieve in a nutshell. If there is a better way, I am
>> all for it!
>> 1) Print to PDF using a print preset I have created.
>> 2) Name the file the same name it is minus the .indd@70% -- or without all
>> the crap InDesign adds to the file name when you print to pdf.
>> 3) Save the PDF to a specific folder
>>
>> Char
>>
>>
>> On 5/19/10 4:20 AM, "Richard Rönnbäck" <email@hidden> wrote:
>>
>>> What is it you ar trying to achieve?
>>>
>>> Almost every aspect of InDesign is scriptable, so there are very few
>>> occasions where you would need to resort to GUI scripting.
>>>
>>> If all you want to do is to create a PDF, is there some reason not to use
>>> InDesign's built in PDF export?
>>>
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> AppleScript-Users mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>> om
>>> Archives: http://lists.apple.com/archives/applescript-users
>>>
>>> This email sent to email@hidden
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> AppleScript-Users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> .com
>> Archives: http://lists.apple.com/archives/applescript-users
>>
>> This email sent to email@hidden
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden