--- "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.
Sean
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/