Article View: adobe.scripting.indesign
Article #855[JS, CS3] Creating a new boolean object. Is it possible?
From: Len_Swierski
Date: Thu, 26 Feb 2009 21:20
Date: Thu, 26 Feb 2009 21:20
4 lines
1377 bytes
1377 bytes
Hello, I am wondering if I can create a new boolean object in InDesign that I can use in a script I am working on. What I am doing is selecting some text and then manipulating other aspects of the selection's paragraph. I want to be able to determine if certain characters are selected, so the new boolean object would be, let's say "selected." If a character within the paragraph is selected, it's value would be "true," while other characters in the paragraph that are not selected would remain "false." Is this possible? I am also thinking that I could use an already existing boolean value, such as strikeThrough and then turn it off at the end of the script. But this is not elegant if the text were to REALLY need strikeThrough (not very likely, but just sayin'). Thanks for any advice. Regards, Len Swierski
Technical Details
Message-ID:
<59b80f93.-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,2650d9a3bbbf97f7,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Len_Swierski@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: [JS, CS3] Creating a new boolean object. Is it possible? Message-ID: <59b80f93.-1@webcrossing.la2eafNXanI> Date: Thu, 26 Feb 2009 13:20:23 -0800 Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit