Re: [orca-list] orca customizations
- From: <aerospace1028 hotmail com>
- To: Rich Burridge <rich burridge sun com>
- Cc: orca-list gnome org
- Subject: Re: [orca-list] orca customizations
- Date: Thu, 29 May 2008 17:21:29 -0400
There were a couple of problems.
1/ The "def setCoding(script, inputEvent=None)" line didn't have
a colon at the end of it.
It's always something simple.
I thought I had copied *all* of the template from the time function, but somehow I missed the colen (not sure
2/ The next line wasn't indented properly. Python is really
fussy about indentation.
I also suggest that you surround everything you put inside
your orca-customizations.py file with a try:/except: clause.
That means that if you do have an error, it'll be caught, and
Orca will recover from it and start up normally (rather than
bring up the Orca Preferences dialog).
I've attached a working version of the orca-customizations.py
file. I've left a couple lines of print debug in there to help
show that it was working.
Everythings working properly now. And I've even implinented the reverse function to turn down punctuation
verbosity for regular use.
Keep your kids safer online with Windows Live Family Safety.
] [Thread Prev