ControlSend ctrl+v

  • Hallo,

    bei mir funktioniert weder:

    Code
    $notepad = WinGetHandle("Untitled - Notepad");
    ControlSend($notepad, "", "Edit1", "{CTRLDOWN}v{CTRLUP}")


    noch

    Code
    $notepad = WinGetHandle("Untitled - Notepad");
    ControlSend($notepad, "", "Edit1", "^v")


    Gibts da ne limitierung?
    MfG

    • Offizieller Beitrag

    Mache es einfach so:

    [autoit]

    $notepad = WinGetHandle("Untitled - Notepad");
    ControlSend($notepad, "", "Edit1", "^V")

    [/autoit]

    CTRLDOWN und CTRLUP kannst du nicht einzeln senden und das V wird groß geschrieben. :D