revBrowserInstances

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revBrowserInstances()
Summary

Returns a list of the open browser instances.

Introduced2.8.1
OSmac, windows
Platformsdesktop
Example
local tInstances, tInstance
put revBrowserInstances() into tInstances
repeat for each item tInstance in tInstances
  revBrowserClose tInstance
end repeat
Values
NameTypeDescription
return

The revBrowserInstances function returns a comma-delimited list of integer browser ids, or empty if no browsers are open.

RelatedCommand: revBrowserClose, revBrowserSet
Function: revBrowserOpen
Glossary: function
Securitynetwork
Description

Use the revBrowserInstances function to obtain a list of the ids of all the open browser objects.

Note: For general information on using the browser library, see the notes in the revBrowserOpen function reference.