MACSCRPT Archives

July 2009

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:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 15 Jul 2009 13:15:46 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
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.

ATOM RSS1 RSS2