Re: Programmatically locking user screen

2009-01-07 Thread Jens Bauer
Hi Jean-Daniel, Thanks, good comment. Googling for it resultet me in finding... "The recommended replacement for this function is CGEventSourceSetLocalEventsFilterDuringSuppressionState." (Which is for 10.4 and later). I haven't tried it out yet, though. Love, Jens On Jan 7, 2009, at 16:0

Re: Programmatically locking user screen

2009-01-07 Thread Jean-Daniel Dupas
Le 7 janv. 09 à 14:46, Jens Bauer a écrit : Hi Ashish, To save you from going down a path you may have to return from: I've used CoreGraphics fullscreen mode, however that's probably not a good approach for you, because if the user is pressing cmd+opt +escape, then the application just quit

Re: Programmatically locking user screen

2009-01-07 Thread Jens Bauer
Hi Ashish, To save you from going down a path you may have to return from: I've used CoreGraphics fullscreen mode, however that's probably not a good approach for you, because if the user is pressing cmd+opt+escape, then the application just quits. -So try avoiding that one. =) Try Jim's so

RE: Programmatically locking user screen [Solved]

2009-01-07 Thread Ashish Tiwari
, January 07, 2009 9:25 AM To: Ashish Tiwari Cc: cocoa-dev@lists.apple.com Subject: Re: Programmatically locking user screen You might want to look at TN2062, "Guide to Creating Kiosks on Mac OS X" ( http://developer.apple.com/technotes/tn2002/tn2062.html ) for more information on accomplis

Re: Programmatically locking user screen

2009-01-06 Thread Kyle Sluder
You might want to look at TN2062, "Guide to Creating Kiosks on Mac OS X" ( http://developer.apple.com/technotes/tn2002/tn2062.html ) for more information on accomplishing goals related to your product. Jim Dusseau has directly addressed your question, but the technote might be helpful for further

Re: Programmatically locking user screen

2009-01-06 Thread Jim Dusseau
What I've done in the past is to cover all screens with a floating borderless window. On Jan 6, 2009, at 12:24 AM, Ashish Tiwari wrote: Hi All, How can I lock user screen (using cocoa+objC) that just a quote appears at screen and user can not use their machine until my software unlocks

Programmatically locking user screen

2009-01-06 Thread Ashish Tiwari
Hi All, How can I lock user screen (using cocoa+objC) that just a quote appears at screen and user can not use their machine until my software unlocks the screen. You might find it rude but that is required as we are developing a training room software and the trainer should we able to lock al