mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-29 15:29:42 +03:00
584cd950be
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
|