Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
RemoteControl.MouseX
Queries current position of the mouse cursor on screen.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RemoteControl | 2.8 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "RemoteControl.MouseX" )
Parameters
none
Result
Returns x coordinate.
Description
Queries current position of the mouse cursor on screen.Result is in pixels on Windows and in points on macOS. See Screen.Scale to convert between pixels and points.
If you need to know which mouse button made the last click, please check EventMonitor.LastMouseClickButton function.
See also
- EventMonitor.LastMouseClickButton
- EventMonitor.LastMousePositionX
- RemoteControl.ClickMouse
- RemoteControl.MouseY
- RemoteControl.MoveMouse
- Screen.Scale
Example Databases
- DynaPDF/Click Points
- GraphicsMagick/Crop with Clicks
- GraphicsMagick/Pick color from image via Screenshot
- RemoteControl/Move Mouse
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 7th April 2022