• 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: Writing a draglet in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Writing a draglet in Cocoa (From: Tommy Nordgren <email@hidden>)
 >Re: Writing a draglet in Cocoa (From: Mark Lively <email@hidden>)

  • Prev by Date: Re: [solved] Another NSXMLParser question (multiple delegates)
  • Next by Date: Re: Submit background task [Solved]
  • Previous by thread: Re: Writing a draglet in Cocoa
  • Next by thread: Editing core data attributes via code
  • Index(es):
    • Date
    • Thread