Created
July 17, 2018 09:55
-
-
Save OKsign/bbf8fa7d3d7b30414dce92aa14fdc5b8 to your computer and use it in GitHub Desktop.
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.1: Center Active Window with Middle Click</name> | |
<item> | |
<name>'MercuryMover' enabled</name> | |
<item> | |
<name>Middle Click</name> | |
<identifier>'MercuryMover' enabled Middle Click</identifier> | |
<!-- 'MercuryMover' settings > Move: Option + W --> | |
<autogen> | |
--KeyToKey-- | |
PointingButton::MIDDLE, | |
KeyCode::VK_OPEN_URL_96, | |
</autogen> | |
</item> | |
</item> | |
<item> | |
<name>'ShiftIt' enabled</name> | |
<item> | |
<name>Middle Click</name> | |
<identifier>'ShiftIt' enabled Middle Click</identifier> | |
<!-- 'ShiftIt' settings > Center: Control + Option + Command + C --> | |
<autogen> | |
--KeyToKey-- | |
PointingButton::MIDDLE, | |
KeyCode::C, ModifierFlag::COMMAND_L,ModifierFlag::CONTROL_L,ModifierFlag::OPTION_L, | |
</autogen> | |
</item> | |
<item> | |
<name>Option + Middle Click</name> | |
<identifier>'ShiftIt' enabled Option + Middle Click</identifier> | |
<!-- 'ShiftIt' settings > Center: Control + Option + Command + C --> | |
<autogen> | |
--KeyToKey-- | |
PointingButton::MIDDLE, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_OPTION,ModifierFlag::NONE, | |
KeyCode::C, ModifierFlag::COMMAND_L,ModifierFlag::CONTROL_L,ModifierFlag::OPTION_L, | |
</autogen> | |
</item> | |
</item> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment