Re: Write Finder plugin

2012-07-30 Thread Rakesh Singhal
Hi Kyle, Thank you very much. It worked. Regards, Rakesh Singhal On Thu, Jul 26, 2012 at 7:47 PM, Kyle Sluder wrote: > On Jul 26, 2012, at 3:56 AM, Rakesh Singhal > wrote: > > > It worked. Pbs was indexing the old build. > > > > On 10.7, I am not getting the file path instead of that I get so

Re: Write Finder plugin

2012-07-30 Thread Mike Abdullah
On 26 Jul 2012, at 15:17, Kyle Sluder wrote: > On Jul 26, 2012, at 3:56 AM, Rakesh Singhal wrote: > >> It worked. Pbs was indexing the old build. >> >> On 10.7, I am not getting the file path instead of that I get something >> like "file:///.file/id=6571367.3388989". In 10.6, I am getting full

Re: Write Finder plugin

2012-07-26 Thread Kyle Sluder
On Jul 26, 2012, at 3:56 AM, Rakesh Singhal wrote: > It worked. Pbs was indexing the old build. > > On 10.7, I am not getting the file path instead of that I get something > like "file:///.file/id=6571367.3388989". In 10.6, I am getting full path. > Is there something, I am missing? That's a fi

Re: Write Finder plugin

2012-07-26 Thread Rakesh Singhal
It worked. Pbs was indexing the old build. On 10.7, I am not getting the file path instead of that I get something like "file:///.file/id=6571367.3388989". In 10.6, I am getting full path. Is there something, I am missing? Regards, Rakesh Singhal On Thu, Jul 26, 2012 at 2:36 PM, Rakesh Singhal w

Re: Write Finder plugin

2012-07-26 Thread Rakesh Singhal
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 M

Re: Write Finder plugin

2012-07-16 Thread Ronald Oussoren
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 wrote: >> >> On Jul 12, 2012, at 10:45 PM, Rakesh Singha

Re: Write Finder plugin

2012-07-13 Thread Mark Munz
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 wrote: > > On Jul 12, 2012, at 10:45 PM, Rakesh Singhal wrote: > >> Hi Eric, >> >> Thanks. I am trying to do it using Services but I co

Re: Write Finder plugin

2012-07-13 Thread Uli Kusterer
On 13.07.2012, at 08:43, Nathan Day wrote: > You can do this with Services if you are willing to have it in the services > menu of the contextual menu, the user has to enable your service by going to > System Preferences > Keyboard > Keyboard Shortcuts, you may be able to > AppleScript that. If

Re: Write Finder plugin

2012-07-12 Thread Nathan Day
You can do this with Services if you are willing to have it in the services menu of the contextual menu, the user has to enable your service by going to System Preferences > Keyboard > Keyboard Shortcuts, you may be able to AppleScript that. If you are just writing scripts for you own use that y

Re: Write Finder plugin

2012-07-12 Thread Eric Schlegel
On Jul 12, 2012, at 10:45 PM, Rakesh Singhal 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.

Re: Write Finder plugin

2012-07-12 Thread Rakesh Singhal
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? Regards, Rakesh Singhal On Tue, Jul 3, 2012 at 12:09 AM, Eric Schlegel wrote: > > On Jul 2, 2012, at 9:53 AM, Rakesh Singhal > wrote: > > > There are applications (eg. dropbox) wh

Re: Write Finder plugin

2012-07-03 Thread Rakesh Singhal
Hi All, Thanks to all of you for your response. I will use Services. I hope, I would get some sample code with proper documentation to implement this. Please let me know if it is possible to do in python. Regards, Rakesh Singhal On Tue, Jul 3, 2012 at 2:33 AM, John C. Randolph wrote: > > On Ju

Re: Write Finder plugin

2012-07-02 Thread Conrad Shultz
AFAIK Dropbox accomplishes this using private APIs and reverse-engineered hacks. I'd love to hear if there's an official method, but if there isn't you won't be able to take this up further on this mailing list. (Sent from my iPhone.) -- Conrad Shultz On Jul 2, 2012, at 9:53, Rakesh Singhal

Re: Write Finder plugin

2012-07-02 Thread Eric Schlegel
On Jul 2, 2012, at 9:53 AM, Rakesh Singhal wrote: > There are applications (eg. dropbox) which are able to create items in > finder's contextual menu, not service. There should be some way to do it. There is no supported way to do this. Dropbox uses various hacks to make its way into the Finde

Re: Write Finder plugin

2012-07-02 Thread Kyle Sluder
On Mon, Jul 2, 2012, at 10:23 PM, Rakesh Singhal wrote: > I already posted this is darwin-dev list and was told to post here. This > topic was discussed already but I am not very cleared that how to go > ahead > to implement a Finder plugin for Mac OS 10.6/10.7. I want to add items in > Finder's Co

Re: Write Finder plugin

2012-07-02 Thread Charles Srstka
On Jul 2, 2012, at 11:53 AM, Rakesh Singhal wrote: > Hi All, > > I already posted this is darwin-dev list and was told to post here. This > topic was discussed already but I am not very cleared that how to go ahead > to implement a Finder plugin for Mac OS 10.6/10.7. I want to add items in > Find

Write Finder plugin

2012-07-02 Thread Rakesh Singhal
Hi All, I already posted this is darwin-dev list and was told to post here. This topic was discussed already but I am not very cleared that how to go ahead to implement a Finder plugin for Mac OS 10.6/10.7. I want to add items in Finder's Contextual menu. These menu items should be displayed only