Re: Only works once?
Re: Only works once?
- Subject: Re: Only works once?
- From: Shane Stanley <email@hidden>
- Date: Sat, 07 Jan 2012 13:27:27 +1100
On 07/01/2012, at 12:51 PM, John C. Welch wrote:
> So it looks like it's setting up mypath correctly on all runs, but on all but the first run, the NSURLRequest's requestWithURL is failing.
Looks to me like the problem is with the WebView -- mainFrame() shouldn't be returning <null>.
But you're doing more work than you need by essentially loading it each time anyway. Why not just load it the first time it's called, and from then on just show it? Something like making helpWindowIndex a property set to missing value, and then in your handler check its value, and if it's not missing value, just makeKeyAndOrderFront_.
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
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