Previous Section
Previous Section: Detailed
Interface Description
Document HomeDocument Home
Next Section: VT100
Terminal
Next Section


Script Editor

The Wozterm Script Editor is the pane used for interaction between the user and the current script. It is used for viewing, editing and debugging Wozterm Scripts. A typical view of this component can be seen below:

Figure 3.9 - Script Editor pane

Script Editor Pane

Item

Description

  1. Script Progress Bar

The full functionality of the Script Progress bar is only available when running a script. When constructing a script, the Script Progress bar acts simply as a line numbering tool. However, when executing a script, the Script Progress bar gains the ability to insert break points, view current execution progress, view warnings and view runtime errors.

  1. Warning
The blue question mark is lit up upon encountering a warning.
  1. Runtime Error

This red exclamation is lit upon encountering a run-time script error. As can be seen above, a divide by zero error has caused the notification on line 00007.

  1. Current Execution Line

The blue right arrow points to the current line of script execution. It coincides with the current line number being displayed in bold and the ‘line x’ of ‘total lines xx’ progress description. Note – this functionality is only available if the Preferences>Trace Script Files option is enabled.

  1. Script Editor

The Script Editor is the central focus in this component. Here the user can interact with their script through a standard ASCII text editor with Windows™ Undo, Cut, Copy and Paste functionality.

  1. Keyword Help Hint

To obtain a list of keywords based on a partially typed keyword or a keyword definition, for a complete keyword, simply press Ctrl+Space. The characters to the left of the current cursor position will be used to search the Wozterm Language Guide for possible matching keywords.

 
  1. New Script
This action button is a short cut to the File>New Script File menu option.
  1. Open Script File
This action button is a short cut to the File>Open Script File menu option.
  1. Save Script File
This action button is a short cut to the File>Save Script File menu option.
  1. Save All Scripts
This action button is a short cut to the File>Save All Script Files.
  1. Close Script
This action button is a short cut to the File>Close Script File.
  1. Compile

This action button is a short cut to the Script>Check syntax menu option.

  1. Reload Script

This action button is a short cut to the Script>Reload menu option.

  1. Run Script

This action button is a short cut to the Script>Run menu option.

  1. Step Script (after break point)

This action button is a short cut to the Script>Step menu option.

  1. Pause Script
This action button is a short cut to the Script>Pause menu option.
  1. Choose Script
Use these buttons to choose which Script to view from the number of scripts that are open. The script location window displays the file name and path of the current Wozterm Script.
  1. Insert Breakpoint
By clicking on this icon, a break point will be inserted at the line if there is a valid corresponding command or host command. Many break points may be used, and when lines with a break point are executed the script will pause, allowing for resume via Go (Continue) or Step.
  1. Right-Click for Menu

Right clicking in the Script Editor pane will pop-up a Windows menu. This menu provides Undo (last change), Find and Replace functionality.


Script Editor pane Right-Click Menu

 

Right clicking in the Script Editor pane displays a pop-up menu that will (where applicable) act on text selected when the menu was invoked.

Figure 3.10 - Script Editor pane Right-Click Menu

Script Editor Pane Right Click Menu

Undo

Standard Windows™ Undo functionality. Will revert document to state before last change.

Find

Find text in the current document. Provides options to search for the whole word entered and to search with case sensitivity.

Replace Replace text in the current document. Adds to the Find menu option by allowing the user to replace finds with given text. Replacements can occur interactively or globally
Cut
Cuts selected text to clipboard
Copy
Copies selected text to clipboard
Paste
Pastes text from clipboard

Save

Saves current file



Previous Section
Previous Section: Detailed
Interface Description
Document HomeDocument Home
Next Section: VT100
Terminal
Next Section



This publication has been prepared and written by Telstra Corporation Limited (ACN 051 775 556), and is copyright. Other than for the purposes of and subject to the conditions prescribed under the Copyright Act, no part of it may in any form or by any means (electronic, mechanical, microcopying, photocopying, recording or otherwise) be reproduced, stored in a retrieval system or transmitted without prior written permission from the document controller. Product or company names are trademarks or registered trademarks of their respective holders.

Note for non-Telstra readers: The contents of this publication are subject to change without notice. All efforts have been made to ensure the accuracy of this publication. Notwithstanding, Telstra Corporation Limited does not assume responsibility for any errors nor for any consequences arising from any errors in this publication.