
Originally Posted by
wartaaids
To use AutoHotKey, you'll need a script that you either load at startup (easiest) or load together with the programs you wish to use it with.
In the script, you'll need the following lines:
You can of course change the trigger string ('dg' for 'degree', 'ct' for 'cent') to whatever suits you. But be aware that this will replace this string every time you type it. so choose one that is unusual.
I inserted the degree and cent symbols into the script by copying from Character Map. I suspect it may be possible to use character codes, but a quick skim of the Help doesn't show this.
Let me know if this is unclear...
Chris
Thanks for the reply. I went back to AutoHotKey & re-entered the script, saved it & this time it worked! So, I must have missed something the other 4 times I tried it. I tested it here¢°°°°°¢¢¢¢ & in Thunderbird.
I don't understand this part: "But be aware that this will replace this string every time you type it. so choose one that is unusual." I type Alt+o & get °, how/why is it being replaced? This is my actual file:
!o::
{
SendInput {°}
}
return
!c::
{
SendInput {¢}
}
return
Thanks again!
Stacey