• 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: Newbie question:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question:


  • Subject: Re: Newbie question:
  • From: Emmanuel <email@hidden>
  • Date: Wed, 11 Feb 2004 23:45:19 +0100

At 1:37 PM -0700 2/11/04, Martha Espinosa wrote:
>Hi,
>
>I created an applescript that does a "backup" of the users documents to an external drive. At the end of my script I rename the folder to backup_02_11_04.
>
>My problem is that I have users that have about 8 gigs of data or more and my script times out and copies everything but doesn't rename my folder.

You've got to use the "with timeout ..." clause so that the script won't time out and will terminate properly.

------------------------
with timeout of (7 * 24 * 3600) seconds -- time out in one week
Perform_Cool_Backup_And_Do_Take_Your_Time()
end timeout
------------------------

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.

References: 
 >Newbie question: (From: Martha Espinosa <email@hidden>)

  • Prev by Date: Re: Close all windows
  • Next by Date: Colonic irrigation (OS X)
  • Previous by thread: Re: Newbie question:
  • Next by thread: Release compound path in Illustrator
  • Index(es):
    • Date
    • Thread