Re: Letting the Finder know something changed?
Re: Letting the Finder know something changed?
- Subject: Re: Letting the Finder know something changed?
- From: James Bucanek <email@hidden>
- Date: Sat, 29 Jan 2005 14:04:55 -0700
Shawn Erickson wrote on Saturday, January 29, 2005:
>
>On Jan 29, 2005, at 12:03 PM, James Bucanek wrote:
>
>> My task writes the file using FSWriteFork, and then updates the
>> catalog info with FSSetCatalogInfo. Afterwards, I'd like to notify
>> the Finder that the new file has changed types/permissions/whatever.
>
>So it looks like you are using functions that are considered part of
>Carbon and may not be using Cocoa at all?
I'm using Cocoa (this is an Obj-C program, and it uses a lot of the Foundation classes) -- just not *all* of it. ;)
For reasons too lengthly to go into, I have to use the Carbon API for file I/O.
>> Does anyone know what 'noteFileSystemChanged' does to notify the
>> Finder?
>
>Likely you want to use FNNotify or one of its friends since you appear
>to be Carbon based.
>
><http://developer.apple.com/documentation/Carbon/Reference/
>File_Manager/file_manager/function_group_48.html#//apple_ref/doc/uid/
>TP30000107/F16695>
YES! That's the function I was trying remember. Thanks a million.
>> Should I be on another list?
>
>Likely if you aren't using Cocoa and don't state so in your email it
>would be best to ask someplace else. :-)
>
>Review Apple's listing... <http://lists.apple.com/> in particular if
>using Carbon <http://lists.apple.com/mailman/listinfo/carbon-dev>
I'll think I'll join that list too. ;)
Cheers,
James
--
James Bucanek <mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden