• special characters hotkey?

    • This topic has 2 replies, 2 voices, and was last updated 13 years ago.
    Author
    Topic
    #483539

    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.

    Viewing 0 reply threads
    Author
    Replies
    • #1334739

      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

      • #1334745

        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

    Viewing 0 reply threads
    Reply To: special characters hotkey?

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: