public void GetNextKey() { IndexHandler(); if (isActive) { SendInputApi.SendKey(SubtiteString[Index]); } Index++; }
async void Working() { await Task.Delay(delay); SendInputApi.SendKey(KeyToUse); if (isActive) { this.Working(); } }