Re: Changing keyboard settings in code?
Re: Changing keyboard settings in code?
- Subject: Re: Changing keyboard settings in code?
- From: "Kyle Sluder" <email@hidden>
- Date: Wed, 23 Jan 2008 11:10:06 -0500
On Jan 23, 2008 10:02 AM, Daniel Kennett <email@hidden> wrote:
> Short of using UI scripting, does anyone have any idea on how I could
> accomplish such a thing? Opening the preference pane's .nib in IB
> hasn't got me anywhere!
$ defaults read > foo
# Change the system preferences setting
$ defaults read > bar
$ diff foo bar
56a57
> "com.apple.keyboard.fnState" = 1;
$ defaults find com.apple.keyboard.fnState
Found 1 keys in domain 'Apple Global Domain': {
"com.apple.keyboard.fnState" = 1;
}
So there you have it. Change the global domain default for
com.apple.keyboard.fnState.
--Kyle Sluder
_______________________________________________
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