[FONT="Lucida Console"][COLOR="YellowGreen"][SIZE="2"]Hallo !
Ich habe heute mit AutoiT angefangen
und habe mal eine frage
zu der Send Funktion
PHP
#include <GUIConstants.au3>#Region ### START Koda GUI section ### Form=$Form1 = GUICreate("Form1", 105, 74, 193, 115)$Button1 = GUICtrlCreateButton("K", 16, 24, 51, 25, 0)GUISetState(@SW_SHOW)#EndRegion ### END Koda GUI section ###While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit case $Button1 send ("{K}") Case $Form1 Hier wurde ich gerne die Exit Function haben ? EndSwitchWEnd
Ich will das wenn ich E drücke das sich die $Form1 sich schliesst
Lg.[/SIZE][/COLOR][/FONT]