Re: Loops
Re: Loops
- Subject: Re: Loops
- From: Michelle Steiner <email@hidden>
- Date: Fri, 1 Feb 2008 17:01:50 -0700
On Feb 1, 2008, at 3:48 PM, Luther Fuller 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
Other than illustrating loops, why not this:
tell application "Finder" to move files of somefolder to someotherfolder
-- Michelle
--
History always complicates things.
_______________________________________________
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: | |
| >Re: Loops (From: "J. Stewart" <email@hidden>) |
| >Re: Loops (From: Luther Fuller <email@hidden>) |