How to stop a script by using a command.

Hi there,

I want to stop the script from running if it cannot find a specific image. For example:

if imagefound ("Blah") then
Do something
else
Stop the application from running

I am currently using the "PauseScript" command, but this will not work if I run the script via command line.

Cheers,
Shawn

Comments

Sign In or Register to comment.