How Do I Activate a Specific Tab Within a Browser That Already Has Several Tabs Open?

You can't do this via Keyboard Maestro native actions – at least not without quite a lot of fuss – so AppleScript is the way to go.

All you have to do with this macro is enter the name of the tab you want to raise in the indicated variable.

  • I'm only going for the first available match.
    • Handling multiple matches costs extra... :sunglasses:

Download: Bring a Named Tab to the Front v1.00.kmmacros (8.1 KB)

Macro-Image

Keyboard Maestro Export

Macro-Notes
  • Macros are always disabled when imported into the Keyboard Maestro Editor.
    • The user must ensure the macro is enabled.
    • The user must also ensure the macro's parent macro-group is enabled.

System Information
  • macOS 10.14.6
  • Keyboard Maestro v10.2

2 Likes