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: Sat, 31 Dec 2011 07:02:54 -0800
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 which can disable this feature:****
**1. ***defaults write –g ApplePressAndHoldEnabled –bool
false.*But, this approach disables this 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*
_______________________________________________
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