Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

artbeat.easy

macrumors newbie
Original poster
Jul 1, 2010
18
0
Hi, i write some screensaver and have problem with close

now i try close screenSaver through sending mouseMove message

like this
Code:
[super mouseMoved:[NSEvent mouseEventWithType:NSMouseMoved
										 location:NSMakePoint(10, 10)
									modifierFlags:NSTouchPhaseMoved
										timestamp:0
									 windowNumber:1
										  context:[NSGraphicsContext graphicsContextWithWindow:[self window]]
									  eventNumber:0 
									   clickCount:1
										 pressure:0.6]];

and my screenSaver ended BUT ! if i click on preference window my screenSaver start again (((
 
Why would you want to do this?

What if the user has a password set? You wouldn't be able to get around that (without severe hacking).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.