Re: How to avoid user interaction in WebView

2015-01-30 Thread Juanjo Conti
For the record, I'm capturing: NSEventMask.RightMouseDownMask | NSEventMask.RightMouseUpMask | NSEventMask.LeftMouseDownMask | NSEventMask.LeftMouseUpMask | NSEventMask.MouseMovedMask | NSEventMask.KeyDownMask | NSEventMask.KeyUpMask | NSEventMask.ScrollWheelMask An to exit I'm returning: NSEven

Re: How to avoid user interaction in WebView

2015-01-30 Thread Juanjo Conti
Thanks! this approach is hopeful! Now I just need to figure out which NSEvent return for all the captured events, so the screensaver close properly. I'll let you know my advances. Thanks again, On Fri, Jan 30, 2015 at 2:03 PM, Kyle Sluder wrote: > On Jan 30, 2015, at 7:47 AM, Juanjo Conti > wr

Re: How to avoid user interaction in WebView

2015-01-30 Thread Kyle Sluder
On Jan 30, 2015, at 7:47 AM, Juanjo Conti wrote: > > Hi! This is my first email in this list. I'm working with Cocoa (using > Swift) on a Mac Os X screensaver. > > I'd like to use a WebView to show different web pages but I don't want the > user to be able to interact with the page. This is: no