Re: Can I script to add a keyboard shortcut in System Prefs?
Re: Can I script to add a keyboard shortcut in System Prefs?
- Subject: Re: Can I script to add a keyboard shortcut in System Prefs?
- From: Oakman <email@hidden>
- Date: Mon, 16 Mar 2015 20:19:55 -0400
Have you considered editing the info.plist to build-in your shortcut into your service before you make your pkg?
It's under the NSSerivces key:
<key>NSKeyEquivalent</key> <dict> <key>default</key> <string>e</string> <== shortcut opt+cmd+E </dict>Oakman
On Mar 12, 2015, at 5:01PM, Bill Vlahos wrote:How can I use AppleScript to set a keyboard shortcut to a Service?
I can do it manually in the Keyboard System Preference Shortcuts tab by selecting the shortcut then an “add shortcut” button appears.
Using PackageMaker I am able to install the service but I’d also like to automatically set a keyboard shortcut for it after it is installed.
|
_______________________________________________
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