• 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: Best way to tell if a file copy has finished.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to tell if a file copy has finished.


  • Subject: Re: Best way to tell if a file copy has finished.
  • From: Jeff Porten <email@hidden>
  • Date: Wed, 17 Aug 2005 00:25:55 -0400

On Aug 16, 2005, at 2:02 PM, Christopher Nebel wrote:


That would work *if* you were the one that originated the copy operation, but that isn't the case here -- the file is effectively being pushed at you from across the network.


Ah, I missed that part. Whoops.

I wonder if there's some cleverness that can be accomplished here with the new Spotlight I/O hooks? I note that the newly responsive Finder in 10.4 will usually report a copied file at zero K when it starts, then immediately updates the file size upon completion. That implies an event of some kind to the Finder, which might be trappable?

Granted, if this were my project, I'd probably spend five minutes fiddling with the clever route and then just go write a byte-size polling solution.

Best,
Jeff

_______________________________________________
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


References: 
 >Best way to tell if a file copy has finished. (From: email@hidden)
 >Re: Best way to tell if a file copy has finished. (From: Jeff Porten <email@hidden>)
 >Re: Best way to tell if a file copy has finished. (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Print/Save PDF As Postscript (Applescript-users Digest, Vol 2, Issue 535)
  • Next by Date: Re: GUI Scripting - Print/Save PDF As Postscript
  • Previous by thread: Re: Best way to tell if a file copy has finished.
  • Next by thread: Extracting class of items from list
  • Index(es):
    • Date
    • Thread