mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-02 21:31:41 +03:00

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
19 lines
267 B
Plaintext
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
|