create shortcut to a tab

curious
3StarLounger
Posts: 327
Joined: 25 Jan 2010, 17:36

create shortcut to a tab

Post by curious »

Is it possible for the user to do this, or is this something the developer has had to code?

The add-on Close All Tabs would be even better, for me, if this were possible.

Thank you

FF 42.0

User avatar
HansV
Administrator
Posts: 78668
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: create shortcut to a tab

Post by HansV »

What exactly do you mean by "shortcut to a tab"?

"Close all tabs" is the same as Quit (Alt+F4)
Best wishes,
Hans

curious
3StarLounger
Posts: 327
Joined: 25 Jan 2010, 17:36

Re: create shortcut to a tab

Post by curious »

HansV wrote:What exactly do you mean by "shortcut to a tab"?

"Close all tabs" is the same as Quit (Alt+F4)
Alt+F4 closes FF. What I am after is a keyboard shortcut to access the Close All Tab add-on rather than clicking on the toolbar button with mouse.

User avatar
HansV
Administrator
Posts: 78668
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: create shortcut to a tab

Post by HansV »

I found a suggestion that it's possible to use the Key config extension to assign a keyboard shortcut to the command

gBrowser.removeAllTabsBut(TabContextMenu.contextTab);

This command should close all tabs except the active one - see Is there a shortcut key for "close all tabs in the right" and "close other tabs" actions? Thank you. I haven't tested it myself.
Best wishes,
Hans

curious
3StarLounger
Posts: 327
Joined: 25 Jan 2010, 17:36

Re: create shortcut to a tab

Post by curious »

Thank you for your research, Hans. Unfortunately, the suggestions in the posts did not accomplish what I wanted.

User avatar
HansV
Administrator
Posts: 78668
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: create shortcut to a tab

Post by HansV »

I'm afraid I don't know how to accomplish what you want. Perhaps someone else will have a better suggestion.
Best wishes,
Hans

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: create shortcut to a tab

Post by Rudi »

Curious, I must comment that you are very vague with your information. Even the comment in your last post, that reads: "Unfortunately, the suggestions in the posts did not accomplish what I wanted." does not give much to go on! If you want further assistance, give us something more to work with by describing your needs and for what purpose you want it.

To add to the replies Hans gave, perhaps this is something you could use?
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
stuck
Panoramic Lounger
Posts: 8196
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: create shortcut to a tab

Post by stuck »

Perhaps this is what you are after?
https://addons.mozilla.org/en-GB/firefo ... s/?src=api

Ken

User avatar
HansV
Administrator
Posts: 78668
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: create shortcut to a tab

Post by HansV »

My interpretation is that curious already has such an add-on, for example Close All Tabs (Reloaded) or one of the others mentioned in this thread, but that she wants a keyboard shortcut to invoke the add-on.
Best wishes,
Hans

curious
3StarLounger
Posts: 327
Joined: 25 Jan 2010, 17:36

Re: create shortcut to a tab

Post by curious »

Yes, Hans, that is what I had hoped for.

Rudi, neither shortcut re Close Other Tabs Shortcuts worked-meaning nothng happened when those keys were pressed. Thanks, though, for your time.

User avatar
Leif
Administrator
Posts: 7220
Joined: 15 Jan 2010, 22:52
Location: Middle of England

Re: create shortcut to a tab

Post by Leif »

Do either of these get you any closer to what you want?

Close Tab # :: Add-ons for Firefox
"Close any tabs numbered 1-8 with the keyboard shortcut ctrl+shift+{number}."

or
Close other tabs :: Add-ons for Firefox
- Ctrl+Shift+F3 closes all tabs on the left of the active one
- Ctrl+Shift+F4 closes all tabs except the active one
- Ctrl+Shift+F5 closes all tabs on the right of the active one
- Ctrl+Shift+F6 closes all tabs with the same domain as the active one
- Ctrl+Alt+F4 closes all windows except the active one
Leif

curious
3StarLounger
Posts: 327
Joined: 25 Jan 2010, 17:36

Re: create shortcut to a tab

Post by curious »

Thank you, Leif.

I had tried Close Other Tabs a while ago and for some reason the keyboard combinations didn't work for me. I tried FF in Safe Mode, and still not working.

Close Tab # was, for me, too cumbersome. Takes more fingering than clicking on the Close All Tabs button in toolbar.

Again, thank you all for your efforts.

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: create shortcut to a tab

Post by Rudi »

curious wrote:Yes, Hans, that is what I had hoped for.
Mind-blowing...you MUST be Sherlock in disguise; your deductive skills are unsettling, curiously uncanny! Does that not make you worried, Hans?
Last edited by Rudi on 16 Dec 2015, 19:32, edited 1 time in total.
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
HansV
Administrator
Posts: 78668
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: create shortcut to a tab

Post by HansV »

Who are you addressing now, Rudi?
Best wishes,
Hans

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: create shortcut to a tab

Post by Rudi »

Sorry...I thought you'd know outright. :evilgrin:
I edited the post!
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
HansV
Administrator
Posts: 78668
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: create shortcut to a tab

Post by HansV »

I've been trying to understand people's questions for a long time now... :smile:
Best wishes,
Hans