public void Press() { GenerateStrings(); if (_keyString.Length > 0) { if (_comboKeyString.Length > 0) { KeyboardEmulator.KeyPress(_comboKeyString + " " + _keyString); } else { KeyboardEmulator.KeyPress(_keyString); } } }
void KeyPress_ExecuteAction(object action, HeliosActionEventArgs e) { KeyboardEmulator.KeyPress(e.Value.StringValue); }