But the OP *could* create a Workflow OS X Services Item that has a Run Shell Script action with a python script.
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/archive%40mail-archive.com This email sent to arch...@mail-archive.com