Re: PDFing from InDesign CS2
Re: PDFing from InDesign CS2
- Subject: Re: PDFing from InDesign CS2
- From: CYB <email@hidden>
- Date: Mon, 01 Feb 2010 18:44:44 -0600
- Thread-topic: PDFing from InDesign CS2
Title: Re: PDFing from InDesign CS2
Hello scripters,
Trying to find a way to set the application's (InDesign CS2) default PDF
preset.
In practice, it seems that the default PDF preset can only be set by
actually pdfing something (somewhat undermining the "preset" concept). I
could live with this, if there was a way to set it via script. I DON'T want
the user to have an option to choose the wrong preset, so any method that
gets the list of presets and has them choose one doesn't have value.
Any ideas would be appreciated.
Brad Houston
Production Technical Specialist
CTB/McGraw-Hill
---------------------
Brad I use all the time this, I hope helps you
tell application "Adobe InDesign CS4"
tell document 1
set RGB profile to "sRGB IEC61966-2.1" -- convierte a sRGB para pantalla
-- determina la estructura del nombre
set docName to text returned of (display dialog "Nombra tu documento" default answer “”)
end tell -- doc1
-- settings de exportacion que son a nivel de aplicacion no de doc
set screenSettings to PDF export preset "Pantalla"
set page range of PDF export preferences to all pages
export document 1 format PDF type to (PathToDocs & docName & ".pdf") using screenSettings without showing options
end tell
Of course you need a preset named “Pantalla” in your case use whatever name your preset, in that way my users don’t have any option to select any present or any option at all
Carlos Ysunza B.
Director
Ysunza/Santiago
Visual Communication • Automation
Tel. (52)55 5256-0336
email@hidden
http://www.ysunzasantiago.com
http://www.thesecretmexico.com
http://www.softrobot.com.mx
_______________________________________________
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