Viz Arc Script Guide

Version 1.7 | Published November 15, 2022 ©

Script View

In Script View, you can write your own custom script in JavaScript language through Google's V8 or Microsoft's JScript (ECMAScript3) or in VBScript language, as in the following example:

images/download/attachments/58341593/language_overview.png

It's possible to create custom forms and components, such as text boxes and buttons.

images/download/attachments/58341593/2_scriptsectionRUN.png

To run the script, select the Start button images/download/thumbnails/95400916/buttonstart.jpg on the top left of the window.

images/download/attachments/58341593/3_scriptsectioneditForm.png

Form Design can be edited by selecting the UI button images/download/thumbnails/58341593/uicode_button.png . Every element can be selected and moved, aligned and distributed on the main form.

To go back to code editing, select the CODE button.

images/download/attachments/58341593/script_main.png

To edit a script, press the Stop button images/download/thumbnails/95400916/buttonstop.jpg on the top of the script main window.

images/download/attachments/58341593/console_crop.png

Console logs and debugs are displayed in the CONSOLE pane.

images/download/thumbnails/58341593/importclipfile.png

Import code internally from the clipboard or an external text file in the script pane.


images/download/thumbnails/58341593/languages.png

Use the Language menu to select a scripting language.

In edit mode, Script Callbacks can be selected from the list and added:

images/download/thumbnails/58341593/callbacks.png

You can locate a custom function by selecting it from the Functions list:

images/download/thumbnails/58341593/functions.png

See Also