I've had an app script hang hard twice on app close (out of many many script reloads and a fair number of actual app shutdowns without incident). When it happens, the machine becomes sluggish, there's no speech, and the only solution I've found is to shut down Window-Eyes via the Task Manager (my method being Ctrl-Shift-Esc, hope the correct tab is active, type "wineyes" but not too fast or too slow, type Alt-E, pause, type Alt-E again, pause, press Space, wait for the dust to settle).
The script hooks OnObjectFocus, OnChildFieldName/Data and OnChildSummary from the Desktop window (but each has code to avoid doing anything if window.process.processID <> clientInformation.applicationProcess.processID), and OnStateChange for the shared objects. The hangs only occur rarely and always when I shut down the application. I'm assuming this is some sort of script loop, but that's hard to prove. Any suggestions as to where to look first? -- Doug Lee, Senior Accessibility Programmer SSB BART Group - Accessibility-on-Demand mailto:doug....@ssbbartgroup.com http://www.ssbbartgroup.com "While they were saying among themselves it cannot be done, it was done." --Helen Keller