Windows keyboard shortcut - snap window right/left

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

Windows keyboard shortcut - snap window right/left

Postby Xcessity » Mon Jun 15, 2015 12:33 pm

  • 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).

Return to “Macros”