Article View: adobe.scripting.indesign
Article #1471Re: [CS3 JS] A little help setting flattener prefs
From: Thomas_Bolbro_Nielsen
Date: Tue, 10 Feb 2009 22:33
Date: Tue, 10 Feb 2009 22:33
19 lines
1343 bytes
1343 bytes
Hi Rasmsus / Hej Rasmus
with(app.flattenerPresets) {
alert(item(0).name);
}
This will alert the name of the first flattenerPreset.
app.flattenerPresets holds the defined presets and is read only.
The properties you can set, is listed here: <http://www.indesignscriptingreference.com/CS3/JavaScript/FlattenerPreset.htm>
So:
with(app.flattenerPresets) {
item(0).rasterVectorBalance = 100;
}
Should set the rasterVectorBalance to 100 for the first flattenerPreset (If the first preset is a Adobe preset [low resolution] you can only change it with scripting it seems)
Hope this helps (DK: Du er velkommen til at sende mig en mail p� mail (at) nobrainer (dot) dk hvis du har brug for hj�lp til andet.
Technical Details
Message-ID:
<59b7d6d2.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b7d6d2.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2258a9bb02c0f511 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII From: Thomas_Bolbro_Nielsen@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [CS3 JS] A little help setting flattener prefs Message-ID: <59b7d6d2.0@webcrossing.la2eafNXanI> Date: Tue, 10 Feb 2009 14:33:27 -0800 References: <59b7d6d2.-1@webcrossing.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit