I am beginner with autohotkey.
I wanted make script which checks if I write ":)" and then it replaces with this "" (emoji in web.whatsapp)
I dont know if it's possible to do using GetKeyState because in my keyboard I need Shift+dot for ":" and Shift+9 for ")".
I am sorry about my bad english. Hope you understand. :)
Thank you.
Code that works (thank Forivin)
:::)::
clipSave := ClipboardAll
Clipboard := "" ;
Send, ^v
Clipboard := clipSave
Return
:::D::
clipSave := ClipboardAll
Clipboard := "" ;
Send, ^v
Clipboard := clipSave
Return