• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re:Beginner here
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Getting the configuration method of an active interface
  • Next by Date: Re: Classic running?
  • Previous by thread: Re: Beginner here
  • Next by thread: Re: Beginner here
  • Index(es):
    • Date
    • Thread