 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Maddened_citizen Guest
|
Posted: Fri Jan 29, 2010 10:14 pm Post subject: Extensive remap |
|
|
Hi. Before I get into this, yes, I know it's probably a frequent problem but having spent hours I don't have trying to read the site and search for a relevent topic on the forum (three-key combinations, etc.) I find myself forced to ask your forgiveness for acting like an ill-mannered noob.
Basically, I want to keep my English keyboard layout, but also to have simple shortcuts for german characters (umlauts and eszet) and old english characters. I successfully and simply managed to remap my numpad (which I never used before) for the Old English characters, but the german is eluding me.
What I would like, is to remap either the unused ScrollLock or the Pause key into another function button, so that scrolllock & u creates U+00FC, scrollock & s creates U+00DF, etc., and scrolllock & shift & u creates the uppercase version. Etc.
I've nearly given up on achieving this, and have tried several varieties of code. I'd even settle for the string u then colon ( producing U+00FC, but I can't figure out what to write in the script to double as :, and it's less than ideal anyway.
Can somebody please just give me a model script for upper and lower case u, for instance, that I can copy and paste and apply to the other vowels and the S, for the three and two key combinations noted above? It must be very simple; unfortunately, so am I.
I'm sorry again for not following correct protocol. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 8255 Location: Maywood, IL
|
Posted: Fri Jan 29, 2010 10:26 pm Post subject: |
|
|
first of all, welcome to the forum.
second, please note that the standard release of AHK does not support unicode by default. There is an unicode version in the scripts section, but I have not used it, so can't tell you much about it.
third, you don't need unicode for chars like ö
you may use a hotstring (slightly different than a hotkey) to make a quick umlaut script. I in fact used this exact script for all the ös in this reply
the :*: means this is a hotkey with the * modifier, which allows it to by typed in the middle of a word
the next is the string to type
the :: indicates the end of the input string, and the start of the output string
ö is of course the output string.
That's all you need. type : followed by o to get ö _________________
(Common Answers) |
|
| Back to top |
|
 |
Maddened_citizen Guest
|
Posted: Fri Jan 29, 2010 11:11 pm Post subject: |
|
|
| Thank you so much! Fixed right away. |
|
| Back to top |
|
 |
Maddened_citizen Guest
|
Posted: Fri Jan 29, 2010 11:17 pm Post subject: |
|
|
Ah. Spoke too soon. It does not, in fact, äll:ow me to use it ïn the m:iddle of words. Only at the beginnings. Except the ß. Any suggesti:onß as to why?
(characters added for dramatic and demonstrative effect)
Here's what I now have:
:*: ::ö
:*::O::Ö
:*::a::ä
:*::A::Ä
:*::e::ë
:*::E::Ë
:*::i::ï
:*::I::Ï
:*::u::ü
:*::U::Ü
:*::s::ß |
|
| Back to top |
|
 |
Maddened_citizen Guest
|
Posted: Fri Jan 29, 2010 11:26 pm Post subject: |
|
|
Ah; ok. It turns out I also had to add a '?', to look like:
:*?: ::ö
My bad. |
|
| Back to top |
|
 |
camerb
Joined: 19 Mar 2009 Posts: 547 Location: Texas, USA
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|