moin moin,
Wie bekommt man es hin das ein Tastendruck z.B. " F9 " in einer Input-Box ( eins in der Gui) angezeigt wird ?
Spoiler anzeigen
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <GUIListBox.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 662, 366, 192, 124)
$Label1 = GUICtrlCreateLabel("Tasten Kombinationen", 178, 11, 277, 33)
GUICtrlSetFont(-1, 18, 800, 0, "MS Sans Serif")
$Hauptmpro = GUICtrlCreateButton("Zurück", 518, 297, 107, 25, BitOR($BS_FLAT,$WS_GROUP))
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$beenden = GUICtrlCreateButton("Beenden", 518, 327, 107, 25)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Button2 = GUICtrlCreateButton("Einstellungen Sichern", 156, 303, 275, 33)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Group1 = GUICtrlCreateGroup("", 34, 163, 585, 129)
$List1 = GUICtrlCreateList("", 42, 179, 569, 97)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$eins = GUICtrlCreateInput("eins", 34, 75, 57, 24, BitOR($ES_CENTER,$ES_AUTOHSCROLL))
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Label3 = GUICtrlCreateLabel("Drücke eine Taste", 74, 51, 109, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Button1 = GUICtrlCreateButton("Enter", 106, 73, 107, 25, BitOR($BS_FLAT,$WS_GROUP))
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Button3 = GUICtrlCreateButton("Löschen", 106, 109, 107, 25, BitOR($BS_FLAT,$WS_GROUP))
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Label5 = GUICtrlCreateLabel("Gewählte Tastenkombination", 40, 148, 168, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$zwei = GUICtrlCreateInput("zwei", 272, 74, 121, 24, BitOR($ES_CENTER,$ES_AUTOHSCROLL))
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Label4 = GUICtrlCreateLabel("Pfadangaben", 352, 50, 79, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Button4 = GUICtrlCreateButton("Enter", 400, 72, 107, 25, BitOR($BS_FLAT,$WS_GROUP))
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Button5 = GUICtrlCreateButton("Löschen", 400, 108, 107, 25, BitOR($BS_FLAT,$WS_GROUP))
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Oder für die " Pfeil runter " Taste soll dann " down " da erscheinen usw.
Gibt es da eine Möglichkeit bei Autoit ?
mfg
oh-ha