Was a solution ever posted to Alex's question about whether PP can 
get the text of a TrayIcon's tooltip?   I would like PP to check 
whether ZoneAlarm is locked or unlocked, and the only text that seems 
to change is the tray icon tooltip (from "ZoneAlarm" to "Internet 
Lock Engaged").  I would like PP to be able to determine which 
tooltip is active.

Thanks!

--- In [EMAIL PROTECTED], Alex Peters <[EMAIL PROTECTED]> wrote:
> Hi guys,
> 
> 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.
> 
> Just for interest, I used this script to get any information that
> PowerPro could read from the windows. It finds the caption and text
> content of every window that matches the first command.
> 
> Try changing `=Trillian' to another caption list to see it function.
> 
> ---
> Local HandleList = Win.HandleList("=Trillian", 1)
> For(Local HandleIter = 1; ; HandleIter = HandleIter + 1)
>     Local Handle = Word(HandleList, HandleIter)
>     If(Not(Handle))
>         Break
> ; all one line below
>     Win.Debug(HandleIter ++ ".", Win.Caption(Handle), "(Handle " ++ 
Handle ++ ")")
> ; all one line above
>     For(Local ControlIter = 1; ; ControlIter = ControlIter + 1)
>     Local ControlText = Win.ChildTextByIndex(Handle, ControlIter)
>     If(_EOF_)
>         Break
>     Win.Debug("���", ControlIter ++ ".", ControlText)
>     EndFor
> EndFor
> ---
> 
> Cheers,
> Alex
> 
> ICQ# 37414292



------------------------ 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
---------------------------------------------------------------------~->

 
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