hello

the above script hides/unhides all windows apart from queries by pressing F8

how can I make it to work only for windows named #one and #two ?

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