Windows keyboard shortcut - snap window right/left

Post Reply
User avatar
Xcessity
Site Admin
Posts: 284
Joined: Sat May 16, 2015 2:23 pm
Location: Graz
Contact:

Windows keyboard shortcut - snap window right/left

Post by Xcessity »

  • Go to Settings->Keyboard->Macros and click the "Edit" button.
  • Copy these macros somewhere between the <XY_MACROS> tags.

    Code: Select all

    <MACRO id="WinLeft">
      <MAIN>
        <KEYINPUT behaviour="PRESS" code="0x5B"/>
        <KEYINPUT behaviour="PRESS" code="0x25"/>
        <KEYINPUT behaviour="RELEASE" code="0x25"/>
        <KEYINPUT behaviour="RELEASE" code="0x5B"/>
      </MAIN>
    </MACRO>
    
    <MACRO id="WinRight">
      <MAIN>
        <KEYINPUT behaviour="PRESS" code="0x5B"/>
        <KEYINPUT behaviour="PRESS" code="0x27"/>
        <KEYINPUT behaviour="RELEASE" code="0x27"/>
        <KEYINPUT behaviour="RELEASE" code="0x5B"/>
      </MAIN>
    </MACRO>
  • Save the text file and hit the "Reload" button.
  • Add a new macro rule and assign the expression and the right macros (see screenshot).
Post Reply