Article View: adobe.scripting.indesign
Article #19163Re: Pantone tint
From: Olav Kvern
Date: Tue, 14 Jan 2003 16:09
Date: Tue, 14 Jan 2003 16:09
19 lines
1676 bytes
1676 bytes
Kari-- re: "� pretty long script to just find one tint" I agree--the way that 2.x handles tint scripting is not ideal. We're working on improvements.<g> re: handler You don't necessarily have to use a handler--it's just easier than pasting the routine in-line every time. But, yes, I think something like this is the only way to find a tint, and I'm sure that there are other cases where we need to do something similar. re: "- it is still mystery to me when to use "object reference" In this example, I used object reference because I saw that the tint was being returned as "item x of list y" when I really wanted a reference to "tint x of document y". Using an object reference gave me what I wanted. You can see things like this if you use a script editor that can debug, such as Late Night's Script Debugger. Most of the time, I use object reference when I want to assign a text object to an object variable. Thanks, Ole
Technical Details
Message-ID:
<1de72e91.9@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de72e91.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,e4d80716eba899ff X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-01-14 08:38:18 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Pantone tint Message-ID: <1de72e91.9@WebX.la2eafNXanI> Date: Tue, 14 Jan 2003 08:09:47 -0800 References: <1de72e91.-1@WebX.la2eafNXanI> Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit