Re: How to launch window of the application on clicking of dock icon?

2008-12-10 Thread Ömer Kardaş
You can also use -windowShouldClose event and simply hide your application instead of closing the window. Clicking on the dockicon will simply show it. - (BOOL)windowShouldClose:(id)window { [[NSApplication sharedApplication] hide:self]; return NO; } On Dec 10, 2008, at 7:49

Re: How can I access full source of a WebView

2008-10-07 Thread Ömer Kardaş
opened the webarhives as TEXT (using subethaedit). The CSS code was PRESENT in BOTH of the WebArchive files. Somehow Safari can not see the one produced by the above code. Any other suggestions? On Oct 8, 2008, at 2:13 AM, Rob Keniger wrote: On 08/10/2008, at 8:45 AM, Ömer Kardaş wrote: This

How can I access full source of a WebView

2008-10-07 Thread Ömer Kardaş
Hi I am trying to send the contents of a webwiew with email. I have found several ways to do that, but there are minor problems. // get the attributes string of the webview id res = (id )[[[myWebView mainFrame] frameView] documentView]; NSAttributedString *p = [res attribute