Platforms to show: All Mac Windows Linux Cross-Platform
Back to RemoteControlMBS module.
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.
The items on this page are in the following plugins: MBS ComputerControl Plugin.