示例#1
0
    public override void Execute(CursorManager cursor)
    {
        _shortcut.OpenWindow();

        // wait the shortcut to be opened
        cursor.ExecuteAfterTime(Shortcut.TRANSITION_DURATION + SECURITY_THRESHOLD, () =>
        {
            cursor.ExecuteNextCommand();
        });
    }