Defines the main function which parses command line arguments and acts
on them. Creates an instance of the AERegistrar to add a new user
interface element (UIE) to the repository on disk when commands for the
AERegistrar are present. If the kill switch is found, kills the running
instance of SUE started by this user. Otherwise, starts an instance of
the AccessEngine and
runs the screen reader.
|
string
|
wrap(text,
width=79,
encoding='utf-8',
indent=4)
A word-wrap function that preserves existing line breaks and most
spaces in the text. |
source code
|
|
|
|
welcome()
Prints copyright, license, and version info. |
source code
|
|
|
boolean
|
|
|
string
|
|
|
string
|
|
|
string
|
associate(options)
Associates a UIE with a profile so that it is loaded at a
particular time (e.g. |
source code
|
|
|
string
|
disassociate(options)
Disassociates a UIE with a profile so that it is no longer loaded
at a particular time. |
source code
|
|
|
string
|
|
|
string
|
|
|
string
|
|
|
string
|
|
|
string
|
|
|
string
|
say(options)
Uses the first available audio AEOutput device to output a
string. |
source code
|
|
|
string
|
show(options)
Shows all installed scripts and profiles, indicating all
associated UIE's via the AERegistrar. |
source code
|
|
|
string
|
|
|
string
|
|
|
string
|
initGlobal(options)
Initializes the global cache of installed UIEs in the HOME_DIR
folder using the AERegistrar. |
source code
|
|
|
|
getAction(option,
opt_str,
value,
parser)
Maps a command line param to the name of a function in this module
that will handle it. |
source code
|
|
|
|
|
|
|
configGUI(options)
Configures the GUI toolkit with a default icon list for all SUE
top level windows. |
source code
|
|
|
optparse.Values
|
parseOptions()
Parses the command line arguments based on the definition of the
expected arguments provided here. |
source code
|
|
|
|
main()
Print the welcome message, parses command line arguments, and
configures the logging system. |
source code
|
|