Article View: adobe.scripting.indesign
Article #16783[VB] Can't delete guide
From: Alex Bu
Date: Sun, 03 Aug 2003 22:23
Date: Sun, 03 Aug 2003 22:23
15 lines
1129 bytes
1129 bytes
Hi!
I try to delete a guide labeled "myGuide" via script. But I always get an "Object doesn't support this property or method: MyGuide.Delete". Here's the code:
Dim myInDesign
Set myInDesign = CreateObject("InDesign.Application.2.0")
Set myDocument = myInDesign.ActiveDocument
Set MyPage = myDocument.Pages.Item(1)
Set MyGuide = MyPage.Guides("myGuide")
MyGuide.Delete
Any idea where the problem is? Thanks
Alex
Technical Details
Message-ID:
<1dea2e1a.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!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,b99ff8d0ef25617f,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-08-03 15:37:44 PST From: "Alex Bu" <12three@gmx.de> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: [VB] Can't delete guide Message-ID: <1dea2e1a.-1@WebX.la2eafNXanI> Date: Sun, 3 Aug 2003 15:23:24 -0700 Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit