Mime-Version: |
1.0 |
Sender: |
|
Subject: |
|
From: |
|
Date: |
Wed, 15 Jul 2009 14:56:40 -0400 |
In-Reply-To: |
|
Content-Type: |
text/plain; charset="us-ascii" ; format="flowed" |
Reply-To: |
|
Parts/Attachments: |
|
|
> >> set myList to {document file "12266_Aviator.psG01.TIF" of folder
>>> "12266_Aviator" of folder "Hold for V30" of disk "prepress" of
>>> application
>>> "Finder", document file "12266_Aviator.psG00.TIF" of folder
>>> "12266_Aviator" of folder "Hold for V30" of disk "prepress" of
>>> application
>>> "Finder"}
>>
>> This is a list of finder objects. Which makes sense inside of a
>> Finder tell block.
>>
>> if you had said
>>
>> tell application "Finder"
>> set fileList to every file of tiffFolder as alias list
>> end tell
>>
>> you would have received.
>>
>> {alias "prepress:Hold for V30:12266_Aviator:12266_Aviator.psG01.TIF",
>> alias"prepress:Hold for V30:12266_Aviator:12266_Aviator.psG01.TIF"}
>>
>> which compiles.
>
>I see. As I guessed, I was missing something obvious.
>
>Thanks,
>
>RJay
Also, my original example did not call the Finder at all. I used the
list folder and choose from list functions of Standard Additions.
List folder gives a simple list of filenames. (After choosing from
the list you need a line or two to add the folder path back in before
you try to do something with the file. But you also need that with
the above.)
--
Bill Steele
[log in to unmask]
|
|
|