Platforms to show: All Mac Windows Linux Cross-Platform
The module RemoteControlMBS
module RemoteControlMBSType | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
module | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
You can use this class for GUI scripting.
Requires libXtst.so.6 on Linux to be installed.
- method LinuxConvertCase(keysymbol as Integer, byref lowerSymbol as Integer, byref upperSymbol as Integer) as boolean
- method LinuxKeyCodeToKeySymbol(keycode as Integer, index as Integer) as Integer
- method LinuxKeyNameToKeySymbol(keyname as string) as Integer
- method LinuxKeySymbolToKeyCode(keysymbol as Integer) as Integer
- method LinuxKeySymbolToKeyName(keysymbol as Integer) as string
- method LinuxMouseClick(ButtonID as Integer, ButtonDown as boolean) as boolean
- method LinuxMousePositionX as Integer
- method LinuxMousePositionY as Integer
- method LinuxMoveMouse(x as Integer, y as Integer) as boolean
- method LinuxPressControlKey(keydown as boolean) as boolean
- method LinuxPressKey(Keycode as Integer) as boolean
- method LinuxPressKey(Keycode as Integer, ButtonDown as boolean) as boolean
- method LinuxPressOptionKey(keydown as boolean) as boolean
- method LinuxPressShiftKey(keydown as boolean) as boolean
- method LinuxSupported as boolean
- method MacCurrentProcessID as Integer
- method MacCurrentProcessName as string
- method MacDescriptionForKeyCode(keycode as Integer) as string
- method MacDisplayNameForKeyCode(keycode as Integer) as string
- method MacForegroundProcessID as Integer
- method MacFrontProcessName as string
- method MacKeyboardLocalizedName as string
- method MacKeyboardName as string
- method MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean) as boolean
- method MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean) as boolean
- method MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean, MouseButton3 as boolean) as boolean
- method MacMousePositionX as Integer
- method MacMousePositionY as Integer
- method MacMouseWheel(wheel1 as Integer) as boolean
- method MacMouseWheel(wheel1 as Integer, wheel2 as Integer) as boolean
- method MacMoveMouse(x as Double, y as Double) as boolean
- method MacPressCommandKey(keydown as boolean) as boolean
- method MacPressControlKey(keydown as boolean) as boolean
- method MacPressKey(keychar as Integer, virtualkey as Integer) as boolean
- method MacPressKey(keychar as Integer, virtualkey as Integer, keydown as boolean) as boolean
- method MacPressOptionKey(keydown as boolean) as boolean
- method MacPressShiftKey(keydown as boolean) as boolean
- method MacProcessCount as Integer
- method MacProcessName(index as Integer) as string
- method MacProcessVisible(index as Integer) as boolean
- method MacTextForKeyCode(keycode as Integer, KeyAction as Integer, ModifierState as Integer) as string
- method MouseClick(x as Integer, y as Integer, down as boolean) as boolean
- method MousePositionX as Integer
- method MousePositionY as Integer
- method MoveMouse(x as Integer, y as Integer) as boolean
- method PressControlKey(keydown as boolean) as boolean
- method PressOptionKey(keydown as boolean) as boolean
- method PressShiftKey(keydown as boolean) as boolean
- method WinBringProcessToTop(ProcessID as Integer) as boolean
- method WinBringWindowToTop(WindowHandle as Integer, SetFocus as boolean = true) as boolean
- method WinCurrentProcessID as Integer
- method WinFindWindow(ClassName as string, WindowName as string) as Integer
- method WinForegroundProcessID as Integer
- method WinFrontWindowTitle as string
- method WinIsCapsLock as boolean
- method WinIsNumLock as boolean
- method WinIsScrollLock as boolean
- method WinIsWindowMinimized(WindowHandle as Integer) as Boolean
- method WinIsWindowVisible(WindowHandle as Integer) as Boolean
- method WinKeyboardName as string
- method WinKeyIsDown(virtualkey as Integer) as boolean
- method WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean) as boolean
- method WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean) as boolean
- method WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean, MouseButton3 as boolean) as boolean
- method WinMouseClick(x as integer, y as integer, AbsolutePosition as boolean, MouseButton1 as Integer, MouseButton2 as Integer, MouseButton3 as Integer) as boolean
- method WinMousePositionX as Integer
- method WinMousePositionY as Integer
- method WinMoveMouse(x as Integer, y as Integer) as boolean
- method WinPressControlKey(keydown as boolean) as boolean
- method WinPressKey(ScanCode as Integer) as boolean
- method WinPressKey(ScanCode as Integer, keydown as boolean) as boolean
- method WinPressKey(virtualkey as Integer, ScanCode as Integer) as boolean
- method WinPressKey(virtualkey as Integer, ScanCode as Integer, keydown as boolean) as boolean
- method WinPressOptionKey(keydown as boolean) as boolean
- method WinPressShiftKey(keydown as boolean) as boolean
- method WinScanCodeToVirtualKeyCode(ScanCode as Integer) as Integer
- method WinSendMessage(Win as DesktopWindow, Msg as integer, lParam as integer, WParam as integer) as integer
- method WinSendMessage(Win as window, Msg as Integer, lParam as Integer, WParam as Integer) as Integer
- method WinSendMessage(WindowHandle as Integer, Msg as Integer, lParam as Integer, WParam as Integer) as Integer
- method WinShowWindow(WindowHandle as Integer, CmdShow as Integer) as Boolean
- method WinVirtualKeyCodeToCharCode(VirtualKeyCode as Integer) as Integer
- method WinVirtualKeyCodeToScanCode(VirtualKeyCode as Integer) as Integer
- method WinVirtualKeyForASCII(Character as Integer, byref VirtualKeyCode as Integer, Byref ShiftKey as boolean, byref ControlKey as Boolean, byref AltKey as boolean) as boolean
Some examples which use this module:
- /ComputerControl/Drag and Drop
- /ComputerControl/Linux Key Codes
- /ComputerControl/Mac Key Codes
- /ComputerControl/MouseMover
- /ComputerControl/Win Key Codes
- /ComputerControl/Write something
- /Win/App Instances
- /Win/Close Calc Window
- /Win/WindowsList
Blog Entries
- News from the MBS Xojo Plugins Version 23.5
- MonkeyBread Software Releases the MBS Xojo Plugins in version 23.5
- Xojo Tips and Tricks
- MBS Xojo Plugins, version 23.5pr6
- MBS Xojo Plugins, version 23.1pr4
- News from the MBS Xojo Plugins Version 21.2
- MBS Xojo Plugins, version 21.2pr2
- MBS Xojo Plugins, version 20.1pr4
- MBS Xojo Plugins, version 19.4pr1
- MonkeyBread Software Releases the MBS Xojo Plugins in version 18.2
Xojo Developer Magazine
Release notes
- Version 23.5
- Added WinIsCapsLock, WinIsNumLock and WinIsScrollLock to RemoteControlMBS module.
- Version 23.1
- Fixed a problem with LinuxMoveMouse method in RemoteControlMBS module not working correctly.
- Version 21.2
- Added WinMouseClick taking integer parameters to RemoteControlMBS module and deprecated the boolean variants.
- Implemented MacMousePositionX and MacMousePositionY functions for RemoteControlMBS module for macOS 64-bit.
- Version 20.1
- Changed WinBringProcessToTop method in RemoteControlMBS module to activate first window.
- Fixed problem with RemoteControlMBS WinBringProcessToTop method showing hidden windows.
- Version 19.4
- Fixed declaration for WinSendMessage in RemoteControlMBS module.
- Version 18.2
- Added RemoteControlMBS WinBringProcessToTop method.
- Version 17.0
- Updated RemoteControlMBS.MacKeyboardName for 64-bit.
The items on this page are in the following plugins: MBS ComputerControl Plugin.