Re:Beginner here
Re:Beginner here
- Subject: Re:Beginner here
- From: "Alex Kaczun" <email@hidden>
- Date: Thu, 23 May 2002 08:16:42 -0500
1) I need to copy stuff from a server volume to a local folder (easy
enough
to do), but at a specific time in the middle of the night (completely
devoid
of resources for this, unless I'm totolly stupid). So, basically I need
to
know how to make a script go off at a particular time.
Try this....
Hello Mike Galke,
Use this idle script handler to set off your script at a certain time of
day or night.
Good luck. Keep on scripting.
Alex Kaczun
------
--START (Save this script as an application...)
on idle
set thisTime to (current date) as string
if thisTime contains "12:42:" and thisTime contains "AM" then --change
12:42 to whatever time you want...and AM to PM if desired
--do your stuff here...
end if
return 60 --the script will sleep for 60 seconds and check the
time...etc.
end idle
--END
[demime 0.98b removed an attachment of type text/x-vcard which had a name of akaczun.vcf]
_______________________________________________
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.