public override void Execute(CursorManager cursor) { _shortcut.OpenWindow(); // wait the shortcut to be opened cursor.ExecuteAfterTime(Shortcut.TRANSITION_DURATION + SECURITY_THRESHOLD, () => { cursor.ExecuteNextCommand(); }); }