Binding Selected tab property to Opened window

How would I go about binding the selected tab property of the Tab Strip to the actual window that is open? When I deploy an update to the program the selected tab property will default back to the first tab even if the third tabs window is the currently opened window.

You could write a simple visionWindowOpened event script that sets the selected tab on the Tab Strip when the window is opened. So when the client is updated the event script is executed, setting the Tab Strip to the correct tab.

You can also bind it to the System > Client > User > CurrentWindow tag