Article View: adobe.scripting.indesign
Article #10188Re: Work with user selection
From: iswan
Date: Wed, 05 Jul 2006 07:49
Date: Wed, 05 Jul 2006 07:49
12 lines
953 bytes
953 bytes
If you write "Set MyFfame = MyInDisign.Selection ". I think It is error. Best you mention the item number.
If you want use like "Set MyFfame = MyInDisign.Selection " this.
You change to
Set myInDesign = CreateObject("InDesign.Application.CS2")
for i=1 to myInDesign.Selection.Count
Set myStory=myInDesign.Selection[i].ParentStory
Next i
iswan
Technical Details
Message-ID:
<3bc0cf41.7@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossingReferences:
<3bc0cf41.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,695e92a151670786 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: iswan@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: Work with user selection Message-ID: <3bc0cf41.7@webcrossing.la2eafNXanI> Date: Wed, 5 Jul 2006 00:49:03 -0700 References: <3bc0cf41.-1@webcrossing.la2eafNXanI> Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing