Add modifier key support when user action items.

This commit is contained in:
qianlifeng
2014-02-09 20:55:18 +08:00
parent 953adadd62
commit fcdb9e39c6
23 changed files with 84 additions and 133 deletions

View File

@@ -26,7 +26,7 @@ namespace Wox.Plugin.System
Title = m.Key,
SubTitle = "this command has been executed " + m.Value + " times",
IcoPath = "Images/cmd.png",
Action = () =>
Action = (c) =>
{
ExecuteCmd(m.Key);
AddCmdHistory(m.Key);
@@ -45,7 +45,7 @@ namespace Wox.Plugin.System
Score = 5000,
SubTitle = "execute command through command shell",
IcoPath = "Images/cmd.png",
Action = () =>
Action = (c) =>
{
ExecuteCmd(cmd);
AddCmdHistory(cmd);
@@ -60,7 +60,7 @@ namespace Wox.Plugin.System
Title = m.Key,
SubTitle = "this command has been executed " + m.Value + " times",
IcoPath = "Images/cmd.png",
Action = () =>
Action = (c) =>
{
ExecuteCmd(m.Key);
AddCmdHistory(m.Key);