AHK - LWin for build menu

Discussion in 'General Discussion' started by Phantom 3, Aug 13, 2020.

  1. Phantom 3

    Phantom 3 Lieutenant

    Joined:
    Jul 16, 2020
    Messages:
    18
    Likes Received:
    28
    So until we can rebind the mousewheel in all modes I've added the below to my AHK scripts. This allow holding down the LWin and use the wheel to rotate blocks. Also no more having to constantly hit the n-key to access something on the build menu - just hold LWin click and let go.

    Code:
    #IfWinActive ahk_exe empyrion.exe
    
    LWin::
       Send {n}
       KeyWait, LWin
    return
    
    LWin up::
       Send {n}
    return
    
    ; add this if you still want an "LWin" in the game -- replaces RAlt with LWin.
    RAlt::LWin
    
    #IfWinActive
    
    And if you're like me and have a whole script section dedicated to Empyrion start your section with...
    Code:
    ;==============================================================
    ;                                                             
    ;    ______                                 _                 
    ;   |  ____|                               (_)                 
    ;   | |__    _ __ ___   _ __   _   _  _ __  _   ___   _ __     
    ;   |  __|  | '_ ` _ \ | '_ \ | | | || '__|| | / _ \ | '_ \   
    ;   | |____ | | | | | || |_) || |_| || |   | || (_) || | | |   
    ;   |______||_| |_| |_|| .__/  \__, ||_|   |_| \___/ |_| |_|   
    ;                      | |      __/ |                         
    ;                      |_|     |___/                           
    ;                                                             
    ;--------------------------------------------------------------
    #IfWinActive ahk_exe empyrion.exe
    ...
    
     
    #1

Share This Page