|
darkspot Apprentice
Joined: 29 Jul 2002 Posts: 105
|
Posted: Thu Feb 26, 2004 11:59 pm
Focus checking |
Is there a way to check if a specific session id is open at the moment as a window?
as in
#if (joe = connected or open) {:joe: do something} {:mike: do something}
any way to do this at all?
to check wether it's connected... or if the window is open at all either would serve my purpose (I close windows as they're not connected.) |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Feb 27, 2004 2:39 am |
You can check for the window name in the %windows Predefined Variable. It is structured as a list. Also you could use the atconnect and atdisconnect special aliases to store the connected state of a window into a variable, and then access that windows variable from any other window with the dot notation @windowName.variableName
|
|
|
|
|
|