login about faq


I wold like that when I press f5 the page refreshes, and that when I press like any other key, Safari to do something I like, How can I do that??

asked Jun 06 '10 at 12:11

Juancho757's gravatar image

Juancho757
121337


Custom shortcuts

To set up your own keyboard shortcuts for your bookmarks, quit Safari, open Terminal and type: defaults write com.apple.Safari NSUserKeyEquivalents '{"bookmarkName"="keyCombo";}' where keyCombo is one or more of the following:

@ Command $ Shift ~ Option ^ Control followed by the desired key. For example, to set up a bookmark called "Foobar" with the shortcut Cmd-Option- C, you would type:

defaults write com.apple.Safari NSUserKeyEquivalents '{"Foobar"="@~c";}' If there is more than one shortcut you want to set up, just duplicate the code within the braces. This example would assign Cmd-Option-D to MacDevCenter and Cmd-Shift-M to Macworld:

defaults write com.apple.Safari NSUserKeyEquivalents '{"MacDevCenter"="@~d";"Macworld"="@$m";}' But keep in mind that the MacDevCenter and Macworld bookmarks would also need to exist and point to their respective sites; this line simply sets up the shortcuts, not the bookmarks themselves.

answered Jun 13 '10 at 16:38

nepdude101's gravatar image

nepdude101
(suspended)

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported


Join Us in the Chat Room

Tags:

×1,970
×191
×103
×6
×1

Asked: Jun 06 '10 at 12:11

Seen: 482 times

Last updated: Jun 13 '10 at 16:38