Article View: adobe.scripting.indesign
Article #15141Re: How to ungroup 'inline' groups ?
From: Dave_Saunders
Date: Fri, 02 Jan 2004 14:07
Date: Fri, 02 Jan 2004 14:07
9 lines
1716 bytes
1716 bytes
In a script, you can only do what can be done in the UI. Work out a procedure in the UI and then mimic it in your script. You may not be able to tag them, but you can give them script labels. It sounds as though you're trying to do the kind of thing I just did with a catalog, but I quickly decided that there was little or no benefit to using XML and instead used a library to hold templates of my groups, with all the internal elements having script labels (at least, the ones that needed either populating or geometric manipulation). My populating script then was keyed off the paragraph styles of the incoming data. Originally, the data was provided me in XML, but I simply coverted the tags to paragraph style tags and worked from there. Later, we discovered that the process the client was using to create the XML was imperfect and when it transpired that the original data was in Excel spreadsheets, I had them send the spreadsheets and worked from there. I did all this in AppleScript for 2.0.2, so I doubt the code will do you much good. Dave
Technical Details
Message-ID:
<2ccf2967.2@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccf2967.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,53d4af4f756e9978 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-02 06:37:41 PST From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: How to ungroup 'inline' groups ? Message-ID: <2ccf2967.2@webx.la2eafNXanI> Date: Fri, 2 Jan 2004 06:07:18 -0800 References: <2ccf2967.-1@webx.la2eafNXanI> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit