Article View: adobe.scripting.indesign
Article #15464setting PDF Export Preferences using Applescript
From: rdb
Date: Wed, 03 Dec 2003 20:10
Date: Wed, 03 Dec 2003 20:10
16 lines
1336 bytes
1336 bytes
Has anyone been able to set any of the numerious PDF Export Preferences
such as ... page range, use security boolean, open document password, change security password, disallow printing, disallow changing, disallow copying.
you would think that the following code would work, but of course it does not. Applescript complains the property is not applicable in the current state.
tell application "InDesign 2.0.1"
set page range of PDF export preferences to "1-6"
-- OR I EVEN TRIED... set page range of PDF export preferences to {page range:"1-6"}
set disallow printing of PDF export preferences to true
-- tell myDocument to export the file to PDF goes here
end tell
any help or clues to this would really help
thanks
ryan
Technical Details
Message-ID:
<2cceb77b.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,8ec5f12ee7c371d6,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-12-03 12:37:53 PST From: rdb@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: setting PDF Export Preferences using Applescript Message-ID: <2cceb77b.-1@webx.la2eafNXanI> Date: Wed, 3 Dec 2003 12:10:31 -0800 Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit