Hi Ronald, Thank you very much and now I am using PyObjC. But it doesn't add the items in Services if my app is installed in /Applications folder. If you have any idea then please let me know. Is it possible to enable these items only for particular folder in finder?
Regards, Rakesh Singhal On Mon, Jul 16, 2012 at 12:45 PM, Ronald Oussoren <ronaldousso...@mac.com>wrote: > > On 13 Jul, 2012, at 18:11, Mark Munz wrote: > > > But the OP *could* create a Workflow OS X Services Item that has a Run > > Shell Script action with a python script. > > Or use PyObjC. > > Ronald > > > > > On Thu, Jul 12, 2012 at 11:16 PM, Eric Schlegel <eri...@apple.com> > wrote: > >> > >> On Jul 12, 2012, at 10:45 PM, Rakesh Singhal <rakesh.sing...@gmail.com> > wrote: > >> > >>> Hi Eric, > >>> > >>> Thanks. I am trying to do it using Services but I couldn't find any > sample code. Can I do it in python? > >> > >> No, you can only write a Service with Objective C. You can read about > implementing a service here: > https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/SysServices/introduction.html > . > >> > >> -eric > >> > >> > >> _______________________________________________ > >> > >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > >> > >> Please do not post admin requests or moderator comments to the list. > >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com > >> > >> Help/Unsubscribe/Update your Subscription: > >> https://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com > >> > >> This email sent to unmar...@gmail.com > > > > > > > > -- > > Mark Munz > > unmarked software > > http://www.unmarked.com/ > > _______________________________________________ > > > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > > > Please do not post admin requests or moderator comments to the list. > > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > > > Help/Unsubscribe/Update your Subscription: > > > https://lists.apple.com/mailman/options/cocoa-dev/ronaldoussoren%40mac.com > > > > This email sent to ronaldousso...@mac.com > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com