Aaron,

even when I correct for the typo in the filter method, I still can't get
this to work under xp.  would you have expected it to work under xp?
there is such a window class and module, but it's accessible children
are showing as 0 for me.

thanks.

Chip





------------------------------

Chip Orange
Database Administrator
Florida Public Service Commission

chip.ora...@psc.state.fl.us
(850) 413-6314

 (Any opinions expressed are solely those of the author and do not
necessarily reflect those of the Florida Public Service Commission.)
 

> -----Original Message-----
> From: Aaron Smith [mailto:aa...@gwmicro.com] 
> Sent: Tuesday, July 21, 2009 8:24 AM
> To: gw-scripting@gwmicro.com
> Subject: Re: scripting to get information about a specific 
> icon on the system tray
> 
> The systray class (at least under Vista) is TrayNotifyWnd. So, using 
> Immed, I can do:
> 
> Set t = 
> DesktopWindow.Children.FilterByClassAndModule("TrayNofityWnd", 
> "EXPLORER")
> For Each a in t(1).Accessible.Children: print a.name : next
> 
> And I get back (on this machine):
> 
> New updates are available
> Windows Sidebar
> Scan in progress...
> Virtual CloseDrive
> 
> The "New updates are available" is the only one that's 
> visible. The rest 
> are hidden by the chevron. I'm sure if you get the state of each of 
> them, you can find which are hidden and which are visible (if 
> you care).
> 
> You could also use DesktopWindow.Children.FilterByName("Notification 
> Area"), but I don't know if you would run into localization 
> issues or not.
> 
> Aaron
> 
> On 7/20/2009 9:58 PM, Jeff Bishop wrote:
> > Hello,
> > With Window-Eyes what would be the best way of getting 
> information on a
> > specific tooltip/icon in the system tray? I would think one 
> would use
> > MSAA here to derive this information?
> > For example, hit a key and have it speak information relative to one
> > icon in the system tray area?
> > Jeff
> >
> >
> > __________ Information from ESET Smart Security, version of virus
> > signature database 4262 (20090720) __________
> >
> > The message was checked by ESET Smart Security.
> >
> > http://www.eset.com
> 
> -- 
> To insure that you receive proper support, please include all past
> correspondence (where applicable), and any relevant information
> pertinent to your situation when submitting a problem report to the GW
> Micro Technical Support Team.
> 
> Aaron Smith
> GW Micro
> Phone: 260/489-3671
> Fax: 260/489-2608
> WWW: http://www.gwmicro.com
> FTP: ftp://ftp.gwmicro.com
> Technical Support & Web Development
> 

Reply via email to