Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ending a director exe by time of day?

Status
Not open for further replies.

walkities

Technical User
Oct 4, 2004
31
CA
Hi I was just wondering if it was possible to have a Director file shut down/close according to the time of day? Im not a guru in the language and dont know much about director but am just curious if this was at all possible?
 
You can determine the current time by using the time, and then just compare with your closing time:
--
if (the time) >= "18:00" then
quit()
end if
--
You need to run this check in regular intervals like every one minute - so I'd put it in the timeout object.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top