<br/>
Using the numeric Unicode finally worked.<br/>
<CODEBOX codebox="autohotkey" file="Untitled.ahk"><s>
Code: Select all
</s><i>
</i>^#e::
; ;; Control Window e yields an EM DASH: —
SendInput, {U+2014}
Return
^#g::
; ;; Control Window g yields — (Crap instead of an EM DASH)
SendInput, —
Return
<e>
So why won't the em-dash itself insert like any other bunch of text?<br/>
<br/>
Windows 1909, 64-bit, x86<br/>
AutoHotKey 1.1.32.00</r>
[Mod edit: Provisional topic name added.]