I have a question regarding a custom dialog window. Instead of using the standard Display Dialog, Alert type windows to gather user input I wanted to make my own. I have created the window but I how do I get my script to wait for a button returned from another window.
set visible to true
set visible of button “window2button” to true --How do I get the script to wait for the answer from this button. All the button says is “OK”