@
devtiange 大致的配置文件:
<?xml version="1.0"?>
<root>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_FINDER</name>
<url type="file">/System/Library/CoreServices/
Finder.app</url>
</vkopenurldef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_CHROME</name>
<url type="file">/Applications/Google
Chrome.app</url>
</vkopenurldef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_PYCHARM</name>
<url type="file">/Applications/
PyCharm.app</url>
</vkopenurldef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_RUBYMINE</name>
<url type="file">/Applications/
RubyMine.app</url>
</vkopenurldef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_PHPSTORM</name>
<url type="file">/Applications/
PhpStorm.app</url>
</vkopenurldef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_NOTES</name>
<url type="file">/Applications/
Notes.app</url>
</vkopenurldef>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_MONITOR</name>
<url type="file">/Applications/Utilities/Activity
Monitor.app</url>
</vkopenurldef>
<item>
<name>OPTION_L + ` 打开Finder</name>
<identifier>private.id_14</identifier>
<autogen>__KeyToKey__ KeyCode::BACKQUOTE, ModifierFlag::OPTION_L|ModifierFlag::NONE, KeyCode::VK_OPEN_URL_FINDER</autogen>
<autogen>__KeyToKey__ KeyCode::BACKQUOTE, ModifierFlag::OPTION_L|ModifierFlag::CAPSLOCK, KeyCode::VK_OPEN_URL_FINDER</autogen>
</item>
<item>
<name>OPTION_L + 1 打开Chrome</name>
<identifier>private.id_15</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_1, ModifierFlag::OPTION_L|ModifierFlag::NONE, KeyCode::VK_OPEN_URL_CHROME</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_1, ModifierFlag::OPTION_L|ModifierFlag::CAPSLOCK, KeyCode::VK_OPEN_URL_CHROME</autogen>
</item>
<item>
<name>OPTION_L + 2 打开PyCharm</name>
<identifier>private.id_16</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_2, ModifierFlag::OPTION_L|ModifierFlag::NONE, KeyCode::VK_OPEN_URL_PYCHARM</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_2, ModifierFlag::OPTION_L|ModifierFlag::CAPSLOCK, KeyCode::VK_OPEN_URL_PYCHARM</autogen>
</item>
<item>
<name>OPTION_L + 3 打开RubyMine</name>
<identifier>private.id_17</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_3, ModifierFlag::OPTION_L|ModifierFlag::NONE, KeyCode::VK_OPEN_URL_RUBYMINE</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_3, ModifierFlag::OPTION_L|ModifierFlag::CAPSLOCK, KeyCode::VK_OPEN_URL_RUBYMINE</autogen>
</item>
<item>
<name>OPTION_L + 4 打开PhpStorm</name>
<identifier>private.id_18</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_4, ModifierFlag::OPTION_L|ModifierFlag::NONE, KeyCode::VK_OPEN_URL_PHPSTORM</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_4, ModifierFlag::OPTION_L|ModifierFlag::CAPSLOCK, KeyCode::VK_OPEN_URL_PHPSTORM</autogen>
</item>
<item>
<name>OPTION_L + 5 打开备忘录</name>
<identifier>private.id_19</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_5, ModifierFlag::OPTION_L|ModifierFlag::NONE, KeyCode::VK_OPEN_URL_NOTES</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_5, ModifierFlag::OPTION_L|ModifierFlag::CAPSLOCK, KeyCode::VK_OPEN_URL_NOTES</autogen>
</item>
<item>
<name>OPTION_L + 6 打开活动监视器</name>
<identifier>private.id_20</identifier>
<autogen>__KeyToKey__ KeyCode::KEY_6, ModifierFlag::OPTION_L|ModifierFlag::NONE, KeyCode::VK_OPEN_URL_MONITOR</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_6, ModifierFlag::OPTION_L|ModifierFlag::CAPSLOCK, KeyCode::VK_OPEN_URL_MONITOR</autogen>
</item>
</root>