Re: Grabbing the current URL of a webview
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