emmanuel Posted May 4, 2004 Share Posted May 4, 2004 (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]) EndIfEdit: I know that the $CmdLine[2] is working because I see 1000 it in the message. Edited May 4, 2004 by emmanuel "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
Developers Jos Posted May 4, 2004 Developers Share Posted May 4, 2004 And did you wait 16 minutes for it to disappear ????? This param is in seconds not msec.... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
emmanuel Posted May 4, 2004 Author Share Posted May 4, 2004 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) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now