Re: Quickie Question
Re: Quickie Question
- Subject: Re: Quickie Question
- From: Emmanuel <email@hidden>
- Date: Fri, 29 Mar 2002 18:22:20 +0100
At 4:50 PM +0100 29/3/02, Scott Ettin wrote:
>
>
What script command can I use to call the system clock? I'd like to write
>
a basic script that will shut down an application if the system time is
>
equal to say, 9pm.
>
>
Sort of like:
>
>
on try
>
if the system time is 9:00pm
I might know this one!!!!
----------------------
set theDate to (current date)
set time of theDate to (21 * 3600) -- 21 is 9 PM
-- now theDate is storing today's date at 9 PM
if (current date) > theDate then
----------------------
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.