Platforms to show: All Mac Windows Linux Cross-Platform
Back to RemoteControlMBS module.
RemoteControlMBS.LinuxConvertCase(keysymbol as Integer, byref lowerSymbol as Integer, byref upperSymbol as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
In lowerSymbol you will receive the key symbol for a lower case key and in upperSymbol the uppercase keys.
So passing in the key symbol of "a" or "A" will both return "a" and "A".
RemoteControlMBS.LinuxKeyCodeToKeySymbol(keycode as Integer, index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Index is the offset in the tables. 0 for the first key symbol and 1 for the second. If the user presses shift the keyboard driver uses index=1 to access the capital letters.
Some examples using this method:
RemoteControlMBS.LinuxKeyNameToKeySymbol(keyname as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns 0 on failure.
RemoteControlMBS.LinuxKeySymbolToKeyCode(keysymbol as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns 0 on any error.
RemoteControlMBS.LinuxKeySymbolToKeyName(keysymbol as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Can return "" on an invalide keysymbol value.
Some examples using this method:
RemoteControlMBS.LinuxMouseClick(ButtonID as Integer, ButtonDown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
ButtonID=1 is the left mouse button.
Returns true on success.
Be aware that the user may get into trouble if you forget to release a mouse button you pressed before. So always call this method another time to release the mouse buttons.
Some examples using this method:
RemoteControlMBS.LinuxMousePositionX as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
RemoteControlMBS.LinuxMousePositionY as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
RemoteControlMBS.LinuxMoveMouse(x as Integer, y as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns true on success.
Some examples using this method:
RemoteControlMBS.LinuxPressControlKey(keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns true on success.
Be aware that the user may get into trouble if you forget to release a key you pressed before. So always call this method another time to release the key.
RemoteControlMBS.LinuxPressKey(Keycode as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Performs a key down and a key up event.
Returns true on success.
See also:
Some examples using this method:
RemoteControlMBS.LinuxPressKey(Keycode as Integer, ButtonDown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns true on success.
Be aware that the user may get into trouble if you forget to release a key you pressed before. So always call this method another time to release the key.
See also:
RemoteControlMBS.LinuxPressOptionKey(keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns true on success.
Be aware that the user may get into trouble if you forget to release a key you pressed before. So always call this method another time to release the key.
RemoteControlMBS.LinuxPressShiftKey(keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns true on success.
Be aware that the user may get into trouble if you forget to release a key you pressed before. So always call this method another time to release the key.
Some examples using this method:
RemoteControlMBS.LinuxSupported as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns true if the Xtest extension is installed.
RemoteControlMBS.MacCurrentProcessID as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns 0 on any error.
RemoteControlMBS.MacCurrentProcessName as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This is the name of your application.
RemoteControlMBS.MacDescriptionForKeyCode(keycode as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Keycodes which match a special key like "Return", "F1" or "Backspace" are returned as descriptive strings.
RemoteControlMBS.MacDisplayNameForKeyCode(keycode as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Same as MacTextForKeyCode(keycode, 4)
Some examples using this method:
RemoteControlMBS.MacForegroundProcessID as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns 0 on any error.
RemoteControlMBS.MacFrontProcessName as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read and Write computed property)
RemoteControlMBS.MacKeyboardLocalizedName as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns "" on any error.
RemoteControlMBS.MacKeyboardName as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns "" on any error.
Added 64-bit support for version 17.0.
RemoteControlMBS.MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success.
If updateMouseCursorPosition is true the mouse position is updated on screen.
Be aware that the user may get into trouble if you forget to release a mouse button you pressed before. So always call this method another time to release the mouse buttons.
See also:
- MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean) as boolean
- MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean, MouseButton3 as boolean) as boolean
Some examples using this method:
RemoteControlMBS.MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success.
If updateMouseCursorPosition is true the mouse position is updated on screen.
Be aware that the user may get into trouble if you forget to release a mouse button you pressed before. So always call this method another time to release the mouse buttons.
See also:
RemoteControlMBS.MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean, MouseButton3 as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success.
If updateMouseCursorPosition is true the mouse position is updated on screen.
Be aware that the user may get into trouble if you forget to release a mouse button you pressed before. So always call this method another time to release the mouse buttons.
See also:
RemoteControlMBS.MacMousePositionX as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
RemoteControlMBS.MacMousePositionY as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
RemoteControlMBS.MacMouseWheel(wheel1 as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success.
A typical value for the wheel changes are in range from -10 to 10.
See also:
RemoteControlMBS.MacMouseWheel(wheel1 as Integer, wheel2 as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success.
A typical value for the wheel changes are in range from -10 to 10.
See also:
RemoteControlMBS.MacMoveMouse(x as Double, y as Double) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success.
On Mac does not generate mouse events.
Some examples using this method:
RemoteControlMBS.MacPressCommandKey(keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success.
Be aware that the user may get into trouble if you forget to release a key you pressed before. So always call this method another time to release the key.
RemoteControlMBS.MacPressControlKey(keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success.
Be aware that the user may get into trouble if you forget to release a key you pressed before. So always call this method another time to release the key.
RemoteControlMBS.MacPressKey(keychar as Integer, virtualkey as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
keychar is the ASCII code of the key you press and virtualkey is the key code.
Returns true on success.
Peforms a key down and a key up event.
See also:
Some examples using this method:
RemoteControlMBS.MacPressKey(keychar as Integer, virtualkey as Integer, keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
keychar is the ASCII code of the key you press and virtualkey is the key code.
Returns true on success.
Be aware that the user may get into trouble if you forget to release a key you pressed before. So always call this method another time to release the key.
See also:
RemoteControlMBS.MacPressOptionKey(keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success.
Be aware that the user may get into trouble if you forget to release a key you pressed before. So always call this method another time to release the key.
RemoteControlMBS.MacPressShiftKey(keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success.
Be aware that the user may get into trouble if you forget to release a key you pressed before. So always call this method another time to release the key.
Some examples using this method:
RemoteControlMBS.MacProcessCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
RemoteControlMBS.MacProcessName(index as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Index is from 0 to MacProcessCount-1.
RemoteControlMBS.MacProcessVisible(index as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Index is from 0 to MacProcessCount-1.
(Read and Write computed property)
RemoteControlMBS.MacTextForKeyCode(keycode as Integer, KeyAction as Integer, ModifierState as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Works only with Unicode keyboard layouts which need Mac OS X 10.5.
Modifier values:
Command Key | 1 |
Shift | 2 |
CapsLock | 4 |
Option | 8 |
Control | 16 |
Possible constants for the Key Action:
kUCKeyActionDown | 0 | The user is pressing the key. |
kUCKeyActionUp | 1 | The user is releasing the key. |
kUCKeyActionAutoKey | 2 | The user has the key in an "auto-key" pressed state that is, the user is holding down the key for an extended period of time and is thereby generating multiple key strokes from the single key. |
kUCKeyActionDisplay | 3 | The user is requesting information for key display, as in the Key Caps application. |
Some examples using this method:
RemoteControlMBS.MouseClick(x as Integer, y as Integer, down as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The mouse cursor is moved to the given position and the first mouse button is pressed.
Returns true on success.
RemoteControlMBS.MousePositionX as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
RemoteControlMBS.MousePositionY as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
RemoteControlMBS.MoveMouse(x as Integer, y as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns true on success.
On Mac does not generate mouse events.
RemoteControlMBS.PressControlKey(keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns true on success.
The items on this page are in the following plugins: MBS ComputerControl Plugin.
