--- In [email protected], "Dan" <[EMAIL PROTECTED]> wrote:
> --- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
> > Try
> > trayicon.right("=JabberMessenger")
> 
> doesn't work either :-(
> 
The best I can think of is to ask the developers to put a unique 
caption on the window used for tray icon communication.

Failing that, I cannot think of anything easy to do.  If you want, 
you could try to review all the windows that the program creates 
with winspector (google for free download) and see if there is some 
other way you can uniquely identify the window associated with the 
tray icons.  trayicon.dump will tell you its class on a particular 
run, then you'd have to use winspector to look at the window and see 
of there is something special about it that you could identify, eg 
size and position.  Then you would have to write a script to use 
that characteristic pick the window handle at PowerPro start up and 
put it into a global variable called say JMWin.  Then use
trayicon.right(JMWin)

Not very pretty, I am afraid.






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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