Module GKeybindingScript :: Class GKeybindingScript
[hide private]
[frames] | no frames]

Class GKeybindingScript

source code

                                  object --+        
                                           |        
AccessEngine.AEUserInterface.AEUserInterface --+    
                                               |    
                  AccessEngine.AEScript.AEScript --+
                                                   |
                                                  GKeybindingScript

A special AEScript for handling GKeybinding.

Instance Methods [hide private]
 
init(self)
Registers tasks to correct speech reporting of keyboard bindings.
source code
string
getDescription(self)
Describe which AETier this script applies to by default.
source code
boolean
readKeybinding(self, **kwargs)
Remove the angle brackets and replace with a space between Control, Alt, Shift, and other keys.
source code
boolean
enterNewShortcut(self, **kwargs)
Announces the phrase 'new accelerator'.
source code
boolean
leaveShortcut(self, **kwargs)
Announces the existing accelerator.
source code

Inherited from AccessEngine.AEScript.AEScript: __init__, bindToEvent, chainTask, close, doCyclicInputTask, doTask, getAETier, getAnchorScriptClassName, getAnchorTaskId, getChainSegment, getChooserTask, getCommandTask, getEventTasks, getIdealOutput, getLastKey, getOutputDevices, getPointerPOR, getRegisteredTask, getScriptSetting, getScriptSettingVal, getState, getTaskKeys, getTempData, getVirtualPOR, mergeChain, postClose, preInit, registerChooserTask, registerCommand, registerCyclicInputTask, registerCyclicInputTasks, registerModifiers, registerTask, registerTimerTask, setIdealOutput, setPointerPOR, setScriptSettingVal, setTempData, setVirtualPOR, unbindFromEvent, unchainTask, unregisterChooserTask, unregisterCommand, unregisterCyclicInputTask, unregisterModifiers, unregisterTask, unregisterTaskFromCyclicInputTask, unregisterTimerTask

Inherited from AccessEngine.AEUserInterface.AEUserInterface: getClassName, getName, getPath

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]

Inherited from AccessEngine.AEScript.AEScript: STATE

Instance Variables [hide private]

Inherited from AccessEngine.AEScript.AEScript: after_chains, around_chains, around_tasks, before_chains, chooser_tasks, command_descriptions, commands, cyclic_input_tasks, def_out, event_tasks, out_caps, registered_modifiers, registered_tasks, state, tier

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

init(self)

source code 
Registers tasks to correct speech reporting of keyboard bindings.
Overrides: AccessEngine.AEScript.AEScript.init

getDescription(self)

source code 
Describe which AETier this script applies to by default.
Returns: string
Human readable translated description of this script.
Overrides: AccessEngine.AEUserInterface.AEUserInterface.getDescription

readKeybinding(self, **kwargs)

source code 
Remove the angle brackets and replace with a space between Control, Alt, Shift, and other keys.
Parameters:
  • kwargs (dictionary) - Arbitrary keyword arguments to pass to the task
Returns: boolean
True to allow other tasks to process this event.

enterNewShortcut(self, **kwargs)

source code 
Announces the phrase 'new accelerator'.
Parameters:
  • kwargs (dictionary) - Arbitrary keyword arguments to pass to the task
Returns: boolean
True to allow other tasks to process this event.

leaveShortcut(self, **kwargs)

source code 
Announces the existing accelerator.
Parameters:
  • kwargs (dictionary) - Arbitrary keyword arguments to pass to the task
Returns: boolean
True to allow other tasks to process this event.