Guest finallyfantal Posted February 27, 2005 Share Posted February 27, 2005 Ok, heres the situation: First, I make an input box for hours. Then, I make an input box for minutes. Now, I want my script to loop for the amount of time input. How would I go about doing this? Link to comment Share on other sites More sharing options...
buzz44 Posted February 27, 2005 Share Posted February 27, 2005 (edited) i dont completely understand wat you want to do ... something like . $Hours = InputBox ( "Hours", "Enter the amount of hours." ) $Mins = InputBox ( "Minutes", "Enter the amount of minutes." ) $Secs = InputBox ( "Seconds", "Enter the amount of seconds." ) MsgBox(0,"Time",$Hours & ":" & $Mins & ":" & $Secs) edit : misread sry .. i thought u said "Look" instead of "loop" Edited February 27, 2005 by burrup qq Link to comment Share on other sites More sharing options...
buzz44 Posted February 27, 2005 Share Posted February 27, 2005 i dont completely understand wat you want to do ... something like .$Hours = InputBox ( "Hours", "Enter the amount of hours." ) $Mins = InputBox ( "Minutes", "Enter the amount of minutes." ) $Secs = InputBox ( "Seconds", "Enter the amount of seconds." ) MsgBox(0,"Time",$Hours & ":" & $Mins & ":" & $Secs)edit : misread sry .. i thought u said "Look" instead of "loop"<{POST_SNAPBACK}>try this$Hours = InputBox ( "Hours", "Enter the amount of hours." ) $Mins = InputBox ( "Minutes", "Enter the amount of minutes." ) Do ; your code Until @Hour = $Hours AND @Min = $Mins@Hour is in 24 hr time .. so when you enter it into the input box make sure it is 24 hr ...eg instead of typing "8" .. you would type "20" qq Link to comment Share on other sites More sharing options...
Guest finallyfantal Posted February 28, 2005 Share Posted February 28, 2005 thanks! 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