RbScriptAlreadyRunningException
From Real Software Documentation
Class (inherits from RuntimeException)
Occurs if the user tries to modify an RBScript’s source code while it is running or you try to change the Context object while the script is running. Don’t do this.
Example
To use RbScriptAlreadyRunningException, add an Exception block where the RBscript can be called.
Sub ...
Exception err
If err IsA RbScriptAlreadyRunningException then
MsgBox "Tried to call an RBscript while it is running!"
End if
Exception err
If err IsA RbScriptAlreadyRunningException then
MsgBox "Tried to call an RBscript while it is running!"
End if
