Re: Set icon for files and folder

2012-08-21 Thread Rakesh Singhal
i Kusterer wrote: > On Aug 21, 2012, at 1:08 PM, Rakesh Singhal > wrote: > > I have to change icon for file/folder. I can user NSWorkSpace to get icon > > and set icon. The issue is this icon will be set permanently. If I copy > and > > paste file after changing icon t

Set icon for files and folder

2012-08-21 Thread Rakesh Singhal
Hi, I have to change icon for file/folder. I can user NSWorkSpace to get icon and set icon. The issue is this icon will be set permanently. If I copy and paste file after changing icon then this icon also will be copied and pasted. I need to have original icon when I move the file. Is there way to

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

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, Rake

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 Singha

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 ap

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: > &

Write Finder plugin

2012-07-02 Thread Rakesh Singhal
me way to do it. Thanks in advance. Regards, Rakesh Singhal ___ 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/Uns

Re: Porting SetupComm function in Mac

2008-11-03 Thread Rakesh Singhal
2008, at 07:25, Rakesh Singhal wrote: > > This API setups some communication parameters for communication devie. Here >> I am writing library for serial port. There are some more APIs, which I am >> not able to understand liek following: >> >> CreateEvent(0,true,fa

Re: Porting SetupComm function in Mac

2008-11-02 Thread Rakesh Singhal
ng to the Mac isn't simply a process of "this API on the Mac kind of > does what that API does on Windows." > > What exactly is this code trying to do? > > > On Nov 2, 2008, at 9:23 PM, Rakesh Singhal wrote: > > Hi all >> >> I am porting a

Porting SetupComm function in Mac

2008-11-02 Thread Rakesh Singhal
Hi all I am porting a project from Windows (using Win32 APIs) to Mac OS. There is following function, for which I am no finding any equivalent fucntion in Mac. Actually I could not find these parameters in termios structure. BOOL WINAPI SetupComm ( HANLDE hFile, DWORD devInQueue, DWORD devOutQueu

Re: Porting from Windows to Mac

2008-11-01 Thread Rakesh Singhal
app then I would use Cocoa anytime, it all depends on the size and > complexity of the project. > > Andy > > > > On Sat, Nov 1, 2008 at 1:47 PM, Jason Stephenson <[EMAIL PROTECTED]> wrote: > >> Rakesh Singhal wrote: >> >>> I do not know about porting

Re: Porting from Windows to Mac

2008-11-01 Thread Rakesh Singhal
I do not know about porting Windows code (MFC based) to Mac OS. The existing code is written in C++. As suggested that it is possible then how to do it? Do I need to change the existing code (Windows code) very much. I have not used Qt before this. Does Qt support the MFC? Regards On Fri, Oct 31,

Porting from Windows to Mac

2008-10-30 Thread Rakesh Singhal
Hi all I have to port a project form windows to Mac. The existing code is in C++ and classes are inherited from MFC library classes. Do I have any alternative for MFC in MAC OS? I have gone through some posting on Apple lists and I found that there are 2 cross-platform tools Power Plant and Code