mIRC Homepage
Posted By: NFSPOWER minimize all servers and channels - 30/10/05 01:37 AM
are there a command or script to minimize all servers and channels windows ?
Posted By: RusselB Re: minimize all servers and channels - 31/10/05 01:07 AM
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
Posted By: FiberOPtics Re: minimize all servers and channels - 31/10/05 01:24 AM
/*

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.
Posted By: NFSPOWER Re: minimize all servers and channels - 31/10/05 06:25 AM
thx... that work fine for me
Posted By: DaveC Re: minimize all servers and channels - 01/11/05 06:46 AM
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
© mIRC Discussion Forums