Stop accidentally hitting the Adaptive keys on the new X1

Discussion in 'Lenovo' started by bennyblanco99, Feb 15, 2014.

Thread Status:
Not open for further replies.
  1. bennyblanco99

    bennyblanco99 Notebook Enthusiast

    Reputations:
    17
    Messages:
    20
    Likes Received:
    4
    Trophy Points:
    6
    Was talking to one of the guys at work today about my new X1 and being very annoyed by the new adaptive touch. I seem to have a knack of "touching" the F11 or F12 keys while typing which was a deal breaker for me on this new X1. He ended up writing me this nice, simple AutoHotKey script that will pause the F-keys by 1 second so as you glide your finger over the adaptive touch panel, nothing happens!

    Also, realized today that the new X1 doesnt have the INS key... like a MAC! Ahhhhhhhhhhhhhh. The first line of the script maps WindowsKey+Del = INS.

    Enjoy.


    #Del::SendInput {Insert}

    $F1::
    KeyWait, F1, T1
    If ErrorLevel = 1
    {
    SendInput {F1}
    }
    return


    $F2::
    KeyWait, F2, T1
    If ErrorLevel = 1
    {
    SendInput {F2}
    }
    return


    $F3::
    KeyWait, F3, T1
    If ErrorLevel = 1
    {
    SendInput {F3}
    }
    return


    $F4::
    KeyWait, F4, T1
    If ErrorLevel = 1
    {
    SendInput {F4}
    }
    return


    $F5::
    KeyWait, F5, T1
    If ErrorLevel = 1
    {
    SendInput {F5}
    }
    return


    $F6::
    KeyWait, F6, T1
    If ErrorLevel = 1
    {
    SendInput {F6}
    }
    return


    $F7::
    KeyWait, F7, T1
    If ErrorLevel = 1
    {
    SendInput {F7}
    }
    return


    $F8::
    KeyWait, F8, T1
    If ErrorLevel = 1
    {
    SendInput {F8}
    }
    return


    $F9::
    KeyWait, F9, T1
    If ErrorLevel = 1
    {
    SendInput {F9}
    }
    return


    $F10::
    KeyWait, F10, T1
    If ErrorLevel = 1
    {
    SendInput {F10}
    }
    return


    $F11::
    KeyWait, F11, T1
    If ErrorLevel = 1
    {
    SendInput {F11}
    }
    return


    $F12::
    KeyWait, F12, T1
    If ErrorLevel = 1
    {
    SendInput {F12}
    }
    return
     
    getdez and Kevske like this.
  2. K-Dub

    K-Dub Newbie

    Reputations:
    0
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    5
    Sorry to be such an idiot, but how do you invoke this script?

    Thanks in advance for dumbing it down for me.
     
  3. bennyblanco99

    bennyblanco99 Notebook Enthusiast

    Reputations:
    17
    Messages:
    20
    Likes Received:
    4
    Trophy Points:
    6
Loading...
Thread Status:
Not open for further replies.

Share This Page