Subject: | |
From: | |
Reply To: | |
Date: | Wed, 15 Jul 2009 10:30:22 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Mark is right. Plus, if you simply put your line inside a finder tell block
it would also work.
tell application "Finder"
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"}
end tell
ES
On 07/15/09 10:15 AM, "Mark Lively" wrote:
> On Jul 15, 2009, at 12:06 PM, RJay Hansen wrote:
>
>> 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.
>
> -Mark
> Who is ready to go on vacation.
|
|
|