netsurf/amiga/dist/Rexx/ShowTitles.nsrx
Chris Young 584cd950be Allow targetting any window/tab with ARexx commands. Adds new command WINDOWS to find
out the number of windows and tabs open.  ShowTitles.nsrx is an example of how to use
the new functionality.

svn path=/trunk/netsurf/; revision=10656
2010-07-20 17:20:16 +00:00

19 lines
267 B
Plaintext

/* Show all NetSurf windows and tabs open */
options results
address netsurf
windows
wins = result
do w=1 to wins
windows window w
tabs = result
say "Window" w "(" || tabs "tabs)"
do t=1 to tabs
gettitle window w tab t
say " Tab" t || ":" result
end
end