Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Guides
Examples
New in version:
8.2
8.3
8.4
8.5
9.0
9.1
9.2
9.3
9.4
9.5
Statistic
RemoteControl.ClickMouse
Moves the mouse cursor and performs a click.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
RemoteControl | 2.8 | Yes | Yes | No | No | No |
MBS( "RemoteControl.ClickMouse"; x; y { ; down; ButtonIndex } ) More
Parameters
Parameter | Description | Example value |
---|---|---|
x | New x position of the mouse. | 500 |
y | New y position of the mouse. | 500 |
down | Optional Pass 1 to press mouse button and 0 to release it. If this parameter is missing, the plugin will click and release in one step. |
1 |
ButtonIndex | Optional Optional, pass 2 for the right mouse instead of left mouse. Or 3 for the third button. |
1 |
Result
Returns OK on success.
Description
Moves the mouse cursor and performs a click.If x and y are both zero, the mouse is not moved.
May fail due to limited permissions.
You can use RemoteControl.MouseX and RemoteControl.MouseY to find current mouse position.
See also
- Plugin.DisableFunction
- Plugin.LimitFunction
- Plugin.LockFunction
- Plugin.UnlockFunction
- RemoteControl.MouseX
- RemoteControl.MouseY
- RemoteControl.MoveMouse
Example Databases
Blog Entries
Release notes
- Version 7.3
- Fixed RemoteControl.ClickMouse to not move mouse on Mac for 0/0 coordinate.
Created 18th August 2014, last changed 17th August 2016
Registry.SetValue - RemoteControl.FindWindow
Feedback: Report problem or ask question.

Links
MBS FileMaker blog