🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.after.effects.scripting.render
Article #133

ScriptUI programming: getting the active control?

#133
From: Aaron_Cobb
Date: Mon, 04 Aug 2008 19:03
3 lines
960 bytes
Is there any simple way to get the active control in a panel/palette? I know I can test all the controls individually, but it seems there should be a more elegant way to do it.

If not, what is the best way to traverse the control tree? I can get at the children of a container, but I can't figure out how to test whether the child of a container is a container itself.
Technical Details
Message-ID: <59b60bc3.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efebe,3d8f59a2f046c049,start
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: ScriptUI programming:  getting the active control?
Message-ID: <59b60bc3.-1@webcrossing.la2eafNXanI>
Date: Mon, 4 Aug 2008 12:03:46 -0700
Lines: 7
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