FROM : Torsten Curdt
DATE : Sun Feb 03 22:34:17 2008
On 03.02.2008, at 22:01, PGM wrote:
>> I would like a Cocoa application to accept files on startup. As an
>> example - you can drop images onto the photoshop icon which will
>> start the application and open the images. As this is not really
>> drag-and-drop in the sense of what you find via Google, it would
>> be great to get some pointers here.
>>
>
> It's actually quite simple, if your app can open the file, the app
> will start up and open it when you drop it on your icon. Did you
> actually try?
Of course :)
I've used the default XCode templates (document and non-document
based). Now when I try to drag something onto that application - I
just can't. Do I maybe just need to enable that application for the
particular file type? An what happens if the app is not document based?
As a little test project I would like to receive the file and just
save it to /tmp.
cheers
--
Torsten
DATE : Sun Feb 03 22:34:17 2008
On 03.02.2008, at 22:01, PGM wrote:
>> I would like a Cocoa application to accept files on startup. As an
>> example - you can drop images onto the photoshop icon which will
>> start the application and open the images. As this is not really
>> drag-and-drop in the sense of what you find via Google, it would
>> be great to get some pointers here.
>>
>
> It's actually quite simple, if your app can open the file, the app
> will start up and open it when you drop it on your icon. Did you
> actually try?
Of course :)
I've used the default XCode templates (document and non-document
based). Now when I try to drag something onto that application - I
just can't. Do I maybe just need to enable that application for the
particular file type? An what happens if the app is not document based?
As a little test project I would like to receive the file and just
save it to /tmp.
cheers
--
Torsten
| Related mails | Author | Date |
|---|---|---|
| Torsten Curdt | Feb 3, 21:51 | |
| PGM | Feb 3, 22:01 | |
| Torsten Curdt | Feb 3, 22:34 | |
| PGM | Feb 3, 23:25 | |
| Quincey Morris | Feb 3, 23:47 | |
| Torsten Curdt | Feb 4, 00:50 | |
| Adhamh Findlay | Feb 4, 00:55 | |
| Davide Scheriani | Feb 5, 16:14 | |
| Torsten Curdt | Feb 5, 16:26 | |
| Andrew Merenbach | Feb 5, 18:12 | |
| Davide Scheriani | Feb 6, 10:53 | |
| Kyle Sluder | Feb 6, 11:50 | |
| Kyle Sluder | Feb 6, 14:45 |






Cocoa mail archive

