• 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: Moving large PDF files with Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Moving large PDF files with Applescript (From: "Mielke, Gary R (CGC)" <email@hidden>)

  • Prev by Date: Re: Moving large PDF files with Applescript
  • Next by Date: Re: Moving large PDF files with Applescript
  • Previous by thread: Re: Moving large PDF files with Applescript
  • Next by thread: Copy files into /private/var/ with Applescript
  • Index(es):
    • Date
    • Thread