• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Letting the Finder know something changed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Letting the Finder know something changed?


  • Subject: Re: Letting the Finder know something changed?
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 29 Jan 2005 12:35:54 -0800


On Jan 29, 2005, at 12:03 PM, James Bucanek wrote:

Shaun Wexler wrote on Saturday, January 29, 2005:

[[NSWorkspace sharedWorkspace] noteFileSystemChanged];

Thanks you Shaun, Lance, and Prachi.

Unfortunately, my application doesn't have an NSWorkspace object, nor do I have the URL to the file that changed.

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?


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>

Is there a way to find out?

Debugger, etc. ;-)

Is NSWorkspace part of the core foundation that is open source, or is this an Apple proprietary Cocoa thing?

Many aspects of Core Foundation are "proprietary" (if by that you mean closed source) as well and CF is not consider part of Cocoa (or Carbon).


Is this even a Cocoa question?

Apparently not seeing how you don't appear to be using Cocoa... :-)

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>

-Shawn

_______________________________________________
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


  • Follow-Ups:
    • Re: Letting the Finder know something changed?
      • From: James Bucanek <email@hidden>
References: 
 >Re: Letting the Finder know something changed? (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: Expose and local eventloops
  • Next by Date: Re: Letting the Finder know something changed?
  • Previous by thread: Re: Letting the Finder know something changed?
  • Next by thread: Re: Letting the Finder know something changed?
  • Index(es):
    • Date
    • Thread