mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2005
Posts: 21
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Sep 2005
Posts: 21
are there a command or script to minimize all servers and channels windows ?

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
For the channels use the -n switch in the /join command

/help /join

I don't know why you'd want to have all the channels & status windows minimized, unless you're wanting it for an isntallation that's used for a bot, in which case, I just have the entire program minimized to the tray.

mIRC Options - Display - Options - Tray

check On startup minimize mIRC to Tray

Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
/*

Usage:

/minimize, to minimize all the windows in 1 server window
/minimizeall, to minimize all the windows in all the server windows

*/

Code:
alias minimize {
  var %i = 1
  while ($window(*,%i)) {
    window -n $+(",$ifmatch,")
    inc %i
  }
}
 [color:blue]  [/color] 
alias minimizeall scon -a minimize


To test it in action: Maximize a channel window, then hold alt+w+t to Tile all your windows. Then you can minimize the windows from a particular server with /minimize, or just minimize em all with /minimizeall.


Gone.
Joined: Sep 2005
Posts: 21
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Sep 2005
Posts: 21
thx... that work fine for me

Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
May i suggest the following change

window -n $+(",$ifmatch,") replaced with .timer 0 1 window -n $+(",$ifmatch,")

a small fix for any to longer named windows such as them pesky get and send windows


Link Copied to Clipboard