from the code below, I want "msgbox, correct 1" to be executed, then the script exits because it finds a line with error!
Code: Select all
msgbox, Correct 1 ;should be executed
MessageBox, Error non-sense line ;from here, script exit!
msgbox, Correct 2