Open this page in the API Guide

ScriptEditor.focus Method

Put this control into focus.