Can I set a key command to output two different PDFs - each at two different pre-set levels of quali
bascially i'm trying set apple automator script can key-command or alt-click on document , series of things happen.
1) document opens
2) document exports in 'high res' pdf setting.
3) automator adds "hr" file name.
4) document exports in 'low res' pdf setting.
3) automator adds "lr" file name.
can done? surely it's not technical?
some kind of script no-doubt in order...!
hi,
fill pdfpresets in first 2 lines. save script. launch spark, buttler ... keycommand.
(you can launch as-editor)
code edited droplet or programm ...
--has set user property mylowres : "presetnameforlowres" property myhighres : "presetnameforhighres" tell application "finder" set myfiles selection alias list end tell repeat 1 count of myfiles set thefile item of myfiles set testfiles {folder, file creator} of (info thefile) if testfiles equal {false, "indn"} tell application "adobe indesign cs5.5" set myfile open thefile set filepath file path of myfile set filename name of myfile set {lrfilepath, hrfilepath} gettargetpaths(filepath, filename) export myfile format pdf type lrfilepath using pdf export preset mylowres without showing options export myfile format pdf type hrfilepath using pdf export preset myhighres without showing options close myfile saving no end tell end if end repeat on gettargetpaths(fileobject, namestring) set folderpath fileobject text set applescript's text item delimiters {"."} if (count of text items of namestring) 1 set {lr, hr} {folderpath & namestring & "_lr.pdf", folderpath & namestring & "_lr.pdf"} else set {lr, hr} {folderpath & (text items 1 thru -2 of namestring) & "_lr.pdf", folderpath & (text items 1 thru -2 of namestring) & "_hr.pdf"} end if return {lr, hr} set applescript's text item delimiters {""} end gettargetpaths ... , please don't ask me 'automator'
More discussions in InDesign Scripting
adobe
Comments
Post a Comment