Search results

  1. retrotron

    Call Cocoa method from within HTML content in WebView?

    How exactly would I go about doing that?
  2. retrotron

    Call Cocoa method from within HTML content in WebView?

    Is there any way to invoke a Cocoa method from some HTML content in a WebView? Suppose I have an anchor/link in an HTML page inside a WebView. When the user clicks that link, is there any way for that anchor/link to invoke a Cocoa method (e.g. tell the WebView to update the HTML content and...
  3. retrotron

    WebKit: load HTML content as string?

    Hmmm...so normally the browser chooses the page's current URL as the base URL to complete relative URLs, but in this case there is no current URL since the HTML content is loaded not from a URL but a string, so here you provide the base URL. Is that how this is working? <edit>Yep, I just...
  4. retrotron

    WebKit: load HTML content as string?

    Just to clarify my response above. Yes, the method loadHTMLString:baseURL: works to load HTML code and have it rendered in the WebView. My cryptic comment above meant to say that I assumed from the doc that the String in question was the filename of the page (with baseURL setting the base...
  5. retrotron

    FilesToMacroExpand not working?

    I've never been able to get this work. I create a custom project template in xcode (or back with PB), and then I edit the TemplateInfo.plist file. In the 'FilesToMacroExpand' node, I include the names of the files which should be preprocessed and have their «MACRO» stuff expanded into the...
  6. retrotron

    WebKit: load HTML content as string?

    Heh heh, yeah, I checked the doc and thought it said the loadHTMLString method takes the String as the URL (easier than using an NSURL object).
  7. retrotron

    NSTextView: two column presentation

    I'd like to present some text in two columns in a TextView. Something like: ----------------------------------------- Text here | Text here Text here | Text here Text here | Text here ----------------------------------------- Can anybody give me a...
  8. retrotron

    Changing the bgcolor of a Javascript window?

    Check this out: http://tutorials.flashvacuum.com/article.php?article=15
  9. retrotron

    /bin/bash: bad interpreter: Permission denied

    Shoot, I didn't get notified of this response, I just saw it. I didn't try that, but I reinstalled OS 10 from scratch and all my permission problems (MySQL, PHP sessions, and shell scripts) are working now. But what is the disk utility permission fix?
  10. retrotron

    WebKit: load HTML content as string?

    Is there any way to pass some HTML content as a stream to a WebKit view to be rendered? Something like this: [[webView mainFrame] initWithHTML: @"<html>Hello world!</html>"];
  11. retrotron

    /bin/bash: bad interpreter: Permission denied

    I'm going crazy. Every since I upgraded to 10.3.9, i get weird permission errors getting in the way of everything. First MySQL suddenly won't start up, giving me odd 'permission denied' errors. Then PHP sessions won't start up. And now a simple bash script won't run. From this script --...
  12. retrotron

    PHP and MySQL problems as of 10.3.9

    After I upgraded to 10.3.9, I suddenly have problems with PHP and MySQL. Any of my PHP scripts using sessions display this error: Warning: session_start(): open(/tmp/sess_f9967256b0a89b27d9405048fa1f846a, O_RDWR) failed: Permission denied (13) in...
  13. retrotron

    Burning DVD always gives me an error

    Weird that it works for you but not for me. Ugh. Anyways, I tried it with an Apple DVD-R (2x) and it worked, so I guess I'm back in business. Thanks for the help all.
  14. retrotron

    Gmail POP/IMAP client/Gmail in Mail.app

    I installed that 'gmail-for-mail' program from the bdegan site, but now want to uninstall it. Can anybody tell me how to do this?
  15. retrotron

    Burning DVD always gives me an error

    Okay, good to know. I'll try some better media. The discs are Datawrite Red (v3) general purpose 4x DVD-R. So I guess if something else works, stay away from the Datawrite flavor.
  16. retrotron

    Burning DVD always gives me an error

    I've tried burning all sorts of things onto a DVD-R (images, data, .VOB files, whatever) and each time it burns for a long while then says 'An error occurred while burning the disc. This disc cannot be used.' Anybody know what I'm doing wrong? For burning images, I'm using Disk...
  17. retrotron

    Suddenly Hotmail won't work with Mail.app

    Ah, it seems that MS's changes caused an error in the httpmail plugin, but the latest version of httpmail has fixed that. Yeah, I definitely prefer my gmail account and any other account at all over my hotmail account.
  18. retrotron

    Suddenly Hotmail won't work with Mail.app

    Sometime last week Mail.app stopped being able to connect to my hotmail account. It's worked fine for the last year, and I haven't changed anything with Mail.app, but suddenly hotmail just stopped working. I have no idea what might be the cause. Anybody know if microsoft changed something and if...
Back
Top