next up previous contents index
Next: Startup Files Up: Batch File Format Previous: Batch File Format

Cursor hit definition

Since some commands utilise the cursor, it is possible to define cursor hits in the off-line file. An example of a batch file which uses cursor hits is given below:


! WATCH THIS - writes a comment to the screen
V H F - requests a full hidden line view
@# 10 - pauses execution for 10 seconds
E Z I - zooms in
.100 .300 - defines X1, Y1 cursor hit
.600 .700 - defines X2, Y2 cursor hit
V E - requests an edge view
@ - passes control back to on-line input

The specification of the cursor hit is done by following the command that requires cursor input with a line containing two numbers separated by a space and which represent the X and Y positions of the cursor hits in the range 0 - 1.


next up previous contents index
Next: Startup Files Up: Batch File Format Previous: Batch File Format

Femsys Limited
17th August 1999