Open this page in the API Guide

ScriptEditor.activate Method