--- In [email protected], "harizvi" <[EMAIL PROTECTED]> wrote:
>
> I have a program (j9w) that sometimes creates 2 tray icons. I have an
> Active Buttons bar showing tray icons and =j9w in the matching
> captions list. I'd like to only show one of the two tray icons from
> this program in the bar. 
> 
> >From TRAYICONs.txt file: 
> exe=j9w id=0  fl=...u  class=SWT_Window1  cap=  tt=IBM Lotus Sametime...
> exe=j9w id=1  fl=...u  class=SWT_Window1  cap=  tt=Incoming chat ...
> 
> Is there a way to specify using the id?  I tried putting =j9w(1) but
> that doesn't seem to work.
>

If there is no undocumented feature around it, you may think about a
work-around. As I don't use j9w, I don't know if it'll work, but you
may try. I assume that the captions are not updated constantly, and
the wanted trayicon's control window comes secondly.

After j9w triggered, excute the following command, which may be
automated using event plugin etc:
word(win.handlelist("c=SWT_Window1",1),2).settext("SWT_Window")

Then, specify the caption, instead of =j9w,
SWT_Window

Of course, you can specify the caption as you want in place of
SWT_Window. And you have to check it's really the second one in
win.handlelist("c=SWT_Window1",1).

Sean






------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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