Related example macros: Demo-Tab
The iMacros Browser [PRO and Scripting Edition only] includes a tabbed browsing interface that makes managing web sites with multiple open pages a snap. When a web page opens a new window, iMacros automatically opens it in a new tab in the background. If the user changes to another tab, a TAB command is automatically added during recording.
You can close tabs while browsing by right-clicking on the tabs (not the browser window itself!). This will open up a context menu with the options to close the tabs. The following example shows the basic actions you can do with the TAB command
' open a webpage in the first tab
URL GOTO=http://www.iopus.com
' open a new tab
TAB OPEN
' get new tab to foreground
TAB T=2
' load another page
URL GOTO=http://www.google.com
' close the second tab
TAB CLOSE
TAB T=1
Page URL http://www.iopus.com/imacros/help/tabbed_browser.htm