• 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: Are you busy? info for file while copying
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are you busy? info for file while copying


  • Subject: Re: Are you busy? info for file while copying
  • From: George Bray <email@hidden>
  • Date: Wed, 24 Aug 2005 12:55:51 +1000





thanks Gary, Matt.

I've filed a bug report 4229461, and implemented a workaround to determine when a file as finished copying.

George


-- -- finishedCopying - wait until file stops copying -- on finishedCopying(theFile)

    set sizeOne to 0
    set sizeTwo to 1

    repeat until sizeOne = sizeTwo
        tell application "Finder"
            set sizeOne to (size of (info for theFile))
            do shell script "sleep 3"
            set sizeTwo to (size of (info for theFile))
        end tell
    end repeat

end finishedCopying
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Are you busy? info for file while copying
      • From: Christopher Nebel <email@hidden>
References: 
 >Are you busy? info for file while copying (From: George Bray <email@hidden>)

  • Prev by Date: Re: Are you busy? info for file while copying
  • Next by Date: Retrieve email attachments
  • Previous by thread: Re: Are you busy? info for file while copying
  • Next by thread: Re: Are you busy? info for file while copying
  • Index(es):
    • Date
    • Thread