Re: Apple's Secret Desktop Sauce
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