Change editor active tab by script?

Anyone know how to change editor active tab by script?

(example: from scene tab to game tab)

what unity class or method should i use to change this?

202593-unity-rhgqnpfsgk.png

found it with different keyword. it’s in this thread
https://stackoverflow.com/questions/41663285/how-can-i-force-the-unity-editor-to-the-game-view

sometimes, its hard to search the right keyword :v