POST CLICK
POST CLICK ( mouseX ; mouseY {; process} {; *} )
Parameter | Type | Description | |
---|---|---|---|
mouseX | Integer | → | Horizontal coordinate |
mouseY | Integer | → | Vertical coordinate |
process | Integer | → | Destination process reference number, or Application event queue, if omitted, or 0 |
* | Operator | → | If specified, global coordinate system is used If omitted, local coordinate system is used |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The POST CLICK command simulates a mouse click. Its effect as if the user actually clicked the mouse button.
You pass the horizontal and vertical coordinates of the click in mouseX and mouseY. If you pass the * parameter, you express these coordinates relative to the screen. If you omit the * parameter, you express these coordinates relative to the frontmost window of the process whose process number you pass in process.
If you specify the process parameter, the click is sent to the process whose process number you pass in process. If you pass 0 (zero) or if you omit the parameter, the click is sent at the application level, and the 4D scheduler will dispatch it to the appropriate process.