• 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: Set Selection with a list of items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set Selection with a list of items


  • Subject: Re: Set Selection with a list of items
  • From: Nigel Garvey <email@hidden>
  • Date: Mon, 8 Oct 2001 03:02:48 +0100

Allen Watson wrote on Sat, 06 Oct 2001 23:06:47 -0700:

>On Sat, 06 Oct 2001 12:02:55 -0500 Irwin Poche <email@hidden>
>wrote:
>
>> Michelle,
>>
>> With theFolder being "TiBook:System Folder" the
>>
>> select {"Note Pad File","Scrapbook File"} of folder theFolder
>>
>> results in nothing being selected.
>>
>> select {alias "Note Pad File", alias "Scrapbook File"} of folder
>> theFolder
>>
>> results in "File Note Pad File was not found"
>>
>First case: You cannot specify a list of items in a folder like that...

... but you can if you use properly specified Finder items in the list
rather than just strings:

tell application "Finder"
select {file "Note Pad File", file "Scrapbook File"} of folder
theFolder
end tell

NG


  • Follow-Ups:
    • Re: Set Selection with a list of items
      • From: Irwin Poche <email@hidden>
  • Prev by Date: Re: Finding the Position of an item in a list
  • Next by Date: Re: Scripting MSWord
  • Previous by thread: Re: Set Selection with a list of items
  • Next by thread: Re: Set Selection with a list of items
  • Index(es):
    • Date
    • Thread