/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


KScript wait for dialog box?

04/20/2016 759 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

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

Share