🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8240

Re: Export To PDF using a Preset

#8240
From: Dave_Saunders
Date: Wed, 25 Oct 2006 12:55
9 lines
983 bytes
exportFile takes four arguments and you're only passing three. See page 685 of the guide.

Even though the last two are declared as optional, you can't just leave one out. If you are ambivalent about showing options, then use undefined, but that takes longer to type than either true or false.

You need:

myDoc.exportFile(ExportFormat.pdfType, myFile, false, myPDFExportPreset);

Dave
Technical Details
Message-ID: <3bc2134d.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc2134d.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e6488cc6320e7b31
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Export To PDF using a Preset
Message-ID: <3bc2134d.0@webcrossing.la2eafNXanI>
Date: Wed, 25 Oct 2006 05:55:16 -0700
References: <3bc2134d.-1@webcrossing.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing