• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is it possible to script - Preferences, keyboard shortcuts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Is it possible to script - Preferences, keyboard shortcuts? (From: Brian Krisler <email@hidden>)

  • Prev by Date: Re: Batch Processing Image files
  • Next by Date: System Events - Selecting a Folder
  • Previous by thread: Is it possible to script - Preferences, keyboard shortcuts?
  • Next by thread: System Events - Selecting a Folder
  • Index(es):
    • Date
    • Thread