|
|
1. | Click the Show Script button on the View toolbar. That will open the Script Editor.
|
|
2. | Click the Record button on the top of the Script Editor to activate the recording mode.
|
|
Start editing your images by using the Selections and Drawing Tools. As you do this, your action will appear in the Script Editor in form of graphic commands. The following drawing actions will be recorded:
|
|
1. | Application of any selection tool.
|
|
2. | Choosing the draw color and fill color.
|
|
3. | Drawing with the Pencil and Brush
|
|
4. | Overlaying Lines, Rectangles, Ellipses and Text.
|
|
5. | Application of the Flood and Warp tools.
|
|
|
1. | From ImageWarp menu choose an image processing command.
|
|
2. | If this opens a functional dialog (such as Filters or Morphology), select the desired function and adjust its parameters.
|
|
3. | Click Apply to execute the function. The corresponding script command will be recorded to the Script Editor.
|
|
4. | As an alternative, click the Record button on the functional dialog. ImageWarp will record the command to the Script Editor without executing the function. This will work even if the Script Editor in not set into the recording mode.
|
|
1. | Bring the Script Editor on the screen by clicking the Show Script button on the View toolbar.
|
|
2. | Edit the script by deleting the existing operators or inserting new ones. For example, add "do" operator to the beginning and "loop" to the end of your script to enforce the repetition of the recorded actions. Refer to ImageWarp Language Reference for more details.
|
|
1. | Click the Execute button on the top of the Script Editor. All your recorded actions will be automatically repeated.
|
|
2. | Click the Save button on the top of the Script Editor to save your script in a file.
|
|
3. | To execute one of the recently open or saved scripts, from the Script menu select the desired script file.
|
|
1. | Click the script line at which you want the execution to pause. Click the Toggle Breakpoint button on the top of the Script Editor. A red stop-sing icon will appear next to the selected line.
|
|
2. | Click the Execute button. The execution will stop at the breakpoint and the yellow arrow will appear on the left.
|
|
3. | To step through your script, repeatedly click the Step button. The yellow arrow will move down marking the statement to be executed next.
|
|
4. | If the next statement is a subroutine or function call, you can step into it by clicking the Step Into button. As you step through the script, watch the values of the variables changing in the Variables panel on the right.
|