Re: Are you busy? info for file while copying
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