You can enumerate all explorer/internet explorer windows.
From Help
Windows Method
Creates and returns a ShellWindows object. This object represents a collection of all of the open windows that belong to the Shell.
Syntax
oWindows = Shell.Windows()
Return Value
Object reference to the ShellWindows object.
Examples
The following example uses Windows to retrieve the ShellWindows object and display a count of the number of items that it contains. Proper usage is shown for Microsoft JScript, Microsoft Visual Basic Scripting Edition (VBScript), and Visual Basic.
VBScript:
Show Example
<script language="VBScript">
function fnShellWindowsVB()
dim objShell
dim objShellWindows
set objShell = CreateObject("Shell.Application")
set objShellWindows = objShell.Windows
if (not objShellWindows is nothing) then
alert(objShellWindows.Count)
end if
set objShellWindows = nothing
set objShell = nothing
end function
</script>
But I don't know how this would help unless they have different titlebar text. Appactivate is the only windows' management command available to scripting.
Also appactivate returns a value saying if it made the window active or not. If you try to activate an active window it fails as the window is already active.
You can do process switching, but usually web pages are in the same process. AppActivate takes a PID
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * From Win32_Process")
For Each objItem in colItems
msgbox objItem.ProcessID & " " & objItem.Caption
Next