Script Tool Properties

The script tool panel allows the user to associate a script file with either a Delta object or a MOP object.


Script Setup Area:

The Script Setup Area allows the user to select the script which is associated with the Delta object. The m-files that the project uses are stored in the “scripts” folder of the project.

scripttool_panel.script_setup

scripttool_panel.import_selected – Imports the file that is selected in the “Optiscan Predefined Scripts” listbox. The user is asked what the imported script should be called. example: my_motion.m.

scripttool_panel.import_custom – Imports a custom m-file that the user wrote. The user is asked where the m-file is located on the disk, and what the user wants to call it.

scripttool_panel.edit – Brings up an editor so the user can edit the Active Script File.