Copy and Paste
The following AiF sequences enable you to copy a region of screen, including sculpting, and paste it into another specified region.
Copying an area of the screen
The following sequence copies a rectangular region of the screen, complete with sculpting, into a specified slot.
ESC_22 ; slot ; x ; y ; right ; bottom ; option w ESC\
Where:
|
Slot number. The minimum is 0, the maximum is 255. If the slot is already in use, it is overwritten with the new region. If the option specified is 1, then the region is also cleared of text and sculpting. |
|
x co-ordinate of rectangle. |
|
y co-ordinate of rectangle. |
|
x right co-ordinate of rectangle. |
|
y bottom co-ordinate of rectangle. |
|
Choose one of the following options: 0 = Leave rectangle. 1 = Clear rectangle and save. 2 = Clear rectangle only. |
Pasting a copied region of screen
The following sequence pastes a region of the screen copied into a slot using ESC_22 to either the position from which the region was saved, or at new co-ordinates if specified.
ESC_23 ; slot ; x ; y w ; esc\
Where:
|
Slot number to restore. If an unused slot is specified, a journal message will be generated and the action ignored. |
|
x co-ordinate where the saved region of screen will be pasted to. If x and y are left blank, the region will be pasted to the position from which the region was copied. |
|
y co-ordinate where the saved region of screen will be pasted to. If x and y are left blank, the region will be pasted to the position from which the region was copied. |
Clearing slots of copied screen regions
The following sequence clears all slots of screen regions copied using ESC_22.
ESC_24 w ESC\