Mime-Version: |
1.0 (Apple Message framework v552) |
Content-Type: |
text/plain; charset=US-ASCII; format=flowed |
Date: |
Wed, 7 May 2003 10:46:58 -0400 |
Reply-To: |
|
Subject: |
|
From: |
|
In-Reply-To: |
<r01050400-1026-D16A8E1A809711D7B38C00039347B912@[192.168.1.101]> |
Content-Transfer-Encoding: |
7bit |
Sender: |
|
Parts/Attachments: |
|
|
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
|
|
|