I use this code:
Code:
alias sendkeys {
  var %object = sendkeys $+ $ticks
  .comopen %object WScript.Shell
  if ($com(%object)) { .comclose %object $com(%object,SendKeys,3,bstr,$1-) }
}
alias toggletreebar {
  if ($window(Notify List) != $null) { notify -h }
  if ($window(Notify List) == $null) { .timern -m 1 100 notify -s }
  sendkeys % $+ vr
}

it working as it should, but if i use treebar when i connect, then the notify window will popup anyway, and i want the notify window to open if treebar is disabled, but if treebar is enabled, then the notify window should popup. how can i do this ? been trying a while but cant solve this one..


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }