Hardware library V3.5 - Emulate mouse clicks


B4X founder
Staff member
Licensed User
Longtime User
The Hardware library now includes a new method named MouseClick.
With this new method you can emulate a mouse click on the screen.
It can be used for all kinds of testings and other neat things that were previously not possible like opening a menu item from code or automating other applications.

Setup instructions:
- Download the attached file.
- Extract it and copy all files to Basic4ppc libraries folder:
C:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries

Make sure to replace existing copies of the hardware libraries with this one.


  • Hardware.zip
    39.9 KB · Views: 412