public static string MakeKeyboardSendKeyEventCommand(VirtualKey key) { var args = new KeyboardSendKeyEventArgs() { Key = key, }; var argsSerialize = JsonConvert.SerializeObject(args); return PluginCommandSerializeMaker.MakeCommand(InnerPluginName, "KeyboardSendKeyEvent", argsSerialize); }
public PluginMethodReturnValueType Shell(KeyboardSendKeyEventArgs args) { KeyboardUtil.SendKeyEvent(args.Key); return null; }