Article View: adobe.scripting.indesign
Article #16427Re: [VB] Ittarate over pageitems won't work
From: Eelko Heuvelmans
Date: Fri, 12 Sep 2003 13:34
Date: Fri, 12 Sep 2003 13:34
19 lines
1800 bytes
1800 bytes
IoLaire, Thanx for you're sample codes! The pageItem is for now unique in the document, but later on it will be present on top of every page. It can't be called a unique name, sine i have to apply styles to it and color's and stuf that repeat. But,. back to coding, I looked at you're first sample, there you use textframes, i have frames, eitherway text or picture frames in my document. As i type this, i think of trying this trick with text frames first, cuz i have been able to "speak" to them allready. In your second example i get washed over with underscores :D funny style that is. It helped me a little,.. but still get my cast exception error. I have a object that is a PageItem, I have a object that is the collection (PageItemS) I cant assign PageItemS.Item(1) to a single PageItem "like: myPageItem = myPageItemS.Item(1)" On that line i get an error now. Damn,.. i realy hate this part of programming, when stuff, probably so obvius, won't work, arghhh Any way,.. i'll keep trying, i have to get this to work today! Thanx!
Technical Details
Message-ID:
<2ccd6887.4@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccd6887.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,434b6b988840c727 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-09-12 06:37:59 PST From: "Eelko Heuvelmans" <eelko.heuvelmans@planet.nl> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [VB] Ittarate over pageitems won't work Message-ID: <2ccd6887.4@webx.la2eafNXanI> Date: Fri, 12 Sep 2003 06:34:13 -0700 References: <2ccd6887.-1@webx.la2eafNXanI> Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit