Sign in to follow this  
Followers 0
emmanuel

Msgbox Not Disapearing On It's Own

3 posts in this topic

#1 ·  Posted (edited)

I compile it and launch it as configsite.exe /delay 1000 but the msgbox doesn't timeout...

if $CmdLine[0] = 2 AND $CmdLine[1] = '/delay' Then 
      MsgBox(0, "ConfigSite", "Delaying the script " & $CmdLine[2] & "milli-seconds to give windows time to load." & @CRLF & "This window will auto-timeout in " & $CmdLine[2] & "milli-seconds" & @CRLF & "Click OK to skip this delay.", $CmdLine[2])
EndIf

Edit: I know that the $CmdLine[2] is working because I see 1000 it in the message.

Edited by emmanuel

"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
Share on other sites



:D I swear alot when I do something stupid like that. To spare you all and my cube-neighbors that, just imagine it. ... ... Ok, I'm good. I'd even re-read the MsgBox help entry a few times trying to figure it out.

Thank you very much.


"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
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
Sign in to follow this  
Followers 0