Article View: adobe.scripting.indesign
Article #16233Script 2 PDF (VB Script)
From: SpeeD72
Date: Fri, 03 Oct 2003 16:37
Date: Fri, 03 Oct 2003 16:37
20 lines
1416 bytes
1416 bytes
Hi.
I Want to Export 2 Pdf some indesign Doc�s via VB script. I�ve read the Script Doc�s from Adobe and copy some Prog lines directly from that PDF and arrange other lines to my needs. It doesn�t work! Can somebody help me??
-------------------------------------------------
Dim myInDesign As InDesign.Application
Set myInDesign = CreateObject("InDesign.Application")
Set Doc = myInDesign.Open("D:\Temp\Prot Externo.indd")
-------------------------------------------------
Doc.Export idExportPDF, "D:\Temp\JJ.pdf", False,
The 1st line is exacly as in the Adobe script PDF... it returns error.
The last line has teh "object changed to "Doc" and the save file path changed too!
Thanks a lot!!!!
SpeeD72
Technical Details
Message-ID:
<2ccd9e90.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,616b7aa32e1cb030,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-10-03 09:37:59 PST From: SpeeD72@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Script 2 PDF (VB Script) Message-ID: <2ccd9e90.-1@webx.la2eafNXanI> Date: Fri, 3 Oct 2003 09:37:18 -0700 Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit