Main Window (Scripting)

<< Click to Display Table of Contents >>

Navigation:  User Interface >

Main Window (Scripting)

The main window of Docklight Scripting is divided into five sections:

 

PT_main_window_scripting

 

1. Toolbar and Status

All main Docklight functions may be selected from the Toolbar. Additional information about the communication status and the current settings is shown in the status line below it.

 

2. Send Sequences

Define, edit and manage your Send Sequences here. Using the arrow symbol, the selected sequence can be sent out immediately. Double click on the blank field at the end of a list to create a new sequence. A context menu (right mouse button) is available to cut, copy or paste entire Send Sequences to/from the Clipboard. See Editing and Managing Sequences and Dialog: Edit Send Sequence for more information.

 

The sequence list can be reordered using drag&drop, after you enable it by clicking on the small lock lock icon in the top left corner. When unlock unlocked, the list can be changed by dragging a sequence to a new position with the left mouse button pressed.

 

3. Receive Sequences

Define, edit and manage your Receive Sequences here. Double click on the blank field at the end of a list to create a new sequence. The Receive Sequence list supports the same reordering and clipboard operations as the Send Sequence list. You can also copy a Send Sequence to the clipboard and paste it into the Receive Sequence list. See Editing and Managing Sequences and Dialog: Edit Receive Sequence for more information.

 

4. Communication Window

Displays the outgoing and incoming communication on the serial port. Various display options are available for the communication data, including ASCII / HEX / Decimal / Binary display, time stamps and highlighting (see Options). If serial communication is stopped, all data from the communications window may be copied to the clipboard or printed. You may also search for specific sequences using the Find Sequence function. See How Serial Data is Processed and Displayed for more information.

 

5. Script Editor

Edit your Docklight script code here. A context menu (right mouse button) is available to cut, copy, paste or delete sections of code. Find and replace functions are also available. For advanced editing features, support for external editors is available. For more information about writing a Docklight script, see the Docklight Scripting Reference.