I came up with a simple way(Simulate input abbreviations) to do this, but Abbreviations are not replaced with actual text
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
e3.replacerx(" - .+")
opt slowkeys; spe 300
key F"{e3}" T
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
e3.replacerx(" - .+")
opt slowkeys; spe 300
key F"{e3}" T