--- In [EMAIL PROTECTED], "swzoh" <[EMAIL PROTECTED]> wrote:
> local _esc_ = ?"\"
> local Maxthon = win.caption("=Maxthon")
> ini.set("!pproinfo!.ini","Tray Icons","Maxthon",
> "1027 674 "++Maxthon++esc(?"\x13IEFrame",_esc_))
> trayicon.right("Maxthon")
Well, I'm not aware of any apps which change the class names
at the start, but since Bruce mentioned about them, I think
I'd better adjust the script as:
-------------------------------------------------------
local sep = esc(?"\x13",?"\")
local tray_cap = win.caption("=exename")
local tray_cls = win.class("=exename")
local tray_name = "exename"
ini.set("!pproinfo!.ini","Tray Icons",tray_name,
"xxx yyy "++ tray_cap ++ sep ++ tray_cls)
trayicon.right(tray_name)
-------------------------------------------------------
------------------------ 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/