Re: Is it possible to script - Preferences, keyboard shortcuts?
Re: Is it possible to script - Preferences, keyboard shortcuts?
- Subject: Re: Is it possible to script - Preferences, keyboard shortcuts?
- From: Philip Aker <email@hidden>
- Date: Sun, 21 Sep 2008 18:50:27 -0700
On Sep 21, 2008, at 6:20 PM, Brian Krisler wrote:
Is it possible to add a keyboard shortcut to the "Keyboard
Shortcuts" section of Preferences? I am assuming no, since I can
not find any references online.
You can use the 'defaults' tool in Terminal or via 'do shell script'
to change the NSUserKeyEquivalents property list key of the global
preferences. Make sure System Preferences is not running (and possibly
the Finder and any other app that might be affected by the new key
assignment). The following sets Command-J as the keyboard combination
for a "Show View Options" menu item (even in contextual menus).
defaults write -g NSUserKeyEquivalents -dict-add 'Show View Options'
'@j';
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden