• 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: Copying folders, and files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copying folders, and files


  • Subject: Re: Copying folders, and files
  • From: Martin Michel <email@hidden>
  • Date: Mon, 11 Feb 2002 23:34:15 +0100

Because your script takes quite a time for copying you must add an "with timeout"-handler, like this:


My script looks something like:

tell the application "Finder"

with timeout of 6000 seconds

activate
select disk "disk 1"
copy selection to folder "backup" of disk "backup disk"

end timeout

end tell


This will protect your script from being timed out.

Greetings,

Martin
_______________________________________________
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: 
 >Copying folders, and files (From: "AppleScript" <email@hidden>)

  • Prev by Date: Re: open for access error
  • Next by Date: Re: how many emails in Mail
  • Previous by thread: Copying folders, and files
  • Next by thread: Re: script object property contamination [reckon I've sussed it
  • Index(es):
    • Date
    • Thread