🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8698

Re: Javscript doubt

#8698
From: priyan
Date: Fri, 29 Sep 2006 14:52
10 lines
875 bytes
Hi all

can any one suggest me what's the problem in the following script, from which i need all the objectstyles have been displayed.

var mydoc = app.activeDocument;
var myobst = mydoc.objectStyles;
for (var i in myobst.length)
{alert (myobst[i].name);}

thanx in advance
Technical Details
Message-ID: <3bc1d239.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossing
References: <3bc1d239.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,4a28de6506f03fbb
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: priyan@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Javscript doubt
Message-ID: <3bc1d239.2@webcrossing.la2eafNXanI>
Date: Fri, 29 Sep 2006 07:52:40 -0700
References: <3bc1d239.-1@webcrossing.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit