Setting ApplePressAndHoldEnabled key for specific application.
Setting ApplePressAndHoldEnabled key for specific application.
- Subject: Setting ApplePressAndHoldEnabled key for specific application.
- From: Vaibhao Mahore <email@hidden>
- Date: Mon, 02 Jan 2012 04:44:38 +0000
- Thread-topic: Setting ApplePressAndHoldEnabled key for specific application.
Hello All,
I have been facing issue in disabling newly added feature "Press and Hold for Certain keys" on Lion for a my application. It is OS behavior has been implemented for cases in which the user presses and holds down certain keys while editing text. Instead of repeating the key, this new behavior provides a mechanism for entering alternative (usually accented) forms. So this feature can be turned off or turned on by setting key ApplePressAndHoldEnabled to NO or YES(According to Developer release notes: http://developer.apple.com/library/mac/#releasenotes/Cocoa/AppKit.html) . I would like to set it NO for my application i.e. just wanted to disable this feature.(as my application allows text Editing) . I have been searching for ways to do. I have found following ways.
1. defaults write -g ApplePressAndHoldEnabled -bool false .But this disables feature for entire system.
2. I have tried with setting defaults for my application with ApplePressAndHoldEnabled being NO. I can even read defaults for my application using
defaults read < my application bundle-identifier >
Still I am unable to see "Press and Hold for Certain keys" feature disable for my application.
It's being mentioned in the Developer release notes that we can disable this feature for a specific application. So, can anybody provide any pointer or suggestions.
Thanks in advance .
Regards,
Vaibhao Mahore
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden