OK, I will use apple events for this.
Thanks
Hirendra
From: Jens Alfke [mailto:j...@mooseyard.com]
Sent: Friday, July 08, 2011 9:28 PM
To: Hirendra Rathor
Cc: cocoa-dev@lists.apple.com
Subject: Re: Can we get command line arguments in applicationShouldHandleReopen?
On Jul 8, 2011, at 7:13 AM
I have written an .app which is launched many times until the running instance
shuts down finally. The code
to start it looks like this:
NSTask* task = [[NSTask alloc] init];
[task setLaunchPath: @/usr/bin/open];
NSString* app = [NSString stringWithFormat:@%s, launchApp]; //
Your problem looks to me like a common use case for the policy hurting
functionality. File a bug at bugreport.apple.com and ask that it be changed.
[Hirendra] Thanks for taking time to explain. As suggested, I filed a bug (ID:
9735505) at bugreport.apple.com
(devforums.apple.com does not
it a try sometime soon.
- Hirendra
-Original Message-
From: Jens Alfke [mailto:j...@mooseyard.com]
Sent: Wednesday, July 06, 2011 9:21 PM
To: Hirendra Rathor
Cc: cocoa-dev@lists.apple.com
Subject: Re: Delay in reading cookie using NSHttpCookieStorage
I don't think the cookie storage
I have written a Cocoa application that uses NSHttpCookieStorage class to read
cookie set in the Safari browser. I see that if the time gap between setting
the cookie by Safari and the application querying for the cookie is couple of
seconds, then the cookie returned by NSHttpCookieStorage is