MACSCRPT Archives

May 2003

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
Mime-Version:
1.0 (Apple Message framework v552)
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Chip Griffin <[log in to unmask]>
Date:
Mon, 26 May 2003 20:35:25 -0400
Content-Transfer-Encoding:
7bit
Content-Type:
text/plain; charset=US-ASCII; format=flowed
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Parts/Attachments:
text/plain (17 lines)
Why does this script:

-- Begin Script
set theItem to {alias "Macintosh HD:Users:chip:Pictures:dog_cats.jpg"}
tell application "Finder"
        set comment of item theItem to "Test Test"
end tell
-- End Script

Yield this error:
        "Finder got this error: A descriptor type mismatch occurred."

I receive the same error if I tried to set a variable to the "comment
of item theItem".

-- Chip

ATOM RSS1 RSS2