YellowJacketRyan wrote:Is there an easy way to get a list of all the command sassociated with the menu options?
Ryan
I'm just getting started with keyconfig, but I've found a few of the scrolling commands I've been looking for in the file res/builtin/platformHTMLBindings.xml:
<handler event="keypress" keycode="VK_PAGE_UP"
command="cmd_movePageUp"/>
<handler event="keypress" keycode="VK_PAGE_DOWN"
command="cmd_movePageDown"/>
<handler event="keypress" keycode="VK_HOME"
command="cmd_scrollTop"/>
<handler event="keypress" keycode="VK_END"
command="cmd_scrollBottom"/>
Which seems to work when thrown into prefs.js in the format:
user_pref("keyconfig.main.xxx_key__Page Down",
"!][][][goDoCommand('cmd_scrollPageDown');");
user_pref("keyconfig.main.xxx_key__Page Up",
"!][][][goDoCommand('cmd_scrollPageUp');");
user_pref("keyconfig.main.xxx_key__Scroll Bottom",
"!][][][goDoCommand('cmd_scrollBottom');");
user_pref("keyconfig.main.xxx_key__Scroll Top",
"!][][][goDoCommand('cmd_scrollTop);");
And then configured using keyconfig (although Cntl-Up Arrow doesn't seem to working for scroll top for some reason).
Hope this might help someone,
--nate