PDA

View Full Version : Customizing Key Bindings


tvm
2006-06-15, 08:44 AM
Hello all,

Had a question about setting keys in omniweb for going to the beginning/end of pages via Apple + Up/Down Arrow keys (as opposed to Home/End keys).

I noticed that there are no menu items corresponding to these actions, which means that they can't be customized through the System preferences.

Creating custom default keybindings as mentioned on Jacob Rus' Page on the Cocoa Text System (http://hcs.harvard.edu/~jrus/Site/Cocoa%20Text%20System.html) has no effect either.

Editing the .nib files didn't produce anything useful; setting actions moveToBeginningOfDocument: and moveToEndOfDocument: and connecting menu items (with the appropriate keyboard shortcuts) doesn't work. The menu items remain greyed out after restarting OmniWeb with the new .nib files saved. (I set these actions in the FirstResponder of OmniWeb.nib and in the OWBrowserWindow class of WebBrowser.nib)

So, my question is, would it be correct to say that OmniWeb uses a custom keybinding system that isn't user configurable, or am I looking in all the wrong places?


Thanks much,
Chris

Len Case
2006-06-15, 01:55 PM
I haven't researched the particular items in question, but my bet is that WebKit is handling the keyboard commands--since webkit is open source, you can see how they are handled for yourself...