🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16760

PDF Style name on VBScript

#16760
From: Marcia Silva
Date: Thu, 31 Jul 2003 18:21
18 lines
1308 bytes
How can I set the PDF style using VB.
I get a automate error when getting in this line

myInDesign.PDFExportStyles.Name = "PrePress"

and the bening of the code is.
Set myInDesign = CreateObject("InDesign.Application.2.0")
myInDesign.Open (myDocument)

'get name for new document
Set newDocument = myInDesign.ActiveDocument
pdfDocument = myDocumentPath & newDocument & ".PDF"
myInDesign.Search strFind, False, False, strReplace

''PDF EXPORT
Set myPDFExportStyle = myInDesign.PDFExportStyles.Add
'myInDesign.PDFExportStyles.Name = "PrePress"
myPDFExportStyle.AcrobatCompatibility = idAcrobat40
Technical Details
Message-ID: <1dea261f.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,1da921c028b1ef0e,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-07-31 11:38:08 PST
From: "Marcia Silva" <msilvaon@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: PDF Style name on VBScript
Message-ID: <1dea261f.-1@WebX.la2eafNXanI>
Date: Thu, 31 Jul 2003 11:21:49 -0700
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit