If there is no open Script view, selecting a menu or PainterBar item that requires a Script view opens one automatically. If you want to edit more than one script at a time, you can open additional Script views from the View menu.
To open a new Script view:
Select View>Script from a painter menu bar
To edit a script for a control:
Double-click a scriptable control, or select Script from the PainterBar or a pop-up menu
The Script view shows the default script for the control. If the Script view is in a stacked pane and is hidden, it pops to the front. If there is no open Script view, PocketBuilder creates a new one.
To edit a script for a function or event:
Double-click an item in the Event list or Function list view of a painter
If the Script view is in a tabbed pane and is hidden, it pops to the front. If there is no open Script view, PocketBuilder creates a new one. The Script view shows the script for the selected event or function. You can select a different function or event from the second drop-down list in an open Script view.