• 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: Loops
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loops


  • Subject: Re: Loops
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 1 Feb 2008 16:48:00 -0600

On Feb 1, 2008, at 4:03 PM, J. Stewart wrote:
When you move files by counting down they don't get reordered.

A good explanation and solution, but why index the files at all? If you are moving ALL the files in a folder, you can do this ...

tell application "Finder"
	repeat until (count files of somefolder) = 0
		move (some file of somefolder) to someotherfolder
	end repeat
end tell

_______________________________________________
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
  • Follow-Ups:
    • Re: Loops
      • From: "J. Stewart" <email@hidden>
    • Re: Loops
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Loops (From: "J. Stewart" <email@hidden>)

  • Prev by Date: Speaking of loops
  • Next by Date: Re: Loops
  • Previous by thread: Re: Loops
  • Next by thread: Re: Loops
  • Index(es):
    • Date
    • Thread