Site Tools


querywin

# $EPIC: querywin.txt,v 1.3 2006/08/21 03:05:12 sthalik Exp $

Synopsis:

$querywin(<target>)
$querywin(<target> <server refnum>)

Technical:

This function returns the window owning the query target <target>, or “-1” if there are no queries for <target>. An optional server refnum argument may be specified in order to obtain the query window for a target on a particular server.

Returns:

The window refnum of the window owning <target> or “-1” if none is found.

Examples:

/window refnum 2
/query =person
/eval echo $querywin(=person)                    /* returns 2 */
querywin.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1