Re: Moving large PDF files with Applescript
Re: Moving large PDF files with Applescript
- Subject: Re: Moving large PDF files with Applescript
- From: Yvan KOENIG <email@hidden>
- Date: Tue, 31 Mar 2009 16:45:57 +0200
I would try with:
on idle
set lisFiles to list folder strSource without invisibles
if (count lisFiles) > 0 then --there are files
repeat with i from 1 to count lisFiles
set thisPath to (strSource & (item i of lisFiles)) as string
tell application "Finder"
try
set theSize to physical size of file thisPath
repeat with i in {strDest1}
set moved to move file thisPath to folder (i as string)
repeat
if physical size of moved is theSize then exit repeat
end repeat
end repeat
on error err
end try
end tell
end repeat
else --nothing there? Check back in...
return intWait
end if
end idle
Yvan KOENIG (from FRANCE mardi 31 mars 2009 16:45:06)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden