AutoHotkey Community

It is currently May 26th, 2012, 9:43 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: September 27th, 2008, 6:31 pm 
I'm using a US keyboard which of course doesn't have å,æ, and ø keys.

How would I get autohotkey to remap say F10, F11 and F12 respectively to each of these letters?

Advice greatly appreciated.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 27th, 2008, 9:48 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Code:
F10::å
F11::æ
F12::ø

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 28th, 2008, 5:29 pm 
Offline

Joined: August 14th, 2006, 11:54 am
Posts: 163
Location: CPH
You could also consider remapping like this:

Code:
[::å
'::ø
$`;::æ


:P


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 28th, 2008, 5:41 pm 
Offline

Joined: August 14th, 2006, 11:54 am
Posts: 163
Location: CPH
Or something like this:

Code:
:R*?:jjp::ø


meaning you type jjp and get ø

:)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 28th, 2008, 8:27 pm 
Offline

Joined: April 19th, 2005, 10:26 am
Posts: 2249
Location: switzerland
thank you all
an other example, send to text
Code:
;run,charmap
;return

e::
transform,S,chr,230
sendinput,%S%
return

a::
transform,S,chr,229
sendinput,%S%
return

o::
transform,S,chr,248
sendinput,%S%
return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2008, 4:20 pm 
Thanks guys that's really great!

Is there a way I would be able to set the key up so that I could do a Capital letter by pressing SHIFT and the corresponding remapped key?

So if I had å mapped to F1 I could just press SHIFT+F1 and get Å?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2008, 4:28 pm 
Code:
+F10::å


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2008, 5:09 pm 
Offline

Joined: July 22nd, 2008, 1:49 pm
Posts: 151
lw, i think you meant:

Code:
+F10::Å


"+" represents shifts.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 1st, 2008, 8:49 pm 
Offline

Joined: October 29th, 2006, 4:09 am
Posts: 39
Location: A2 MI
Here's what i do for the additional letters of the german alphabet (and a few other random chars):

Code:
:c?*:uuU::Ü
:c?*:ooO::Ö
:c?*:aaA::Ä
:c?*:sS::ß
:c?*:oO::ö
:c?*:aA::ä
:c?*:uU::ü
:c?*:eE::é
:c?*:_-::–
:?*:*?*::º¿º
:?*:+or-::±
:c?*:~G::•G
:c?*:~E::•E
:c?*:~R::•R


So you could easily do:

Code:
:c?*:aaA::Å
:c?*:aA::å
:c?*:aaE::Æ
:c?*:aE::æ
:c?*:ooO::Ø
:c?*:oO::ø


When you actually need to type that sequence of regular letters, just do o O and delete the space. (It's not efficient, but it's an uncommon occurence)

Note also that the hotstring for ooO has to come before oO.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 1st, 2008, 10:01 pm 
Here is a nice script (one of many) that conveniently handles accent characters: AX : Full application for accents.

Browse the Scripts & Functions section of the Forum, or use the seach links mentioned below, it's worth it, you are not the first... :)

HTH
________________________________________________________
New here? Please, before you post...
1. Read the tutorial and try the examples. -> 2. Take a look at the command list to get an idea of what you could do. -> 3. Create your script. Consult the documentation and the FAQ if you get stuck. -> 4. Search the forum if you need help or examples, method 1 (forum), method 2 (site), method 3 (Google). -> 5. Post your code on the forum in the "Ask for Help" section if you still run into problems (but read this first). -> 6. There is more AHK on autohotkey.net and the Wiki and there is an AHK IRC chat.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot], iBob35555VR, krajan, tomoe_uehara and 64 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group