Usage of ! in a hotkey send command

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
KVan

Usage of ! in a hotkey send command

13 Dec 2017, 15:40

^t::
Send, Wonderful !
Return

I cannot seem to find a way to include the exclamation point (Wonderful !) as it will always simply send Wonderful
Osprey
Posts: 453
Joined: 18 Nov 2017, 05:50

Re: Usage of ! in a hotkey send command

13 Dec 2017, 16:47

Enclose the exclamation mark in braces:

Code: Select all

^t::Send, Wonderful {!}
That's how you can send all other non-alphanumeric keys, as well, like Enter {Enter}, Shift {Shift}, F1 {F1} and so on.
KVan

Re: Usage of ! in a hotkey send command

13 Dec 2017, 17:14

Thank you for your help.
I could not find this information in the manual or help area.
User avatar
boiler
Posts: 16954
Joined: 21 Dec 2014, 02:44

Re: Usage of ! in a hotkey send command

13 Dec 2017, 19:21

It’s the first thing in the documentation for the Send command.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: jaka1, mikeyww and 182 guests