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
  }
}
 

Last edited by nataliad; 19/05/06 08:47 PM.