Re: Selecting Multiple Files
Re: Selecting Multiple Files
- Subject: Re: Selecting Multiple Files
- From: Dave Lyons <email@hidden>
- Date: Thu, 3 Nov 2005 15:29:01 -0800
It depends how you select the items. In 9.2, doing Edit > Select
All (Command-A), followed by Option-drag to the desktop, produces:
tell application "Finder"
select every item of container window of folder "untitled folder"
copy selection to desktop
end tell
Michelle's code is exactly what you want, but I don't think this is a
poor script, and it does reveal the "every item of" bit.
Cheers,
--Dave
On Nov 3, 2005, at 3:15 PM, Jeff Grossman wrote:
On 11/3/05 1:46 PM, "Dave Lyons" <email@hidden> wrote:
(Sidenote: It's also fruitful in Mac OS 8 or 9 to click "Record" in
Script Editor, and manually copy the files once in the Finder. This
will write the script for you, though you'll likely want to edit the
result, or just use it for inspiration.)
But, when I did that for the particular script I needed, it would
put each
individual file name in. I needed to know how to select the
contents of the
folder without putting in the actual file names. Michelle's idea
appears to
be exactly what I was looking for.
Jeff
_______________________________________________
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