Jump to content

simple msgbox script help


Kyme
 Share

Recommended Posts

hi all...i try to make some tool to shutdown pc...and i wanna add this

$del111=MsgBox(4, "Shutdowning in process", "Do you wanna continue the shutdowning?", 10)
        If $del111 = 6 Then
                MsgBox(0, "Warning", "Shutdown now")
                Return
        Else
                MsgBox(0, "Warning", "Shutdown Aborded")
                Return
        EndIf
                        MsgBox(0, "Warning", "Result Shutdown now")

but the problem it's there...i put 10sec timeout to can cancel shutdown if you don't want it...but if i sleep and nobody press yes or no to shutdown pc...some like you wanna shut down pc if yes=shutdown if no then return if none answare=shutdown it

can someone help me with this?

tnx

Regards, Kyme

Edit:in my script if none button pressed then=aborded

Edited by Kyme
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...