Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Dec 2009
    Posts
    10
    Thanks
    3
    Thanked 0 Times in 0 Posts

    special characters hotkey?

    I have a laptop w/out a numeric keypad. I frequently use the degree ° symbol & the cent ¢ symbol. Is there a way to make a HotKey for those 2? Is there an easy way? I've d/l'd AutoHotKey & MS Keyboard Layout Creator 1.4, which doesn't seem to load a US keyboard when I select it. It may not work w/Win7 HP (64) or I'm doing something wrong. AHK doesn't work, despite my following the very complicated directions. I use the symbols mainly in word processing & Thunderbird for emails.

    Thanks.

  2. #2
    3 Star Lounger
    Join Date
    Sep 2001
    Location
    Jakarta, Indonesia
    Posts
    274
    Thanks
    3
    Thanked 9 Times in 9 Posts
    Quote Originally Posted by slf View Post
    I have a laptop w/out a numeric keypad. I frequently use the degree ° symbol & the cent ¢ symbol. Is there a way to make a HotKey for those 2? Is there an easy way? I've d/l'd AutoHotKey & MS Keyboard Layout Creator 1.4, which doesn't seem to load a US keyboard when I select it. It may not work w/Win7 HP (64) or I'm doing something wrong. AHK doesn't work, despite my following the very complicated directions. I use the symbols mainly in word processing & Thunderbird for emails.
    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:

    Code:
    :o:dg::°
    :o:ct::¢
    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

  3. #3
    New Lounger
    Join Date
    Dec 2009
    Posts
    10
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by wartaaids View Post
    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:

    Code:
    :o:dg::°
    :o:ct::¢
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •