🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #570

Saving PDF via AppleScript

#570
From: Current_Point
Date: Tue, 13 Jan 2009 02:28
8 lines
1067 bytes
Has anyone encountered a problem saving a PDF via AppleScript (when using the presetfile property) in CS4?
set PDFSaveOptions to {class:PDF save options, presetfile:"MySettings"}
save current document in file myNewFile as Photoshop PDF with options PDFSaveOptions

Seems to work fine if I remove it, but then I can't select the preset. I guess I could define every PDF Save Options property instead, but it would have been nice to just choose a preset file instead. Am I missing something?

Thanks in advance.
Rik
Technical Details
Message-ID: <59b77f85.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,bc91251493eff4a3,start
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Current_Point@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Saving PDF via AppleScript
Message-ID: <59b77f85.-1@webcrossing.la2eafNXanI>
Date: Mon, 12 Jan 2009 18:28:58 -0800
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit