Article View: adobe.after.effects.scripting.render
Article #134Re: ScriptUI programming: getting the active control?
From: Aaron_Cobb
Date: Mon, 04 Aug 2008 19:20
Date: Mon, 04 Aug 2008 19:20
1 lines
978 bytes
978 bytes
Okay, I figured out how to traverse the control hierarchy. Controls can be differentiated from containers by checking the length of the children member array. A control's children array will have a length of zero. So will an empty container, of course, but that's fine, since I only care about containers that actually have controls in them.
Technical Details
Message-ID:
<59b60bc3.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossingReferences:
<59b60bc3.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efebe,3d8f59a2f046c049 X-Google-Attributes: gid1efebe,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Aaron_Cobb@adobeforums.com Newsgroups: adobe.after.effects.scripting.render Subject: Re: ScriptUI programming: getting the active control? Message-ID: <59b60bc3.0@webcrossing.la2eafNXanI> Date: Mon, 4 Aug 2008 12:20:55 -0700 References: <59b60bc3.-1@webcrossing.la2eafNXanI> Lines: 5 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing