mIRC Home    About    Download    Register    News    Help

Print Thread
#181307 21/07/07 12:23 PM
Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
This could already be implemented and I've over looked, but I'd like to see an identifier to return each window in the switchbar without looping through each window type.

$switchbar(0) returns the number of windows currently open. $switchbar(1) would always be status unless it's hidden of course.

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
$window(*,N) does that already; it goes through all open windows, in switchbar order. It is connection-specific, but you can loop through $scon(N) and run an inner loop through $window() for each connection. Just be aware that custom windows will be counted multiple times, once for each connection (a custom window is sort of global).

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
Ah right, well thanks for the clarification. Cheers. smile


Link Copied to Clipboard