Previous Topic

Next Topic

Script List Editor

Accredo > Script > Script List > Script Viewer Edit Code button

Edit code for playing scripts in a script list using MaxBasic code.

You can insert Automated code snippets in the Script List Editor, see Automated Snippets.

Drop down menus

MenuPopup

Operators (Alt+O)

Lists MaxBasic operators.

MenuPopup

Objects (Alt+J)

Lists the objects and components available in the code. When you select a property it will appear in the code.

MenuPopup

Functions (Alt+F)

Lists available MaxBasic functions. When you select a function that expects arguments, parentheses and commas for the arguments are shown with the pointer at the first argument, for example, InStr(|, ). This shows that the Instr function requires two arguments, one before and one after the comma.

Help for a function, detailing the arguments, is available from:

  • The final option in the menu,
  • Pressing F1 - OR -
  • Selecting from the context menu (right-click) with the cursor positioned in the function name in the editor.

MenuPopup

Automated (Alt+A)

Lists Automated objects. Documentation for each object is available from the final option in the menu. You can insert an object by clicking on it.

MenuPopup

Procedures (Alt+E)

Lists Function and Sub procedures defined in or imported into the script. Press Ctrl+E or select from the context menu (right-click) to open the Procedure List in a separate window.

MenuPopup

Help (Alt+H)

Access resources including descriptions, documentation and sample code.

 

Snippet (Alt+T)

Insert a code Snippet. Snippets are listed alphabetically, and the first line of each snippet is displayed.

Editor buttons

ScriptCheck

Check Code (Alt+C)

Checks the code compiles correctly, without running the script.

Run (Alt+R)

Runs the script. To terminate a running script, press Alt+F1. The line and character at which the script was terminated will be displayed.

Print (Ctrl+P)

Print the code.

Save... (Ctrl+S)

Save code back to the Script List.

See Also

Script List

Book Contents

Book Index