Unicode - Taste halten, Taste entlasten

  • Hallo,

    ich möchte mehrere Unicodes gleichzeitig senden. Dafür dachte ich an folgende Lösung

    Beispiel:

    Code
    3 Unicodes welche gleichzeitig gesendet werden sollen
    0033 0x1b
    0117 0x4f
    0120 0x50
    [autoit]


    ; Putty fokusieren
    ; Linux / "showkey -a" zum anzeigen des Send-Output
    WinActivate("192.168.xxx.xxx Putty")

    [/autoit][autoit][/autoit][autoit]

    ; UnicodeVariablen
    $unicode1 = Chr(0033)
    $unicode2 = Chr(0117)
    $unicode3 = Chr(0120)

    [/autoit][autoit][/autoit][autoit]

    ; Unicodes/Tasten gedrückt halten
    Send("{"& $unicode1 & "down}")
    Send("{"& $unicode2 & "down}")
    Send("{"& $unicode3 & "down}")
    sleep (1500)
    ; Unicodes/Tasten entlasten
    Send("{" & $unicode3 & "up}")
    Send("{" & $unicode2 & "up}")
    Send("{" & $unicode1 & "up}")

    [/autoit]

    Ebenfalls erfolglos habe ich

    [autoit]

    Send("{ASC 0033 down}")
    Send("{ASC 0033 up}")

    [/autoit]

    Ist mein Vorhaben umsetzbar?
    Habt ihr Ideen zur Umsetzung?

    Gruß CoWa

    Einmal editiert, zuletzt von CoWa (20. November 2008 um 15:43)

    • Offizieller Beitrag
    Zitat von AutoItHilfe

    There are a few parts of AutoIt that don't yet have full Unicode support. These are:

    Send and ControlSend - Instead, Use ControlSetText or the Clipboard functions.
    Regular expressions - To reduce the size of AutoIt, the regular expression engine is currently compiled in ANSI mode.
    Console operations are converted to ANSI.
    These limits will be addressed in future versions if possible.