_SCREENCLICK - QB64 Wiki

_SCREENCLICK

From QB64 Wiki

Jump to: navigation, search

The _SCREENCLICK statement simulates clicking on a pixel coordinate on the desktop screen with the left mouse button.


Contents

Syntax

_SCREENCLICK column%, row%[, button%]


Description

  • column% is the horizontal pixel coordinate position on the screen.
  • row% is the vertical pixel coordinate position on the screen.
  • Optional 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.
  • Keyword Not Supported in Linux or MAC versions


See also



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Personal tools