How do I activate/toggle a browser tab by name? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
PepeLapiu
Posts: 324
Joined: 19 Jun 2020, 14:06

How do I activate/toggle a browser tab by name?

Post by PepeLapiu » 04 Jun 2023, 12:17

Hey, in a browser (specifically Firefox) how can I activate or switch to a specific tab by name? Or even better, if I could activate a certain tab with specific keywords in tab title?

Thanx guys.

User avatar
boiler
Posts: 16913
Joined: 21 Dec 2014, 02:44

Re: How do I activate/toggle a browser tab by name?  Topic is solved

Post by boiler » 04 Jun 2023, 12:41

Send Ctrl+Tab to cycle through the tabs and check the title of the browser window until it contains the text that indicates that the tab of interest has been selected.

PepeLapiu
Posts: 324
Joined: 19 Jun 2020, 14:06

Re: How do I activate/toggle a browser tab by name?

Post by PepeLapiu » 04 Jun 2023, 13:17

boiler wrote: 00460 user_id=60507][/spoiler2]
Send Ctrl+Tab to cycle through the tabs and check the title of the browser window until it contains the text that indicates that the tab of interest has been selected.
PERFECT!
Wonderful, thank you!!

PepeLapiu
Posts: 324
Joined: 19 Jun 2020, 14:06

Re: How do I activate/toggle a browser tab by name?

Post by PepeLapiu » 04 Jun 2023, 15:54

boiler wrote:
04 Jun 2023, 12:41
Send Ctrl+Tab to cycle through the tabs and check the title of the browser window until it contains the text that indicates that the tab of interest has been selected.
One tiny problem..... Ctrl is just ^ but how do I send Tab ?

User avatar
boiler
Posts: 16913
Joined: 21 Dec 2014, 02:44

Re: How do I activate/toggle a browser tab by name?

Post by boiler » 04 Jun 2023, 17:18

Code: Select all

Send, ^{Tab}

It's all in the Send documentation under Key names.

Post Reply

Return to “Ask for Help (v1)”