ssCore.Keyboard.getAccessibilityHotkeys

Retrieve the state of the accessibility hotkeys.


Availability:

First available in version 3.7 build 197.


Input Parameters:

None.


Output Parameters:

filter - State of the FilterKeys accessibility hotkey.

highContrast - State of the HighContrcastKeys accessibility hotkey.

mouse - State of the MouseKeys accessibility hotkey.

sticky - State of the StickyKeys accessibility hotkey.

toggle - State of the ToggleKeys accessibility hotkey.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.Keyboard.getAccessibilityHotkeys( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.Keyboard.getAccessibilityHotkeys( paramsObject );


Notes:

None.


Examples:

// query the state of the accessibility hotkeys ("TRUE" or "FALSE")
var r = ssCore.Keyboard.getAccessibilityHotkeys({});
ssDebug.trace("filter keys: " + r.filter);
ssDebug.trace("high contrast keys: " + r.highContrast);
ssDebug.trace("mouse keys: " + r.mouse);
ssDebug.trace("sticky keys: " + r.sticky);
ssDebug.trace("toggle keys: " + r.toggle);