MACSCRPT Archives

August 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Mime-version:
1.0
Date:
Sat, 18 Aug 2007 21:12:27 +1000
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Content-type:
text/plain; charset="US-ASCII"
Subject:
From:
Shane Stanley <[log in to unmask]>
In-Reply-To:
Content-transfer-encoding:
7bit
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