tbkeys key binding to focus on folder and thread panes

Discussion of general topics about Mozilla Thunderbird
Post Reply
tibi94
Posts: 2
Joined: July 5th, 2024, 3:30 am

tbkeys key binding to focus on folder and thread panes

Post by tibi94 »

I would like to bind the key "z" to focusing on the folder pane of the message tab, so that I can scroll through the folders with the up/down keys.

Also, I would like to bind "y" to focusing on the thread pane, so that I can scroll through the list of e-mails with the up/down keys.

According to this page

http://kb.mozillazine.org/Keyconfig_ext ... hunderbird

there are commands "SetFocusFolderPane" and "SetFocusThreadPane" to that I only have to bind these commands to keys.

I have installed tbkeys and added

"z": "cmd:cmd_SetFocusFolderPane",
"x": "cmd:cmd_SetFocusThreadPane",

But it does not work.

Also, it seems that calling goDoCommand("cmd_SetFocusFolderPane") or goDoCommand("cmd_SetFocusThreadPane") has no effect.

I have no idea what I am doing wrong. Thanks a lot for any help!
morat
Posts: 6565
Joined: February 3rd, 2009, 6:29 pm

Re: tbkeys key binding to focus on folder and thread panes

Post by morat »

The kb.mozillazine.org page was last edited in September 2013.

Similar thread
http://github.com/wshanks/tbkeys/issues/159

About tbkeys: viewtopic.php?p=14872763#p14872763
tibi94
Posts: 2
Joined: July 5th, 2024, 3:30 am

Re: tbkeys key binding to focus on folder and thread panes

Post by tibi94 »

Thank you very much!

In case others have the same problem, this is how it works in TB 115:

"z": "window.gTabmail.currentAbout3Pane.folderTree.focus();",
"x": "window.gTabmail.currentAbout3Pane.threadTree.table.body.focus();"
Post Reply