Skip to content

Cant send Keys and input.SendKey does right click #21

@fleeasura123

Description

@fleeasura123

Hi, this is my code. When I try SendKey it right clicks.

            Input input = new Input();
            input.KeyboardFilterMode = KeyboardFilterMode.All;
            input.MouseFilterMode = MouseFilterMode.All;
            input.Load();

            Thread.Sleep(2000);

            input.SendLeftClick();

            Thread.Sleep(2000);

            input.KeyPressDelay = 10;
            input.SendKey(Interceptor.Keys.C, KeyState.Down);
            Thread.Sleep(100);
            input.SendKey(Interceptor.Keys.C, KeyState.Up);

            input.SendKeys(Interceptor.Keys.A);

            input.Unload();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions