Created
July 12, 2018 06:56
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_96</name> | |
<url type="shell"> | |
osascript -e ' | |
tell application "System Events" | |
keystroke "w" using option down | |
delay 1.5 | |
key code 24 | |
delay 1 | |
key code 53 | |
end tell | |
' | |
</url> | |
</vkopenurldef> | |
<item> | |
<name>My Key 96: Center Active Window with Middle Click Button ('MercuryMover' enabled)</name> | |
<identifier>My Key 96: Center Active Window with Middle Click Button ('MercuryMover' enabled)</identifier> | |
<!-- 'MercuryMover' settings > Move: Option + W --> | |
<autogen> | |
--KeyToKey-- | |
PointingButton::MIDDLE, | |
KeyCode::VK_OPEN_URL_96, | |
</autogen> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment