Article View: adobe.scripting.indesign
Article #16703Re: [VB] Can't delete guide
From: Alex Bu
Date: Mon, 04 Aug 2003 22:32
Date: Mon, 04 Aug 2003 22:32
14 lines
1326 bytes
1326 bytes
Hi Ole, now it works. Thanks! And I was already wondering why it didn't work with guides. Excuse my poor beginners programming skills, but what do I have to do to delete all guides labeled myGuide? I thought it would be something like that: For myCounter = 1 to myPage.Guides.Count If myPage.Guides.Item(myCounter).Label = "myGuide" then myPage.Guides.Item(myCounter).Delete End If Next But when I use the script one guide gets deleted but after that I get an error message "The requested member...does not exist". Thanks, Alex
Technical Details
Message-ID:
<1dea2e1a.2@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!diablo.voicenet.com!in.100proofnews.com!in.100proofnews.com!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1dea2e1a.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,b99ff8d0ef25617f X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-08-04 15:37:45 PST From: "Alex Bu" <12three@gmx.de> 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!diablo.voicenet.com!in.100proofnews.com!in.100proofnews.com!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: [VB] Can't delete guide Message-ID: <1dea2e1a.2@WebX.la2eafNXanI> Date: Mon, 4 Aug 2003 15:32:25 -0700 References: <1dea2e1a.-1@WebX.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit