|
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?? |
|
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. |
