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 <[email protected]> wrote:
>> 
>> On Jul 12, 2012, at 10:45 PM, Rakesh Singhal <[email protected]> 
>> 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 ([email protected])
>> 
>> 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 [email protected]
> 
> 
> 
> -- 
> Mark Munz
> unmarked software
> http://www.unmarked.com/
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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 [email protected]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to