Article View: adobe.scripting.indesign
Article #17732Re: Export EPS by VB
From: roberto soto
Date: Tue, 20 May 2003 16:17
Date: Tue, 20 May 2003 16:17
15 lines
1400 bytes
1400 bytes
Hi
I think some body forget to include InDesign.EPSExportPreferences in the object model, so far I only can export EPS like:
Private Sub Command1_Click()
Set myInDesign = CreateObject("InDesign.application.2.0")
If myInDesign.Documents.Count > 0 Then
Set myDocument = myInDesign.ActiveDocument
myDocument.Export idExportEPS, "c:\TEST.EPS", False
End If
End Sub
If you have some style to define, use the UI and export some dummy file to EPS with your style, ID will remember this setting next time. To change the page range we need to call some magician to do the trick!
Roberto
Technical Details
Message-ID:
<1de9029e.1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de9029e.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,83c524e44d029001 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-20 09:39:22 PST From: "roberto soto" <roberto1soto@hotmail.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Export EPS by VB Message-ID: <1de9029e.1@WebX.la2eafNXanI> Date: Tue, 20 May 2003 09:17:47 -0700 References: <1de9029e.-1@WebX.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit