mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 11
K
killer Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: Jan 2003
Posts: 11
I'm rather anal about my taskbar and was wondering if it was possible to minimize a window open on the desktop to the system tray. I think that'd be an interesting feature. If I could script it, I would, but I don't believe it's possible.

Joined: Dec 2002
Posts: 117
R
Vogon poet
Offline
Vogon poet
R
Joined: Dec 2002
Posts: 117
That would be nice.
If tray-icons are supported, it would be nice if they were scriptable as well, something like

icon -arc <@name> [file<index>]
-a: add custom icon named @name to tray using icon [index] from [file]
-r: remove custom icon <@name> from tray
-c: change <file<index>> for custom icon <@name>

It would use standard menu definitions:
Code:
menu @my_trayIcon {
  tooltip:this would be a custom tooltip (would also be nice for @windows in buttonbar)
  dclick:{
    window -ak0 @blah
    icon -r @my_trayIcon
  }
  sclick: window -ak0 @blah
  $iif($window(@blah).state == normal,$style(2)) Show window:window -ak0 @blah
  $iif(!$window(@blah),$style(2)) Close window:window -c @blah
  $iif($window(@blah).state == hidden,$style(2)) Hide window:window -h @blah
}


$input(Me like stars, You too?)

Link Copied to Clipboard