Scripting Question

KScript wait for dialog box?

04/20/2016 882 views
Hello Everyone,

I have an online KScript that reboots the computer (MacOS) under certain circumstances.  I open a "message window" informing the user to save their stuff and click Ok to reboot.  The message window will go away in 24 hours if Ok isn't pressed.

Unfortunately, the KScript doesn't wait for the user to press "Ok" - it just proceeds to the next line and reboots the computer.  Not good.  Is there a way to make KScript "wait" for the user to press Ok or the timeout to arrive before continuing the script?  

Thank you!  

0 Comments   [ + ] Show comments


Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ