protected void SendKey(char key, float duration = DELAY_BETWEEN_KEYS) { if (!IsActive) { return; } ActionManager.SendAction(() => { KeyUtils.SendChar(key); }, duration, null); }