# Tab Strip scripting

**URL:** <https://forum.inductiveautomation.com/t/tab-strip-scripting/41496>\
**Category:** Ignition\
**Tags:** vision, scripting, database, ignition80\
**Created:** [December 14, 2020, 1:37pm UTC](https://forum.inductiveautomation.com/t/tab-strip-scripting/41496 "2020-12-14T13:37:25Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![bpreston](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@bpreston](https://forum.inductiveautomation.com/u/bpreston)\
**Post date:** [December 15, 2020, 3:05pm UTC](https://forum.inductiveautomation.com/t/tab-strip-scripting/41496/21 "2020-12-15T15:05:04Z")

</div>

Layer may of got it there but I would also use openWindow for opening a popup instead of swapTo. [system.nav.swapTo()](https://docs.inductiveautomation.com/display/DOC81/system.nav.swapTo) is supposed to swap the main window to the window you specify where [system.nav.openWindow()](https://docs.inductiveautomation.com/display/DOC81/system.nav.openWindow) opens a new instance. If its already open, openWindow will bring it to the front. If you want to be able to open the same popup more than once, you would want to use [system.nav.openWindowInstance()](https://docs.inductiveautomation.com/display/DOC81/system.nav.openWindowInstance)

[Previous page](https://forum.inductiveautomation.com/t/tab-strip-scripting/41496.md?page=1)
