Platforms to show: All Mac Windows Linux Cross-Platform
RemoteControlMBS.LinuxConvertCase(keysymbol as Integer, byref lowerSymbol as Integer, byref upperSymbol as Integer) as boolean
Function:
Converts the case of the given keysymbol.
Notes:
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".
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
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
Function:
Returns from the keyboard mapping tables the key symbol for the given key code.
Notes: 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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: 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.
RemoteControlMBS.LinuxKeyNameToKeySymbol(keyname as string) as Integer
Function:
Searches the key mapping list for the key symbol for a given name.
Notes: Returns 0 on failure.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: Returns 0 on failure.
RemoteControlMBS.LinuxKeySymbolToKeyCode(keysymbol as Integer) as Integer
Function:
Searches the hardware dependend key code for the given key symbol.
Notes: Returns 0 on any error.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: Returns 0 on any error.
RemoteControlMBS.LinuxKeySymbolToKeyName(keysymbol as Integer) as string
Function:
Returns the name of the key symbol.
Notes: Can return "" on an invalide keysymbol value.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: Can return "" on an invalide keysymbol value.
RemoteControlMBS.LinuxMouseClick(ButtonID as Integer, ButtonDown as boolean) as boolean
Function:
Simulates a mouse click with the given button.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
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.
RemoteControlMBS.LinuxMousePositionX as Integer
Function:
Queries the current mouse position.
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
Function:
Queries the current mouse position.
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
Function:
Moves the mouse to the given position.
Notes: Returns true on success.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: Returns true on success.
RemoteControlMBS.LinuxPressControlKey(keydown as boolean) as boolean
Function:
Presses the ctrl key.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
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
Function:
Presses the key with the given keycode.
Notes:
Performs a key down and a key up event.
Returns true on success.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
Performs a key down and a key up event.
Returns true on success.
See also:
RemoteControlMBS.LinuxPressKey(Keycode as Integer, ButtonDown as boolean) as boolean
Function:
Performs a key event.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
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
Function:
Presses the alt key.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
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
Function:
Presses the shift key.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
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.LinuxSupported as boolean
Function:
Whether the functions are available for simulation of keyboard and mouse events.
Notes: Returns true if the Xtest extension is installed.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: Returns true if the Xtest extension is installed.
RemoteControlMBS.MacCurrentProcessID as Integer
Function:
Returns the process ID of your application.
Notes: Returns 0 on any error.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Notes: Returns 0 on any error.
RemoteControlMBS.MacCurrentProcessName as string
Function:
Returns the name of the current process.
Example:
Notes:
This is the name of your application.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Example:
msgbox RemoteControlMBS.MacCurrentProcessName
RemoteControlMBS.MacDescriptionForKeyCode(keycode as Integer) as string
Function:
Translates a keycode to a string for displaying.
Notes: Keycodes which match a special key like "Return", "F1" or "Backspace" are returned as descriptive strings.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Notes: Keycodes which match a special key like "Return", "F1" or "Backspace" are returned as descriptive strings.
RemoteControlMBS.MacDisplayNameForKeyCode(keycode as Integer) as string
Function:
Translates a keycode to a string for displaying.
Notes: Same as MacTextForKeyCode(keycode, 4)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Notes: Same as MacTextForKeyCode(keycode, 4)
RemoteControlMBS.MacForegroundProcessID as Integer
Function:
Returns the process ID of the application in the foreground.
Notes: Returns 0 on any error.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Notes: Returns 0 on any error.
RemoteControlMBS.MacFrontProcessName as string
Function:
The name of the front process.
Example:
Notes:
(Read and Write computed property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Example:
RemoteControlMBS.MacFrontProcessName="iChat" // move iChat to front
RemoteControlMBS.MacKeyboardLocalizedName as string
Function:
The localized name of the current keyboard layout.
Notes: Returns "" on any error.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Notes: Returns "" on any error.
RemoteControlMBS.MacKeyboardName as string
Function:
The name of the current keyboard layout.
Notes:
Returns "" on any error.
Added 64-bit support for version 17.0.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Notes:
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
Function:
Clicks the mouse buttons on the given position.
Example:
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Example:
// doing a context menu click with control key:
dim x,y as Integer
x=System.MouseX
y=System.MouseY
call RemoteControlMBS.PressControlKey true
call RemoteControlMBS.MacMouseClick x, y, true, true
call RemoteControlMBS.MacMouseClick x, y, true, false
call RemoteControlMBS.PressControlKey false
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
RemoteControlMBS.MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean) as boolean
Function:
Clicks the mouse buttons on the given position.
Example:
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Example:
// do a right click:
dim x,y as Integer
x=System.MouseX
y=System.MouseY
call RemoteControlMBS.MacMouseClick x, y, true, false, true
call RemoteControlMBS.MacMouseClick x, y, true, false, false
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
Function:
Clicks the mouse buttons on the given position.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Notes:
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
Function:
Queries the current mouse position.
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
Function:
Queries the current mouse position.
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
Function:
Performs a wheel event.
Example:
Notes:
Returns true on success.
A typical value for the wheel changes are in range from -10 to 10.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Example:
call RemoteControlMBS.MacMouseWheel 1
Returns true on success.
A typical value for the wheel changes are in range from -10 to 10.
See also:
The items on this page are in the following plugins: MBS ComputerControl Plugin.

Links
MBS Xojo blog