Platforms to show: All Mac Windows Linux Cross-Platform
Back to RemoteControlMBS module.
RemoteControlMBS.WinKeyboardName as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
RemoteControlMBS.WinKeyIsDown(virtualkey as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
RemoteControlMBS.WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean) as boolean Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If AbsolutePosition is false the given coordinates are relative to the current position.
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.
See also:
- WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean) as boolean
- WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean, MouseButton3 as boolean) as boolean
- WinMouseClick(x as integer, y as integer, AbsolutePosition as boolean, MouseButton1 as Integer, MouseButton2 as Integer, MouseButton3 as Integer) as boolean
RemoteControlMBS.WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean) as boolean Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If AbsolutePosition is false the given coordinates are relative to the current position.
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.
Deprecated. Please use the version taking integers, so you can click only one button without others.
See also:
- WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean) as boolean
- WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean, MouseButton3 as boolean) as boolean
- WinMouseClick(x as integer, y as integer, AbsolutePosition as boolean, MouseButton1 as Integer, MouseButton2 as Integer, MouseButton3 as Integer) as boolean
RemoteControlMBS.WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean, MouseButton3 as boolean) as boolean Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If AbsolutePosition is false the given coordinates are relative to the current position.
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.
Deprecated. Please use the version taking integers, so you can click only one button without others.
See also:
- WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean) as boolean
- WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean) as boolean
- WinMouseClick(x as integer, y as integer, AbsolutePosition as boolean, MouseButton1 as Integer, MouseButton2 as Integer, MouseButton3 as Integer) as boolean
RemoteControlMBS.WinMouseClick(x as integer, y as integer, AbsolutePosition as boolean, MouseButton1 as Integer, MouseButton2 as Integer, MouseButton3 as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 21.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
If AbsolutePosition is false the given coordinates are relative to the current position.
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.
Pass 1 to click mouse button down, 0 to release it or -1 to not touch the button.
See also:
- WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean) as boolean
- WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean) as boolean
- WinMouseClick(x as Integer, y as Integer, AbsolutePosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean, MouseButton3 as boolean) as boolean
Some examples using this method:
RemoteControlMBS.WinMousePositionX as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 12.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
RemoteControlMBS.WinMousePositionY as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 12.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
RemoteControlMBS.WinMoveMouse(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 | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success.
Internally the coordinates are converted to normalized absolute coordinates which can lead to have the mouse one pixel off the requested position due to rounding.
Some examples using this method:
RemoteControlMBS.WinPressControlKey(keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ 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.WinPressKey(ScanCode as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
This methods creates a keydown and a keyup event.
Returns true on success.
See also:
- WinPressKey(ScanCode as Integer, keydown as boolean) as boolean
- WinPressKey(virtualkey as Integer, ScanCode as Integer) as boolean
- WinPressKey(virtualkey as Integer, ScanCode as Integer, keydown as boolean) as boolean
Some examples using this method:
RemoteControlMBS.WinPressKey(ScanCode as Integer, keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ 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.
See also:
RemoteControlMBS.WinPressKey(virtualkey as Integer, ScanCode as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
This methods creates a keydown and a keyup event.
Returns true on success.
See also:
RemoteControlMBS.WinPressKey(virtualkey as Integer, ScanCode as Integer, keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ 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.
See also:
RemoteControlMBS.WinPressOptionKey(keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ 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.WinPressShiftKey(keydown as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ 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.WinScanCodeToVirtualKeyCode(ScanCode as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Each key has a hardware dependend scan code. For each scancode you can get the virtual key code which is hardware independend.
Returns 0 on failure.
Some examples using this method:
RemoteControlMBS.WinSendMessage(Win as DesktopWindow, Msg as integer, lParam as integer, WParam as integer) as integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 22.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
The result depends on the message command.
See also:
- WinSendMessage(Win as window, Msg as Integer, lParam as Integer, WParam as Integer) as Integer
- WinSendMessage(WindowHandle as Integer, Msg as Integer, lParam as Integer, WParam as Integer) as Integer
Some examples using this method:
RemoteControlMBS.WinSendMessage(Win as window, Msg as Integer, lParam as Integer, WParam as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 10.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
The result depends on the message command.
See also:
RemoteControlMBS.WinSendMessage(WindowHandle as Integer, Msg as Integer, lParam as Integer, WParam as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 10.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The result depends on the message command.
See also:
RemoteControlMBS.WinShowWindow(WindowHandle as Integer, CmdShow as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 15.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
CmdShow can be:
0 | Hide |
1 | Show normal |
2 | Show minimized |
3 | Maximize |
4 | Show without activating |
5 | Show |
6 | Minimize |
7 | Show minimized without activating |
8 | Show normal without activating |
9 | Restore |
10 | Show default |
11 | Force minimized |
RemoteControlMBS.WinVirtualKeyCodeToCharCode(VirtualKeyCode as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns 0 on failure.
Some examples using this method:
RemoteControlMBS.WinVirtualKeyCodeToScanCode(VirtualKeyCode as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns 0 on failure.
Some examples using this method:
RemoteControlMBS.WinVirtualKeyForASCII(Character as Integer, byref VirtualKeyCode as Integer, Byref ShiftKey as boolean, byref ControlKey as Boolean, byref AltKey as boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 8.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
For Character, you should use asc(string), but you may need to convert the string to Windows ANSI text encoding.
Returns 0 on failure.
Some examples using this method:
The items on this page are in the following plugins: MBS ComputerControl Plugin.