Home | Contents | Index | Help | < Browse | Browse >
Area [percent|%|pix] <X> <Y> <X2> <Y2>
[ EXEC <command> | RUN <command> | ScreenRun <screen> <cmd>
| UPDATE | LOADUPDATE | LOAD <file> [arguments]
| EXIT [<string>] | QUIT [<string>]
| DumpX <variable> | DumpY <variable>
| LastX <variable> | LastY <variable>
| LastXPos <variable> | LastYPos <variable>
| Popup | PopupClose
| Setenv <variable> <value> | UnSetenv <variable> ]
( ['command 1' 'command 2' ... 'command n'] )
Specifies what will happend when the user clicks with the left mouse
button in the rectangle described by X Y to X2 Y2.
Try this demo
(Press E to see the script)
(If you don't have colors enough, it may look a little strange)
The easiest way to make an area:
1. Start selector with the script.
2. Press D to get to the drawing tool.
3. Draw a box where you want the area and then leave the draw tool.
4. Press E for the editor.
5. Change in the last line from "Draw box" to "Area" and
put the options to execute at the end of the line.
Also take a look at the SetPen example.
Home | Contents | Index | Help | < Browse | Browse >