🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1487

Re: [CS3 JS] A little help setting flattener prefs

#1487
From: Bal�zs_Slemmer
Date: Wed, 11 Feb 2009 10:10
13 lines
1253 bytes
Hi!

First, the reason why you cannot use with(app.flattenerPreferences) is just as the exception says: app doesn't have flattenerPreferences property... only spreads have such...
So I think the way you should go:

-create either manually or by script a flattenerPreset (app.flattenerPresets) and set the lineArtAndTextResolution to a value you need

-then create a PDFExportPreset (app.pdfExportPresets) where you set its appliedFlattenerPreset property to the desired preset

-then use document.exportFile(format, to, showingOptions, using) where you set the using parameter to the previously created PDFExportPreset.

Hope it helped!
Bal�zs
Technical Details
Message-ID: <59b7d6d2.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <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: Bal�zs_Slemmer@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [CS3 JS] A little help setting flattener prefs
Message-ID: <59b7d6d2.2@webcrossing.la2eafNXanI>
Date: Wed, 11 Feb 2009 02:10:47 -0800
References: <59b7d6d2.-1@webcrossing.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit