another popAlert question
I'm using this script to alert the user to click a button:
if (this.calculate) app.alert("Please click the ''On'' button before proceeding.\n\n**Note:\nThis alert will appear whenever the ''On'' button is not clicked\n\nBe sure to click the ''Off'' button when you are ready to perform your calculations.\n",3);
What I'd like to know is, is it possible to use the OK button in the alert to set (click the Button2) when the OK is clicked to close the popAlert window. I have two buttons that hide and show when clicked. Button2 is visible and when I click it, it hides and shows Button4. It's just to turn on then turn off. So, would it possible to use the OK button to click Button2, hide it, and show Button4? Then they can click Button4 for themselves when they are ready to. It would help streamline that process of turning the buttons on/off for the user.
