• You are not logged in.

    AutoHotKey + dead keys = why not?

    • Started by endaka
    • 4 Replies:
    • Reputation: 0
    • From: London
    • Registered: 02-Feb-2007
    • Posts: 24

    Hello,
    I'm a very recent switcher and I discovered that there is no way I can get the nice people from IT to install Colemak on my work computer. I haven't got administrative privileges on it so I'm stuck with AutoHotKey as my only solution and I do miss the dead keys and other international symbols. I had a very brief look at AutoHotKey docs and it does not look impossible to me; am I right or has anyone (erm... Shai!) tried? Or has this not been the case because of a presumed lack of interest? I don't really have the time to do it myself sadly (I'm an investment banker... no time for anything esp. now that I can't even type any more).
    On an unrelated note: I saw a post here calling for Shai to give us an option to donate using something else that PayPal. I can only concur, fees for PP are revoltingly high and there are cheaper alternatives around. I just want to make sure my money goes to Shai and not to PP shareholders...

    Offline
    • 0
    • Shai
    • Administrator
    • Reputation: 36
    • Registered: 11-Dec-2005
    • Posts: 423

    You could try using the "United States-International" keyboard layout in conjunction with the AutoHotKey script in order to have the dead keys.

    There are no PayPal fees if you already have money in your PayPal account, and you don't need to fund the payment with a credit/debit card. In the future I'll add an option to donate with Moneybookers.

    Offline
    • 0
    • Reputation: 0
    • From: London
    • Registered: 02-Feb-2007
    • Posts: 24

    Hum... thanks for the tip, I tried it and I do get dead keys with US-International, except they're not really the right ones, and not the same ones than those on my Mac at home..... Are there any other solutions at all?
    Cheers
    a

    Offline
    • 0
    • Reputation: 0
    • From: London
    • Registered: 02-Feb-2007
    • Posts: 24

    I've been experimenting with AutoHotKey recently (for about 20 minutes) and managed to produce a (slightly messy) script that does a couple of international characters and some dead keys, with the added bonus (?) of letting you know when you've typed a dead key, a bit like Macs do. It works for me as it covers French but of course it's very incomplete; it would be really great if someone with a bit more time on their hands could take that further and produce something more complete, esp. now that the Colemak Portable initiative (!) has picked up (on the other forum).
    BTW is there a way to attach files on this forum? Copying and pasting doesn't very efficient :).
    Cheers,
    a

    #SingleInstance
    #InstallKeybdHook
    
    ^!g::
    >!g::
    Send `:
    Input, Char, L1
    Send {Backspace}
    if Char = a
    {
        Send ä
        return
    }
    if Char = e
    {
        Send ë
        return
    }
    if Char = i
    {
        Send ï
        return
    }
    if Char = o
    {
        Send ö
        return
    }
    if Char = u
    {
        Send ü
        return
    }
    Send %Char%
    return
    
    ^!r::
    ^!s::
    >!s::
    >!r::
    Send ``
    Input, Char, L1
    Send {Backspace}
    if Char = a
    {
        Send à
        return
    }
    if Char = e
    {
        Send è
        return
    }
    if Char = u
    {
        Send ù
        return
    }
    Send %Char%
    return
    
    ^!x::
    >!x::
    Send .
    Input, Char, L1
    Send {Backspace}
    if Char = a
    {
        Send â
        return
    }
    if Char = e
    {
        Send ê
        return
    }
    if Char = i
    {
        Send î
        return
    }
    if Char = o
    {
        Send ô
        return
    }
    if Char = u
    {
        Send û
        return
    }
    Send %Char%
    return 
    
    e::f
    r::p
    t::g
    y::j
    u::l
    i::u
    o::y
    p::`;
    
    s::r
    d::s
    f::t
    g::d
    h::h
    j::n
    ^!k::é
    >!k::é
    k::e
    l::i
    `;::o
    
    n::k
    
    Capslock::Backspace
    
    ^!4::£
    >!4::£
    ^!5::€
    >!5::€
    ^!c::ç
    >!c::ç
    Offline
    • 0
    • Reputation: 0
    • From: Hungary, Budapest
    • Registered: 21-Oct-2007
    • Posts: 23

    Try my Portable Keybard Layout program!
    https://forum.colemak.com/viewtopic.php?id=345

    Portable Keyboard Layout with Colemak support
    http://pkl.sourceforge.net/

    Offline
    • 0