Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Targeting clicks on links within a webview to the default browser



Another aspect of the application I'm working on is a webview that displays links from an RSS feed. I really don't want to load the resulting page into the little webview I have setup, I'd like to retarget any clicks in the webview to be launched in the default browser. Is this possible?

I've tried this:

set myBrowser to a reference to application "Safari"
set delegate to call method "setDownloadDelegate:" of class "WebView" with parameter myBrowser

But that doesn't work, and it's not necessarily the default browser either.

I also tried the "External" focus ring option, but I think that's used for some other purpose.

Any pointers are greatly appreciated!

Thank You,
Troy
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.