mouse gestures for new / close tab

Discussion, questions and support.
Post Reply
CapitalChap
Posts: 7
Joined: Jan 13th, ’25, 13:08

Post by CapitalChap » Jan 13th, ’25, 13:54

Hi,

I tried to add a "close tab" and "open new tab" browser gesture, but it does not work.

It is probably a stupid question, but what do I need to "send" exactly?
^t
I have at the moment, but it is wrong obviously.
CapitalChap
Posts: 7
Joined: Jan 13th, ’25, 13:08

Post by CapitalChap » Jan 13th, ’25, 15:23

The key strokes I try to mimic are

CTRL + W (close tab)
and
CTRL + T (new tab)

Many thanks for any help.
User avatar
Marko
Posts: 1842
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Jan 13th, ’25, 16:13

For this to work you need to enable the option to enable modifiers (special characters) in Preferences/Text Expander.

Alternatively you can use
{Ctrl Down}t{Ctrl Up}
CapitalChap
Posts: 7
Joined: Jan 13th, ’25, 13:08

Post by CapitalChap » Jan 13th, ’25, 16:33

Marvelous. That worked wonders! :!:

Thanks so much for reacting so quickly.
CapitalChap
Posts: 7
Joined: Jan 13th, ’25, 13:08

Post by CapitalChap » Jan 14th, ’25, 13:11

Quick other question. Is there a way to force the tool the send the command to the tab the mouse is hovering over currently?

It happens all the time that I close a tab only to find out that I actually closed another tab on another monitor.
User avatar
Marko
Posts: 1842
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Jan 20th, ’25, 22:56

If your mouse is hovering over the tab, first send a mouse click {Click} to open it and then continue with other commands.
CapitalChap
Posts: 7
Joined: Jan 13th, ’25, 13:08

Post by CapitalChap » Jan 21st, ’25, 07:29

Oh wow.
In hindsight, this looks embarrassingly simple. :D

Thank you so much.
CapitalChap
Posts: 7
Joined: Jan 13th, ’25, 13:08

Post by CapitalChap » Feb 5th, ’25, 12:59

I'm still having a quirk with this though.

For closing a tab I now use.

{Click}
{Ctrl Down}w{Ctrl Up}

But in Google Drive this leads to a line break being added, then the autosave feature kicks in blocking the closure of the tab. I have no idea though why a line break should be done because of the mouseclick and/or the CTRL+W.
User avatar
Marko
Posts: 1842
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Feb 5th, ’25, 13:43

Code: Select all

{Click}{Ctrl Down}w{Ctrl Up}
or Type: Command

Code: Select all

Send, {Click}
Send, {Ctrl Down}w{Ctrl Up}
CapitalChap
Posts: 7
Joined: Jan 13th, ’25, 13:08

Post by CapitalChap » Feb 5th, ’25, 14:39

Cool. Works way better now. Thanks again!
Post Reply