Article View: adobe.scripting.indesign
Article #14508indesign & incopy scripting
From: Jonathan Fisher
Date: Tue, 27 Jan 2004 14:55
Date: Tue, 27 Jan 2004 14:55
19 lines
1581 bytes
1581 bytes
hi all: know incopy has its own script forum, but it doesn't seem much used so i'll throw a couple of questions in here to see if anyone can answer them :-) firstly: my script works fine in layout view (ie wysiwy might get), but it don't work when i change views. . i'm getting a handle to the objects via... Set varDocument = varInCopy.ActiveDocument . If varInCopy.Documents.Count > 0 Then 'there's an open doc Set mySelection = varInCopy.Selection . i'm doing some find and replace operations using .search etc do i have to select differently to get the objects in galley and story view?? seconldy: how do i get a word count for an incopy document - do i loop through the story(ies) using the .Text.TextWords.Count function? or should i loop through the text frames using a simialr function? finally - any documentation on the object model for incopy?? i'm sort of guessing using the indesign model, and it seems to work so far!!
Technical Details
Message-ID:
<2ccf9a61.-1@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!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,8420fec5f3aeab63,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-27 07:07:43 PST From: "Jonathan Fisher" <jon@jonathanfisher.co.uk> 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: indesign & incopy scripting Message-ID: <2ccf9a61.-1@webx.la2eafNXanI> Date: Tue, 27 Jan 2004 06:55:43 -0800 Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit