Article View: adobe.scripting.indesign
Article #171getting an objectStyle that is in a format group
From: LarsThoren
Date: Tue, 31 Mar 2009 07:58
Date: Tue, 31 Mar 2009 07:58
5 lines
1000 bytes
1000 bytes
I have a script that is working with object styles. I grouped my styles and can't find out how to access them within the group. I tried with groupname.Stylename as I thought that would have been logical but doesn't work. Would appreciate any input on this, thanks.
var myObjectStyle_CategoryTableCorner = myDoc.objectStyles.item("CategoryPage.CategoryTableCorner");
item.parent.applyObjectStyle(myObjectStyle_CategoryTableCorner, false, false);
Technical Details
Message-ID:
<59b87562.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,f2230e7fd88cdcd7,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: LarsThoren@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: getting an objectStyle that is in a format group Message-ID: <59b87562.-1@webcrossing.la2eafNXanI> Date: Tue, 31 Mar 2009 00:58:24 -0700 Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit