Below is a small script to check user input (below) which I plan to place in another main script. I want to proceed with the rest of the main script if the user selects OK and abort if the user clicks Cancel in the user input script. How to achieve this?.
mywin1 = new window("YOU HAVE SELECTED:", << modal,
//ID = "part123";
//flavour = "Red";
//TestYear = "2021";
//LimFileName = "EVTeg";
text box("Wafer ID: "||ID||" \!nProduct Type: "||flavour||" \!nTest year: "||TestYear||" \!nLimts File: "||LimFileName||" \!nDo you wish to continue?"),
button box("Yes", which_button = "OK"),
button box("No", which_button = "Cancel"),
);
The commented lines were just to test this piece of code. These would be supplied from the main script above the test user input script.
When it's too good to be true, it's neither