October 31, 200619 yr I'm creating a simple script with show custom dialog box that will greets me if its "morning", "noon" "afternoon" or "night". but somehow i can't say simple thing like find me a range from 8am-11am. so help me God. " if (Get (CurrentTime) < "4:00:00 AM") and (Get (CurrentTime)>"11:00:00 AM") Show custom dialog ["Good Morning"] if (Get ( CurrentTime )>"12:00:00 PM") and (Get (CurrentTime )<"1:00:00 PM") Show custom dialog ["Noon Time"] if (Get ( CurrentTime )>"1:00:01 PM") and (Get (CurrentTime)<"4:30:00 PM") Show custom dialog ["Good Afternoon"] . . .and so on. " Please tell me thats not a right way to do time range. Thank All!
October 31, 200619 yr That's not a right way to do time range. See if this gets you on the right track (you only need one custom dialog script step, with a calculated result).
Create an account or sign in to comment