Platforms to show: All Mac Windows Linux Cross-Platform
Remote Control
A class to simulate user keyboard input and utility functions to script other appplications.
- Classes
- class GammaFadeMBS
- method Constructor
- method Constructor(mainwindow as DesktopWindow)
- method Constructor(mainwindow as window)
- method GammaFadeIn(seconds as Double) as boolean
- method GammaFadeOut(seconds as Double) as boolean
- property Available as Boolean
- property FadeColor as Color
- class GammaMBS
- method Constructor(mainwindow as DesktopWindow, displayIndex as integer = 0)
- method Constructor(mainwindow as window = nil, displayIndex as Integer = 0)
- method SetGamma(gammaScale as Double = 1.0) as boolean
- property Available as Boolean
- property Lasterror as Integer
- property Size as Integer
- property Blue(Index as Integer) as Double
- property Green(Index as Integer) as Double
- property Red(Index as Integer) as Double
- class KeyCodesMBS
- method AsciiToKeyCode(ascii as Integer) as Integer
- method KeyCodeToAscii(keycode as Integer) as Integer
- method KeyCodeToAsciiWithSecondKeyCode(keycode as Integer) as Integer
- method TestForAsciiKeyDown(ascii as Integer) as boolean
- method TestForKeyDown(keycode as Integer) as boolean
- method Update
- property LastError as Integer
- property Name as String
- property State as Integer
- class GammaFadeMBS
- Modules
- module RemoteControlMBS
- method LinuxConvertCase(keysymbol as Integer, byref lowerSymbol as Integer, byref upperSymbol as Integer) as boolean
- method LinuxKeyCodeToKeySymbol(keycode as Integer, index as Integer) as Integer
- method LinuxKeyNameToKeySymbol(keyname as string) as Integer
- method LinuxKeySymbolToKeyCode(keysymbol as Integer) as Integer
- method LinuxKeySymbolToKeyName(keysymbol as Integer) as string
- method LinuxMouseClick(ButtonID as Integer, ButtonDown as boolean) as boolean
- method LinuxMousePositionX as Integer
- method LinuxMousePositionY as Integer
- method LinuxMoveMouse(x as Integer, y as Integer) as boolean
- method LinuxPressControlKey(keydown as boolean) as boolean
- method LinuxPressKey(Keycode as Integer) as boolean
- method LinuxPressKey(Keycode as Integer, ButtonDown as boolean) as boolean
- method LinuxPressOptionKey(keydown as boolean) as boolean
- method LinuxPressShiftKey(keydown as boolean) as boolean
- method LinuxSupported as boolean
- method MacCurrentProcessID as Integer
- method MacCurrentProcessName as string
- method MacDescriptionForKeyCode(keycode as Integer) as string
- method MacDisplayNameForKeyCode(keycode as Integer) as string
- method MacForegroundProcessID as Integer
- method MacFrontProcessName as string
- method MacKeyboardLocalizedName as string
- method MacKeyboardName as string
- method MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean) as boolean
- method MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean) as boolean
- method MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean, MouseButton2 as boolean, MouseButton3 as boolean) as boolean
- method MacMousePositionX as Integer
- method MacMousePositionY as Integer
- method MacMouseWheel(wheel1 as Integer) as boolean
- method MacMouseWheel(wheel1 as Integer, wheel2 as Integer) as boolean
- method MacMoveMouse(x as Double, y as Double) as boolean
- method MacPressCommandKey(keydown as boolean) as boolean
- method MacPressControlKey(keydown as boolean) as boolean
- method MacPressKey(keychar as Integer, virtualkey as Integer) as boolean
- method MacPressKey(keychar as Integer, virtualkey as Integer, keydown as boolean) as boolean
- method MacPressOptionKey(keydown as boolean) as boolean
- method MacPressShiftKey(keydown as boolean) as boolean
- method MacProcessCount as Integer
- method MacProcessName(index as Integer) as string
- method MacProcessVisible(index as Integer) as boolean
- method MacTextForKeyCode(keycode as Integer, KeyAction as Integer, ModifierState as Integer) as string
- method MouseClick(x as Integer, y as Integer, down as boolean) as boolean
- method MousePositionX as Integer
- method MousePositionY as Integer
- method MoveMouse(x as Integer, y as Integer) as boolean
- method PressControlKey(keydown as boolean) as boolean
- method PressOptionKey(keydown as boolean) as boolean
- method PressShiftKey(keydown as boolean) as boolean
- method WinBringProcessToTop(ProcessID as Integer) as boolean
- method WinBringWindowToTop(WindowHandle as Integer, SetFocus as boolean = true) as boolean
- method WinCurrentProcessID as Integer
- method WinFindWindow(ClassName as string, WindowName as string) as Integer
- method WinForegroundProcessID as Integer
- method WinFrontWindowTitle as string
- method WinIsCapsLock as boolean
- method WinIsNumLock as boolean
- method WinIsScrollLock as boolean
- method WinIsWindowMinimized(WindowHandle as Integer) as Boolean
- method WinIsWindowVisible(WindowHandle as Integer) as Boolean
- method WinKeyboardName as string
- method WinKeyIsDown(virtualkey as Integer) as boolean
- method WinMouseClick(x as integer, y as integer, AbsolutePosition as boolean, MouseButton1 as Integer, MouseButton2 as Integer, MouseButton3 as Integer) as boolean
- method WinMousePositionX as Integer
- method WinMousePositionY as Integer
- method WinMoveMouse(x as Integer, y as Integer) as boolean
- method WinPressControlKey(keydown as boolean) as boolean
- method WinPressKey(ScanCode as Integer) as boolean
- method WinPressKey(ScanCode as Integer, keydown as boolean) as boolean
- method WinPressKey(virtualkey as Integer, ScanCode as Integer) as boolean
- method WinPressKey(virtualkey as Integer, ScanCode as Integer, keydown as boolean) as boolean
- method WinPressOptionKey(keydown as boolean) as boolean
- method WinPressShiftKey(keydown as boolean) as boolean
- method WinScanCodeToVirtualKeyCode(ScanCode as Integer) as Integer
- method WinSendMessage(Win as DesktopWindow, Msg as integer, lParam as integer, WParam as integer) as integer
- method WinSendMessage(Win as window, Msg as Integer, lParam as Integer, WParam as Integer) as Integer
- method WinSendMessage(WindowHandle as Integer, Msg as Integer, lParam as Integer, WParam as Integer) as Integer
- method WinShowWindow(WindowHandle as Integer, CmdShow as Integer) as Boolean
- method WinVirtualKeyCodeToCharCode(VirtualKeyCode as Integer) as Integer
- method WinVirtualKeyCodeToScanCode(VirtualKeyCode as Integer) as Integer
- method WinVirtualKeyForASCII(Character as Integer, byref VirtualKeyCode as Integer, Byref ShiftKey as boolean, byref ControlKey as Boolean, byref AltKey as boolean) as boolean
- module RemoteControlMBS
- Blog Entries
Release notes
- Version 23.5
- Added WinIsCapsLock, WinIsNumLock and WinIsScrollLock to RemoteControlMBS module.
- Version 23.1
- Fixed a problem with LinuxMoveMouse method in RemoteControlMBS module not working correctly.
- Version 21.2
- Added WinMouseClick taking integer parameters to RemoteControlMBS module and deprecated the boolean variants.
- Implemented MacMousePositionX and MacMousePositionY functions for RemoteControlMBS module for macOS 64-bit.
- Version 20.1
- Changed WinBringProcessToTop method in RemoteControlMBS module to activate first window.
- Fixed problem with RemoteControlMBS WinBringProcessToTop method showing hidden windows.
- Version 19.4
- Fixed declaration for WinSendMessage in RemoteControlMBS module.
- Version 18.2
- Added RemoteControlMBS WinBringProcessToTop method.
- Version 17.0
- Updated RemoteControlMBS.MacKeyboardName for 64-bit.
The items on this page are in the following plugins: MBS ComputerControl Plugin.