Article View: adobe.scripting.indesign
Article #17825Re: Select all - Scripting Text Frame and Text Wrap (AS)
From: CouponBoy
Date: Tue, 13 May 2003 15:58
Date: Tue, 13 May 2003 15:58
23 lines
1439 bytes
1439 bytes
Hi, this script will ungroup every group it finds, and continues to ungroup sub-groups as well, on every page of the document. (The beginning IF statement is just so it doesn't waste time if there is no document open.) I don't think it affects items on the pasteboard. Chris ---- tell application "InDesign 2.0.2" if exists document 1 then tell document 1 set myPage to 1 repeat (count pages) times repeat while ((count groups of page myPage) > 0) tell page myPage tell first group ungroup end tell end tell end repeat set myPage to myPage + 1 end repeat end tell beep end if end tell
Technical Details
Message-ID:
<1de909b0.8@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de909b0.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,4bf66e2b292dec9 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-13 09:09:22 PST From: CouponBoy <chris.paveglio@clippermagazine.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Select all - Scripting Text Frame and Text Wrap (AS) Message-ID: <1de909b0.8@WebX.la2eafNXanI> Date: Tue, 13 May 2003 08:58:19 -0700 References: <1de909b0.-1@WebX.la2eafNXanI> Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit