Re: Drag and drop onto the desktop?
Re: Drag and drop onto the desktop?
- Subject: Re: Drag and drop onto the desktop?
- From: Charles Srstka <email@hidden>
- Date: Sat, 8 Dec 2001 16:57:43 -0600
That only works if you can create the file very quickly. The Finder
checks to make sure the tmp file exists as soon as you complete the
drop. If you can create the file instantaneously, it will work. However,
if it takes time to make your file, the Finder will see there's no file
there and give up.
Even if you can make a file quickly, there is the chance that the Finder
will get there first anyway sometimes. So your app will only work a
certain percentage of the time.
I tried this technique once. It doesn't work very well.
On Friday, December 7, 2001, at 03:17 AM, Mark's Studio wrote:
>
I dont know if it been answered.
>
>
I got it to work by writing the the file to the tmp directory and then
>
put the filename on the pboard.
>
>
If you look in the tmp directory after you made a drag from Apple's
>
Address Book you will see all the files in there,
>
so i think that's how they do it.
>
>
Peter Mark
>
>
Mark's Recording Studio A/S
>
Faelledvej 19 b DK2200 N
>
Copenhagen Denmark
>
Tel: +45 35366078 Fax: +45 35366038
>
www.marks-studio.dk
>
email@hidden
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev