Page 1 of 1

Windows keyboard shortcut - snap window right/left

Posted: Mon Jun 15, 2015 12:33 pm
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).