Opening Script views

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.

StepsTo open a new Script view:

  1. Select View>Script from a painter menu bar

StepsTo edit a script for a control:

  1. 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.

    NoteUsing drag and drop If a Script view is visible, you can drag a control from the Control list view to the Script view to edit a script for the control.

StepsTo edit a script for a function or event:

  1. 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.