🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1387

Re: Printing separations with applescript

#1387
From: sph3rex
Date: Thu, 12 Feb 2009 20:30
5 lines
1482 bytes
Thanks for your reply Kasyan. I really appreciate it.
However the script i'm trying to work out is doing exactly the things that you've mentioned (having a printer preset that is set as the active printer preset) except that my script is modifying a few settings of that preset(that's because i need a lot of custom printing, and having a separate preset for each one would make me create a dozen presets). However the thing that i dun really get is why this works when using the print display dialog, and why it doesn't work without the print dialog. The thing that i really dun seem to understand ... why if i add after the "tell preferences" end tell the line:
set numberOfActiveInks to (every ink of theDoc whose print ink is true)
display dialog ((length of numberOfActiveInks) as string)
will show the "correct" number of inks i want to be printed, but when it goes printing them it just prints them all.
Technical Details
Message-ID: <59b7e4d7.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7e4d7.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,df6633b8b4c06544
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: sph3rex
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Printing separations with applescript
Message-ID: <59b7e4d7.1@webcrossing.la2eafNXanI>
Date: Thu, 12 Feb 2009 12:30:15 -0800
References: <59b7e4d7.-1@webcrossing.la2eafNXanI>
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit