mIRC Home    About    Download    Register    News    Help

Print Thread
minimize all servers and channels #134229 30/10/05 01:37 AM
Joined: Sep 2005
Posts: 21
N
NFSPOWER Offline OP
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 ?

Re: minimize all servers and channels #134230 31/10/05 01:07 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
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

Re: minimize all servers and channels #134231 31/10/05 01:24 AM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
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.
Re: minimize all servers and channels #134232 31/10/05 06:25 AM
Joined: Sep 2005
Posts: 21
N
NFSPOWER Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Sep 2005
Posts: 21
thx... that work fine for me

Re: minimize all servers and channels #134233 01/11/05 06:46 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
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