Re: WebKit+AppleScript+JavaScript

2008-04-17 Thread Praveen Kumar
SWorkspace openURLs:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers :]; Le 17 avr. 08 à 09:24, Praveen Kumar a écrit : NSWorkspace launch the application but loads the url in the default browser. What i have to do to make the url open in the my application (webkit +cocoa). Please give me the suggestions. On 16-Apr-0

Re: WebKit+AppleScript+JavaScript

2008-04-17 Thread Praveen Kumar
launching the app, you can also use the "open" command which honours the one instance per-app rule properly. However, I agree that NSWorkspace is the best thing to use in most cases. Mike. On 16 Apr 2008, at 15:43, Jens Alfke wrote: On 16 Apr '08, at 5:16 AM, Praveen Kumar wrot

WebKit+AppleScript+JavaScript

2008-04-16 Thread Praveen Kumar
I tend to use NSTask to launch the application, but it won't use the active application instead it opens another one and do the stuff. Please let me know if you have any suggestions. Thanks in advance, M Praveen Kumar. ___ Cocoa-d