Platforms to show: All Mac Windows Linux Cross-Platform
Back to RemoteControlMBS module.
RemoteControlMBS.PressOptionKey(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.
RemoteControlMBS.PressShiftKey(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.
RemoteControlMBS.WinBringProcessToTop(ProcessID as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns true if function found at least one window.
RemoteControlMBS.WinBringWindowToTop(WindowHandle as Integer, SetFocus as boolean = true) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 13.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Pass any window handle, including windows from other applications.
If SetFocus is true, we also set the focus.
Returns true on success.
Some examples using this method:
RemoteControlMBS.WinCurrentProcessID 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 any error.
RemoteControlMBS.WinFindWindow(ClassName as string, WindowName as string) 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 |
One of the names can be an empty string so only the other name is used. Normally you should prefer the class name as it is not localized. The WindowsListMBS class can help you finding the class name of a window.
Returns 0 on any error.
Some examples using this method:
RemoteControlMBS.WinForegroundProcessID 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 any error.
RemoteControlMBS.WinFrontWindowTitle 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 |
May return "" on any error.
RemoteControlMBS.WinIsCapsLock as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 23.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
User may press the caps lock key to toggle between on and off.
RemoteControlMBS.WinIsNumLock as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 23.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
User may press the num lock key to toggle between on and off.
RemoteControlMBS.WinIsScrollLock as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Remote Control | MBS ComputerControl Plugin | 23.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
User may press the scroll lock key to toggle between on and off.
For macOS and Parallels, this key is F14 on the Mac keyboard.
RemoteControlMBS.WinIsWindowMinimized(WindowHandle 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 |
Returns true if minimized.
Use RemoteControlMBS.WinFindWindow if you need to find a window handle.
RemoteControlMBS.WinIsWindowVisible(WindowHandle 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 |
Returns true if visible or false if not.
Use RemoteControlMBS.WinFindWindow if you need to find a window handle.
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.
