My ultimate goal is to setup a shortcut of some kind (probably keyboard shortcut) that will type a particular special character: è. I have to type a variety of special characters like this and would like to set something up where I can do a simple keyboard combo rather then consulting a list of Alt Codes every time.
My first thought was to create a script the bind it's execution to a keyboard shortcut. I tried writing a PowerShell script using SendKeys but I wasn't able to find a way to get SendKeys to send Alt Codes or anything not already on my American keyboard. I can also use SendKeys in Batch, but had the same problem. Running this on the CmdLine comes close, but just prints the numbers (likely because it doesn't differentiate between number keys and the numpad keys):
powershell -c "$wshell = New-Object -ComObject wscript.shell; $wshell.SendKeys('%(0232)')
I was thinking there would be a straight forward way to do this but maybe not. Are there methods in other languages that I haven't found? Alternatives to SendKeys? Open to most anything.