Ah, I see... I thought that's what IGNOREERRORS was for, didn't realize I need to reset the handler itself as well.
I'll try it next time I'm playing around in there. Thanks
Search found 5 matches
- Wed Feb 11, 2015 2:46 pm
- Forum: Technical / Scripting
- Topic: IgnoreErrors doesn't seem to work in Error Handler
- Replies: 2
- Views: 3134
- Wed Feb 11, 2015 4:13 am
- Forum: Technical / Scripting
- Topic: IgnoreErrors doesn't seem to work in Error Handler
- Replies: 2
- Views: 3134
IgnoreErrors doesn't seem to work in Error Handler
Hello, I have an error handler set up that attempts to close the window and elegantly back out of the script. On occasion, the window it's attempting to close can't be found, and it enters a loop in outputting to the error log. Here's the pertinent script pieces: // first two executable lines: Let>I...
- Sat Jan 31, 2015 12:38 pm
- Forum: Technical / Scripting
- Topic: Output Line in Error Log
- Replies: 4
- Views: 3039
Re: Output Line in Error Log
>> is there a way to raise an error? <<
For example, I use UIAccessibleList to check the contents of a window before performing an action, and I can't find a substring in that list, I'd like to throw an error.
I can manage it easily enough using a custom SRT but an error would keep things semantic.
For example, I use UIAccessibleList to check the contents of a window before performing an action, and I can't find a substring in that list, I'd like to throw an error.
I can manage it easily enough using a custom SRT but an error would keep things semantic.
- Sat Jan 31, 2015 12:17 pm
- Forum: Technical / Scripting
- Topic: Output Line in Error Log
- Replies: 4
- Views: 3039
Re: Output Line in Error Log
Got it, thanks... must have missed the _LINE in the docs (I had been using LAST_ERROR but wanted to trace where it was throwing from).
As a side note, is there a way to raise an error?
As a side note, is there a way to raise an error?
- Tue Jan 27, 2015 4:22 pm
- Forum: Technical / Scripting
- Topic: Output Line in Error Log
- Replies: 4
- Views: 3039
Output Line in Error Log
Hello,
Is there a way to determine the line that threw an error?
Thanks,
-jack
Is there a way to determine the line that threw an error?
Thanks,
-jack