Platforms to show: All Mac Windows Linux Cross-Platform
AppleRemoteMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Apple Remote | MBS MacExtras Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
With Mac OS X 10.6 Apple made changes to the behavior of the driver so the exclusive mode does no longer work.
- event ButtonPressed(ButtonID as Integer, PressedDown as boolean, clickCount as Integer)
- 11 properties
- property ClickCountEnabledButtons as Integer
- property ClickCountingEnabled as Boolean
- property Handle as Integer
- property ListeningOnAppActivate as Boolean
- property ListeningToRemote as boolean
- property MaximumClickCountTimeDifference as Double
- property OpenInExclusiveMode as boolean
- property ProcessesBacklog as Boolean
- property RemoteAvailable as boolean
- property remoteId as Integer
- property SimulatesPlusMinusHold as Boolean
- 2 methods
- method startListening
- method stopListening
- 15 constants
Constants
Constant | Value | Description |
---|---|---|
kRemoteButtonFullscreen2009 | 32768 | The constant for the fullscreen button (older modell). |
kRemoteButtonLeft | 64 | The constant for the left button. |
kRemoteButtonLeftHold | 256 | The constant for the left button being hold. |
kRemoteButtonMenu | 8 | The constant for the menu button. |
kRemoteButtonMenuHold | 512 | The constant for the menu button being hold. |
kRemoteButtonPlay | 16 | The constant for the play button. |
kRemoteButtonPlay2009 | 16384 | The constant for the play button (older model). |
kRemoteButtonPlaySleep | 1024 | The constant for the play button being hold. |
kRemoteButtonRight | 32 | The constant for the right button. |
kRemoteButtonRightHold | 128 | The constant for the right button being hold. |
kRemoteButtonVolumeMinus | 4 | The constant for the volume minus button. |
kRemoteButtonVolumeMinus_Hold | 8192 | The constant for the volume minus button (hold). |
kRemoteButtonVolumePlus | 2 | The constant for the volume plus button. |
kRemoteButtonVolumePlus_Hold | 4096 | The constant for the volume plus button (hold). |
kRemoteControlSwitched | 2048 | The constant for the device switch event. |
This class has no sub classes.
Some examples using this class:
Blog Entries
Xojo Developer Magazine
The items on this page are in the following plugins: MBS MacExtras Plugin.
AliasInfoMBS - AppleScriptErrorMBS