MACSCRPT Archives

May 2003

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:
Chip Griffin <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 26 May 2003 20:35:25 -0400
Content-Type:
text/plain
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