--------------------------------------------------------------------------------------------
alias getwebinfo return $dde($1,WWW_GetWindowInfo,1)
alias geturl return $gettok($getwebinfo($1),1,34)
alias gettitle return $gettok($getwebinfo($1),3,34)
alias web {
if ( $isprocess(firefox.exe,1) == $true ) { say 5<web> [3 $gettitle(firefox) 5] [14 $geturl(firefox) 5] $correct($1-) }
if ( $isprocess(iexplore.exe,1) == $true ) { say 5<web> [3 $gettitle(iexplore) 5] [14 $geturl(iexplore) 5] $correct($1-) }
;else say 5<web> [3 Not browsing 5] [14 No URL 5] $correct($1-)
}
--------------------------------------------------------------------------------------------
This script works fine, but the commented else should be scripted, and I can't do it.
It should be displayed when iexplore.exe nor firefox.exe is running.
Is it possible to rewrite the alias 'web' so that I don't need to specify a third if instead of the else?