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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.