mIRC Homepage
Posted By: nataliad hide tabs - 22/03/06 07:34 PM
hello

I want to click F8 and hide all status and channel only tabs and click again to show them

how can I do that?

thanks
Posted By: RusselB Re: hide tabs - 22/03/06 08:16 PM
Not sure about the channels, but for the status
Code:
 F8 {
.scon -at1 window $iif(%hidden,-w,-h) "status window"
set %hidden $iif(%hidden,$false,$true)
}
 
Posted By: jaytea Re: hide tabs - 23/03/06 03:07 PM
for chans and status windows:

Code:
alias f8 scon -a windows

alias windows {
  var %z = 1
  while ($chan(%z)) {
    window $iif($window($v1).state == hidden,-w,-h) [ $v1 ]
    inc %z
  }
  window $iif($window(Status Window).state == hidden,-w,-h) "Status Window"
}


what are you trying to hide? >:D
Posted By: nataliad Re: hide tabs - 19/05/06 08:46 PM
I have a problem with this script, switching from hide-unhide mode or vice versa, or when I close all windows in hide mode (query windows), it doesnt maximize the windows, I have to do it manually

can you suggest any solution for this please?

thanks!

Code:
 alias F8 {
  scon -a toggletabs %hidden
  if (%hidden == $null) set %hidden 1
  else unset %hidden
}
alias -l toggletabs {
  var %x = window $iif($0,-w,-h), %y = 1
  %x "Status Window"
  while ($chan(%y)) {
    %x $v1
    inc %y
  }
}
 
© mIRC Discussion Forums