The main window of Docklight Scripting is divided into five sections:
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.
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.
The sequence lists can be reordered using drag&drop, after you enable it by clicking on the small lock icon in the top left corner. When unlocked, the list can be changed by dragging a sequence to a new position with the left mouse button pressed.
By clicking the |< mark you can minimize the Send/Receive Sequences area.
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.
5a. Project and Sequence Documentation
Type in additional comments concerning your project, or a specific Send Sequence / Receive Sequence. Docklight presents sequence-specific documentation when you choose a Send Sequence or Receive Sequence from the list (2. and 3.). Docklight switches to the main project documentation when you click on the empty bottom line of the sequence list, or when you click inside the Communication Window (4.).
To avoid accidental editing, the documentation area is locked by default and you need to enable editing by clicking on the small lock icon above it. When unlocked, you can edit/copy/paste/delete its contents freely.
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.
By clicking the v mark on the right side you can minimize the documentation/script area.