MACSCRPT Archives

August 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Shane Stanley <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Sat, 18 Aug 2007 21:12:27 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On 17/8/07 8:54 AM, "Levon Spradlin" <[log in to unmask]> wrote:

>     set FileSample to choose file with prompt "Select multiple files with
> the Command (Apple) key." with multiple selections allowed without
> invisibles

This returns an alias.
> 
>     set folderName to name of (info for FileSample) --only necessary if
> needed for myList
>     
>     tell application "Finder" to set theFiles to files of folder FileSample
[...]

So here you're saying "folder alias ...". Try cutting out the word
"folder"in this case.


-- 
Shane Stanley <[log in to unmask]>
<http://scriptingmatters.com/aspro>

ATOM RSS1 RSS2