Article View: adobe.scripting.indesign
Article #8925Re: Are there policies for usage of labels?
From: Gerald_Singelmann
Date: Wed, 20 Sep 2006 20:22
Date: Wed, 20 Sep 2006 20:22
17 lines
1854 bytes
1854 bytes
Shane, thank you for commenting, I put those lines in since I wasn't sure about the persistance of the list "selection". How safe is it to work with it? Isn't it so that the list is gone when the script creates something and thereby possibly de-selects the previous selection? It seems that my college prof was successfull in hitting his ideas of object oriented programming into my head. It feels wrong to put the layer information into any other object than the object that lies on that layer. Do you mean there would be one command to build all the layer information into one string? Else, wouldn't I go through the loop like before with the only difference that I don't store the layer in each loop into the object but instead building up a string to store in the group? Dirk, go ahead. Some people could use this as a plugin, since I cannot catch the use of the menu by script (or can I?). Also thank you for your suggestions. I notice I didn't clean up the script. All that extra weight (like "repeat with n from 1 to count...") is in the script for debugging purposes. I have not yet found out how to get the value of aThing in my debugger if the loop was built with "repeat with aThing in selection". Thank you Gerald
Technical Details
Message-ID:
<3bc1a682.4@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.germany.com!news.isoc.lu!webcrossingReferences:
<3bc1a682.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,bb0ad9c2d1a7e9a8 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Gerald_Singelmann@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.germany.com!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Are there policies for usage of labels? Message-ID: <3bc1a682.4@webcrossing.la2eafNXanI> Date: Wed, 20 Sep 2006 13:22:29 -0700 References: <3bc1a682.-1@webcrossing.la2eafNXanI> Lines: 30 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit