Re: Set Selection with a list of items
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