protected override string DoImpl() { var layoutValue = this.ExecutedCommand.Parameters["value"].ToString(); FlaNiumKeyboard.SwitchInputLanguage(layoutValue); return(this.JsonResponse()); }
protected override string DoImpl() { var serializedCapability = JsonConvert.SerializeObject(this.ExecutedCommand.Parameters["desiredCapabilities"]); this.Automator.ActualCapabilities = Capabilities.CapabilitiesFromJsonString(serializedCapability); this.InitializeApplication(); FlaNiumKeyboard.SwitchInputLanguageToEng(); // Имеются проблемы ввода текста при активной русской раскладке. Добавлено переключение на английскую раскладку. return(this.JsonResponse(ResponseStatus.Success, this.Automator.ActualCapabilities)); }
protected override string DoImpl() { return(this.JsonResponse(ResponseStatus.Success, FlaNiumKeyboard.GetKeyboardLayout())); }