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

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
References: 
 >Re: Selecting Multiple Files (From: Jeff Grossman <email@hidden>)

  • Prev by Date: Re: Selecting Multiple Files
  • Next by Date: Fw: Resolving Photoshop naming multi-pg PDF's when opening
  • Previous by thread: Re: Selecting Multiple Files
  • Next by thread: Re: Selecting Multiple Files
  • Index(es):
    • Date
    • Thread