Quote from
luishp on April 4, 2022, 7:04 am
@blustar as JavaScript (the underlaying language) is multithreaded, it's not possible to stop the script.
The only way I'm aware of is using jsAlert command. The main thread script will stop until the user closes the alert.
This could be useful for debugging but most people use Consolelog or ConsoleTable instead.
If you are running a subroutine and want to exit, use Return.
Why do you need to stop the script?
Regards.
@blustar as JavaScript (the underlaying language) is multithreaded, it's not possible to stop the script.
The only way I'm aware of is using jsAlert command. The main thread script will stop until the user closes the alert.
This could be useful for debugging but most people use Consolelog or ConsoleTable instead.
If you are running a subroutine and want to exit, use Return.
Why do you need to stop the script?
Regards.
javadrajabihakami has reacted to this post.