• 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: Apple's Secret Desktop Sauce
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple's Secret Desktop Sauce


  • Subject: Re: Apple's Secret Desktop Sauce
  • From: Joshua Scott Emmons <email@hidden>
  • Date: Sat, 17 Jun 2006 23:48:25 -0500

Is there a way to specify the location of desktop items through Cocoa (whether the item already exists, or will be created through a drag & drop operation)?

It's hard to say without knowing your implementation, but I've noted the following about putting files on the desktop:


If you are writing a file to the desktop non-atomically (that is, writing directly), the file stays where you put it.

If you are writing a file to the desktop atomically, the original (temp) file is where you put it. But then it's moved to overwrite the target file. Finder somehow looses the position it's supposed to have in these cases and it puts it in the first unoccupied "upper-right- ish" position it can find.

Don't know if this helps, but thought I'd point it out.


Cheers, -Joshua Emmons



_______________________________________________
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


References: 
 >Apple's Secret Desktop Sauce (From: dave miller <email@hidden>)
 >Re: Apple's Secret Desktop Sauce (From: Dave Sopchak <email@hidden>)

  • Prev by Date: Re: Strategy for read only Templates with Core Data
  • Next by Date: Re: Detecting Illegitimate OS X Installations?
  • Previous by thread: Re: Apple's Secret Desktop Sauce
  • Next by thread: Re: Apple's Secret Desktop Sauce
  • Index(es):
    • Date
    • Thread