lazyyy Posted October 31, 2006 Posted October 31, 2006 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!
comment Posted October 31, 2006 Posted October 31, 2006 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).
Recommended Posts
This topic is 6600 days old. Please don't post here. Open a new topic instead.
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