1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-01 09:10:37 +00:00
qb64/internal/help/_SCREENCLICK.txt
2019-04-14 22:15:33 -03:00

24 lines
1.1 KiB
Plaintext

{{DISPLAYTITLE:_SCREENCLICK}}
The [[_SCREENCLICK]] statement simulates clicking on a pixel coordinate on the desktop screen with the left mouse button.
{{PageSyntax}}
: [[_SCREENCLICK]] {{Parameter|column%}}, {{Parameter|row%}}[, {{Parameter|button%}}]
{{PageDescription}}
* {{Parameter|column%}} is the horizontal pixel coordinate position on the screen.
* {{Parameter|row%}} is the vertical pixel coordinate position on the screen.
* Optional {{Parameter|button%}} can be used to specify left button (1, default), right button (2) or middle button (3) (available with '''build 20170924/68''').
* Coordinates can range from 0 to the [[_DESKTOPWIDTH]] and [[_DESKTOPHEIGHT]]. The desktop image acquired by [[_SCREENIMAGE]] can be used to map the coordinates required.
* [[Keywords_currently_not_supported_by_QB64#Keywords_Not_Supported_in_Linux_or_MAC_OSX_versions|Keyword Not Supported in Linux or MAC versions]]
{{PageSeeAlso}}
* [[_SCREENIMAGE]], [[_SCREENPRINT]]
* [[_SCREENMOVE]], [[_SCREENX]], [[_SCREENY]]
* [[_DESKTOPWIDTH]], [[_DESKTOPHEIGHT]]
{{PageNavigation}}