Question
Aborting Scripts
I have a Bridge script that loops through a series of files calling a PS script method that does some processing.
Can I abort the PS processing via ESC? Apparently not. It would be nice if an unconsumed ESC at least signalled an error on the next Javascript statement. (Even better would be consistency in PS native methods aborting with ESC.)
If I catch an error in the PS script, how do I reflect the error to Bridge?
I'm guessing that the Bridgetalk sends I'm using are queued such that PS and Bridge are uncoupled. If I get a PS error how do I flush the queued Bridgetalk messages?
Can I abort the PS processing via ESC? Apparently not. It would be nice if an unconsumed ESC at least signalled an error on the next Javascript statement. (Even better would be consistency in PS native methods aborting with ESC.)
If I catch an error in the PS script, how do I reflect the error to Bridge?
I'm guessing that the Bridgetalk sends I'm using are queued such that PS and Bridge are uncoupled. If I get a PS error how do I flush the queued Bridgetalk messages?
