Re: Writing a draglet in Cocoa
Re: Writing a draglet in Cocoa
- Subject: Re: Writing a draglet in Cocoa
- From: Tommy Nordgren <email@hidden>
- Date: Tue, 21 Jun 2005 15:49:53 +0200
Jun 20, 2005 kl. 10:17 PM skrev Mark Lively:
On Jun 20, 2005, at 4:03 PM, Tommy Nordgren wrote:
I wonder how to write a Draglet in Cocoa ( an application to which
you can drag and drop files to have them batch processed in some way.
All the texts on Cocoa Programming that I've read are about
writing apps that display their GUI by default.
Proably the best way is to make an Automator action.
Definitely not at current - there is a bug in automator causing
objects in workflows saved as Programs to be dropped before actions
that depends on them.
If you want to go the cocoa route take out the call to
NSApplication in main.c and you will have no GUI. Not much else
either.
Remember though you have to instantiate your own autorelease pool.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40chello.se
This email sent to email@hidden
_______________________________________________
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