Tab Character in Gmail

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
RefBob
Posts: 4
Joined: 01 Dec 2021, 11:33

Tab Character in Gmail

Post by RefBob » 01 Dec 2021, 13:13

I'm new to AutoHotKey.

I'm trying to insert a tab character (space) in gmail. It can be done using ASCII 009 but it has to be with the embedded number pad on a laptop keyboard and my computer doesn't have that feature.

Is there a way to insert ASCII 009 into gmail in such a way that it produces a tab? I've searched the forums and played around with a script but can't get it to work.

Thanks,

Bob

RussF
Posts: 1242
Joined: 05 Aug 2021, 06:36

Re: Tab Character in Gmail

Post by RussF » 01 Dec 2021, 13:36

Code: Select all

Send {Tab}
Russ

RefBob
Posts: 4
Joined: 01 Dec 2021, 11:33

Re: Tab Character in Gmail

Post by RefBob » 01 Dec 2021, 15:16

Unfortunately, that doesn't work, it basically does the same as if you hit Tab when in gmail; it highlights the Send button.

I need to insert the ASCII character so it actually forces gmail to add a "tab" to the email. The idea is to be able to easily make a sort of table in gmail.


mikhail22
Posts: 19
Joined: 14 Jan 2018, 11:50

Re: Tab Character in Gmail

Post by mikhail22 » 01 Dec 2021, 22:17

I don't think Gmail allows inserting a Tab character at all, regardless of the input method, e.g. Gmail message composer just suppresses tab chars or converts to spaces in plain text mode.

User avatar
mikeyww
Posts: 26601
Joined: 09 Sep 2014, 18:38

Re: Tab Character in Gmail

Post by mikeyww » 01 Dec 2021, 22:19

You are mistaken and perhaps did not try the solution already posted.

mikhail22
Posts: 19
Joined: 14 Jan 2018, 11:50

Re: Tab Character in Gmail

Post by mikhail22 » 01 Dec 2021, 22:30

mikeyww wrote:
01 Dec 2021, 22:19
You are mistaken and perhaps did not try the solution already posted.
I did, it does nothing.
Also sending text including tab chars results in text excluding tabs, so it filters out the tabs from the stream and clipboard as well.

User avatar
rommmcek
Posts: 1470
Joined: 15 Aug 2014, 15:18

Re: Tab Character in Gmail

Post by rommmcek » 02 Dec 2021, 02:51

For me pasting works (programmatically as well as manually). Send, ^v

User avatar
mikeyww
Posts: 26601
Joined: 09 Sep 2014, 18:38

Re: Tab Character in Gmail

Post by mikeyww » 02 Dec 2021, 06:17

mikhail22: when you run the script and press F3 in a Gmail composition, nothing happens? Which browser?

mikhail22
Posts: 19
Joined: 14 Jan 2018, 11:50

Re: Tab Character in Gmail

Post by mikhail22 » 02 Dec 2021, 14:02

mikeyww wrote:
02 Dec 2021, 06:17
mikhail22: when you run the script and press F3 in a Gmail composition, nothing happens? Which browser?
Firefox. Yep, nothing happens if I press it in the body of the message, but everywhere else it works, so it is the message composer only issue. If I choose "plain text mode" in the composer, it inserts 4 spaces instead of tab.

User avatar
mikeyww
Posts: 26601
Joined: 09 Sep 2014, 18:38

Re: Tab Character in Gmail

Post by mikeyww » 02 Dec 2021, 15:52

Fair enough. Firefox is different.

Post Reply

Return to “Ask for Help (v1)”