Re: [orca-list] orca customizations




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 
how).

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.

 Thanks.

Everythings working properly now.  And I've even implinented the reverse function to turn down punctuation 
verbosity for regular use.

Thank you:-)
_________________________________________________________________
Keep your kids safer online with Windows Live Family Safety.
http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_Refresh_family_safety_052008


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]