Skip to content

MaaWin32InputMethodEnum.PostMessage 抢占鼠标 #18

@smile-shark

Description

@smile-shark

按照官方文档来看,这个方法是不会抢占鼠标的,但是在实际的使用中,它会将操作的窗口至于顶层并抢占鼠标

    window_controller = Win32Controller(
        window.hwnd,
        screencap_method=MaaWin32ScreencapMethodEnum.FramePool,
        mouse_method=MaaWin32InputMethodEnum.PostMessage,
        keyboard_method=MaaWin32InputMethodEnum.PostMessage
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions