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:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 7 May 2003 10:46:58 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
On Wednesday, May 7, 2003, at 10:25  AM, Steve Roy wrote:

> [log in to unmask] (Mark Lively) wrote:
>
>> Well this needs to be done sooner than that.  I think i sussed the
>> Carbon calls to get the flags where it is stored and the bits I need
>> to
>> twiddle. (bits 1,2,3) of fdFlags which is part of the fdInfo record...
>
> You're right Mark that the information is indeed stored. It's just
> that the OS X
> Finder doesn't show it. This can be verified with ResEdit in Classic
> mode. You
> can get the info of a file and set its label.
>
> As to being able to access this from AppleScript, you'd have to write
> an osax to
> do it. That's probably not too hard to do, seeing that the GetLabel
> call is
> included in Carbon. However the Finder still won't show it.
>
Fortunately this is studio and half of it is in cocoa anyway and I have
already thrown in a carbon call.

I don't really need finder to show it.  I just need to set it and get
it so that people who have it mounted see it..

-Mark

ATOM RSS1 RSS2