Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

RemoteControlMBS.LinuxConvertCase(keysymbol as Integer, byref lowerSymbol as Integer, byref upperSymbol as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
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".

Feedback, Comments & Corrections

RemoteControlMBS.LinuxKeyCodeToKeySymbol(keycode as Integer, index as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
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.

Feedback, Comments & Corrections

RemoteControlMBS.LinuxKeyNameToKeySymbol(keyname as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
Function: Searches the key mapping list for the key symbol for a given name.
Notes: Returns 0 on failure.

Feedback, Comments & Corrections

RemoteControlMBS.LinuxKeySymbolToKeyCode(keysymbol as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
Function: Searches the hardware dependend key code for the given key symbol.
Notes: Returns 0 on any error.

Feedback, Comments & Corrections

RemoteControlMBS.LinuxKeySymbolToKeyName(keysymbol as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
Function: Returns the name of the key symbol.
Notes: Can return "" on an invalide keysymbol value.

Feedback, Comments & Corrections

RemoteControlMBS.LinuxMouseClick(ButtonID as Integer, ButtonDown as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
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.

Feedback, Comments & Corrections

RemoteControlMBS.LinuxMousePositionX as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
Function: Queries the current mouse position.

Feedback, Comments & Corrections

RemoteControlMBS.LinuxMousePositionY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
Function: Queries the current mouse position.

Feedback, Comments & Corrections

RemoteControlMBS.LinuxMoveMouse(x as Integer, y as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
Function: Moves the mouse to the given position.
Notes: Returns true on success.

Feedback, Comments & Corrections

RemoteControlMBS.LinuxPressControlKey(keydown as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
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.

Feedback, Comments & Corrections

RemoteControlMBS.LinuxPressKey(Keycode as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
Function: Presses the key with the given keycode.
Notes:
Performs a key down and a key up event.
Returns true on success.

See also:

Feedback, Comments & Corrections

RemoteControlMBS.LinuxPressKey(Keycode as Integer, ButtonDown as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
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.

See also:

Feedback, Comments & Corrections

RemoteControlMBS.LinuxPressOptionKey(keydown as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
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.

Feedback, Comments & Corrections

RemoteControlMBS.LinuxPressShiftKey(keydown as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
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.

Feedback, Comments & Corrections

RemoteControlMBS.LinuxSupported as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 No No Yes Yes, Linux only No
Function: Whether the functions are available for simulation of keyboard and mouse events.
Notes: Returns true if the Xtest extension is installed.

Feedback, Comments & Corrections

RemoteControlMBS.MacCurrentProcessID as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: Returns the process ID of your application.
Notes: Returns 0 on any error.

Feedback, Comments & Corrections

RemoteControlMBS.MacCurrentProcessName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: Returns the name of the current process.
Example:
msgbox RemoteControlMBS.MacCurrentProcessName
Notes: This is the name of your application.

Feedback, Comments & Corrections

RemoteControlMBS.MacDescriptionForKeyCode(keycode as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
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.

Feedback, Comments & Corrections

RemoteControlMBS.MacDisplayNameForKeyCode(keycode as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: Translates a keycode to a string for displaying.
Notes: Same as MacTextForKeyCode(keycode, 4)

Feedback, Comments & Corrections

RemoteControlMBS.MacForegroundProcessID as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: Returns the process ID of the application in the foreground.
Notes: Returns 0 on any error.

Feedback, Comments & Corrections

RemoteControlMBS.MacFrontProcessName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: The name of the front process.
Example:
RemoteControlMBS.MacFrontProcessName="iChat" // move iChat to front
Notes: (Read and Write computed property)

Feedback, Comments & Corrections

RemoteControlMBS.MacKeyboardLocalizedName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: The localized name of the current keyboard layout.
Notes: Returns "" on any error.

Feedback, Comments & Corrections

RemoteControlMBS.MacKeyboardName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: The name of the current keyboard layout.
Notes:
Returns "" on any error.

Added 64-bit support for version 17.0.

Feedback, Comments & Corrections

RemoteControlMBS.MacMouseClick(x as Double, y as Double, updateMouseCursorPosition as boolean, MouseButton1 as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: Clicks the mouse buttons on the given position.
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
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:

Feedback, Comments & Corrections

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 Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: Clicks the mouse buttons on the given position.
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
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:

Feedback, Comments & Corrections

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 Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
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.

See also:

Feedback, Comments & Corrections

RemoteControlMBS.MacMousePositionX as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: Queries the current mouse position.

Feedback, Comments & Corrections

RemoteControlMBS.MacMousePositionY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: Queries the current mouse position.

Feedback, Comments & Corrections

RemoteControlMBS.MacMouseWheel(wheel1 as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Remote Control MBS ComputerControl Plugin 8.4 Yes No No Yes, macOS only No
Function: Performs a wheel event.
Example:
call RemoteControlMBS.MacMouseWheel 1
Notes:
Returns true on success.
A typical value for the wheel changes are in range from -10 to 10.

See also:

Feedback, Comments & Corrections

Next items

The items on this page are in the following plugins: MBS ComputerControl Plugin.

The biggest plugin in space...




Links
MBS FileMaker Plugins