• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Grabbing the current URL of a webview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grabbing the current URL of a webview


  • Subject: Re: Grabbing the current URL of a webview
  • From: Evan Schoffstall <email@hidden>
  • Date: Wed, 03 Aug 2011 16:52:01 -0400

Incredibly odd behavior with the jump to 10.7…

tell class "NSURLRequest" of current application to mywebView's mainFrame's loadRequest_(myurlobj)


returns "can't get mainFrame of missing value"


log mywebView() returns "unrecognized function mywebView."


log mywebView returns "null"


er what? 10.6 source worked and not touched. 10.7 gives me the crazy above things.

Switching to 10.6 SDK running 10.7 Lion throws me 23 framework errors..

What?

-- 
Evan Schoffstall
Sent with Sparrow

On Friday, July 1, 2011 at 9:02 PM, Evan Schoffstall wrote:

Oddly enough you were right.

Where

log mywebView()'s mainFrame()'s dataSource()'s request()


returns "<NSMutableURLRequest http://www.google.com/>"

log mywebView()'s mainFrame()'s dataSource()'s request()'s |URL|()'s absoluteString()


returns "http://www.google.com/>" 


Thank you!

-- 
Evan Schoffstall
Sent with Sparrow

On Friday, July 1, 2011 at 8:45 PM, Shane Stanley wrote:



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Grabbing the current URL of a webview
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Programmaticly creating buttons
  • Next by Date: Doubling issue
  • Previous by thread: Re: Programmaticly creating buttons
  • Next by thread: Re: Grabbing the current URL of a webview
  • Index(es):
    • Date
    • Thread