Hi.
Ich bin grade dabei eine Bildschirmtastatur zu machen.
Als ich grad die Buttons mache fällt mir ein dass ich versuchen sollte ob die Buttons überhaupt funktionieren.
Ich habe dann die Tastatur geöffnet und so weiter und dann wollte ich etwas bei Word eingeben.
Aber wenn ich auf einen Button klicke dann springt die Tastatur in den Vordergrund und es wird nichts geschrieben.
Bis jetzt funktioniert nur der 1 Button weil ich wollte es ja nur ausprobieren.
Gibt es eine Möglichkeit, dass die Tastatur schreibt??
#include<GUIConstantsEx.au3>
#include <ButtonConstants.au3>
#include <WindowsConstants.au3>
$Fenster1 = GUICreate("Tastertur", 500, 150)
$haeckchenbutton = GUICtrlCreateButton("^",2,3,30,30)
$1button = GUICtrlCreateButton("1",32, 3, 30, 30)
$2button = GUICtrlCreateButton("2",62,3,30,30)
$3button = GUICtrlCreateButton("3",92,3,30,30)
$4button = GUICtrlCreateButton("4",122,3,30,30)
$5button = GUICtrlCreateButton("5",152,3,30,30)
$6button = GUICtrlCreateButton("6",182,3,30,30)
$7button = GUICtrlCreateButton("7",212,3,30,30)
$8button = GUICtrlCreateButton("8",242,3,30,30)
$9button = GUICtrlCreateButton("9",272,3,30,30)
$0button = GUICtrlCreateButton("0",302,3,30,30)
$scharfesSbutton = GUICtrlCreateButton("ß",332,3,30,30)
$Strichbutton = GUICtrlCreateButton("`",362,3,30,30)
$deletebutton = GUICtrlCreateButton("del",392,3,30,30)
$Tabbutton = GUICtrlCreateButton("Tab",2,33,30,30)
$qbutton = GUICtrlCreateButton("Q",32,33,30,30)
$wbutton = GUICtrlCreateButton("W",62,33,30,30)
$ebutton = GUICtrlCreateButton("E",92,33,30,30)
$rbutton = GUICtrlCreateButton("R",122,33,30,30)
$tbutton = GUICtrlCreateButton("T",152,33,30,30)
$zbutton = GUICtrlCreateButton("Z",182,33,30,30)
$ubutton = GUICtrlCreateButton("U",212,33,30,30)
$ibutton = GUICtrlCreateButton("I",242,33,30,30)
$obutton = GUICtrlCreateButton("O",272,33,30,30)
$pbutton = GUICtrlCreateButton("P",302,33,30,30)
$uebutton = GUICtrlCreateButton("Ü",302,33,30,30)
$Plusbutton = GUICtrlCreateButton("+",332,33,30,30)
$Enterbutton = GUICtrlCreateButton("Enter", 362,33,60,60)
$Umschalteinbutton = GUICtrlCreateButton("Umsch ON",2,63,60,30)
$abutton = GUICtrlCreateButton("A",62,63,30,30)
$sbutton = GUICtrlCreateButton("S",92,63,30,30)
$dbutton = GUICtrlCreateButton("D",122,63,30,30)
$fbutton = GUICtrlCreateButton("F",152,63,30,30)
$gbutton = GUICtrlCreateButton("G",182,63,30,30)
GUISetState(@SW_Show)
While 1
[/autoit][autoit][/autoit][autoit]$msg = GUIGetMsg()
[/autoit][autoit][/autoit][autoit]Select
Case $msg = $1button
Send("1")
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
EndSelect
WEnd
Danke, für eure Hilfe