--- In [EMAIL PROTECTED], "swzoh" <[EMAIL PROTECTED]> wrote:
> 
> --- "Alex Peters" <[EMAIL PROTECTED]> wrote:
> > 
> > --- I wrote:
> > 
> > > I was wondering if anyone knows of a way of getting the ToolTip of a
> > > system tray icon, similar to the way PowerPro can get the caption of
> > > a window (Window("Caption", "Active") or Win.Caption("Active")).
> > 
> > > I've tried looking at the captions of every window created by that
> > > process, but none of them contain the system tray icon's ToolTip.
> > 
> > Some fiddling around with Russel's fantastic MiscPlugin has rewarded
> > me with some progress in this department.
> > 
> > The following expression will evaluate to a multi-line string with
> > the ToolTip of each system tray icon contained on each line (or at
> > least it will on a Windows XP system):
> > 
> > Local TrayIcons = MiscPlugin.Get_WindowText(?"Taskbar", 5, ?"Sep=10")
> > 
> > Also just for interest, you can do the same for each visible taskbar 
> > entry by changing the 5 in the above expression to 9.
> 
> I'm rather surprised to hear that simply "Taskbar" works.
> I supposed that only "c=Shell_TrayWnd" would work, as
> the taskbar has no caption at all, AFAIK.
> Maybe, "Taskbar" is not just a caption of a window, but
> has some special meaning for MiscPlugin.
> Anyway, nice finding.

I just realized that 'Taskbar' has a special role in PP,
like 'active' and/or 'under'.

Sean





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to