Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lock down in application



Keywords: Exposé  Kiosk Mode
On 11-Apr-05, at 6:46 AM, manikandan thangavelu wrote:

Hi All,
 
I am trying to develop a java swing application in which the user should be locked down inside the application.

I'm not familiar with the term 'locked down' but it sounds like you want to limit what the user can do with the keyboard and mouse etc ...


Technical Note TN2062
Guide to Creating Kiosks on Mac OS X
http://developer.apple.com/technotes/tn2002/tn2062.html

The function-key behaviour is part of Expose:
http://www.apple.com/macosx/features/expose/

Searching for Exposé in ADC yields nothing (the accented 'e' may be a problem). Exposé keyboard shortcuts can be controlled via System Preferences, e.g. F9 key can be disabled.

Question is: How can the Exposé be controlled programatically? Exposé can be accessed via Applescript:
http://www.macosxhints.com/article.php?story=20040104160708152




I used the SetSystemUIMode API(I have used disable options disableprocessswitch,disableforcequit,disableapplemenu and UIModeAllHidden). It worked fine. But there are certain function keys ex:F11 which moves my application window up leaving the desktop accesible and F9 which resizes my application window and shows other window by distributing them in the desktop.I am using Mac OS X Panther 10.3.7.How can i block such short keys?How about the behaviour of these keys in Mac OS X 10.2?

Exposé is a 10.3 (Panther) feature so it will not be present in earlier versions.


Rob

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >lock down in application (From: manikandan thangavelu <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.