Hallo com,
habe jetzt ein neues Problem ._. undzwar...
Bei meinen Script:
Spoiler anzeigen
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <GuiStatusBar.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("CuStudio", 584, 470, 192, 124)
$Label1 = GUICtrlCreateLabel("Bild:", 24, 8, 24, 17)
GUICtrlCreateInput("", 16, 32, 561, 21)
$Label2 = GUICtrlCreateLabel("Text Nr.1:", 16, 56, 51, 17)
$Text1 = GUICtrlCreateInput("", 16, 80, 561, 21)
$Label3 = GUICtrlCreateLabel("Text Nr. 2:", 16, 104, 54, 17)
GUICtrlCreateInput("", 16, 128, 561, 21)
$Label4 = GUICtrlCreateLabel("Text Nr. 3:", 16, 152, 54, 17)
GUICtrlCreateInput("", 16, 176, 561, 21)
$Label5 = GUICtrlCreateLabel("Text Nr. 4", 16, 200, 51, 17)
GUICtrlCreateInput("", 16, 224, 561, 21)
$Label6 = GUICtrlCreateLabel("Text Nr. 5", 16, 248, 51, 17)
GUICtrlCreateInput("", 16, 272, 561, 21)
$StatusBar1 = _GUICtrlStatusBar_Create($Form1)
_GUICtrlStatusBar_SetMinHeight($StatusBar1, 25)
$Label7 = GUICtrlCreateLabel("Höhe:", 72, 56, 33, 17)
GUICtrlCreateInput("", 112, 56, 121, 21)
$Label8 = GUICtrlCreateLabel("Breite:", 248, 56, 34, 17)
GUICtrlCreateInput("", 288, 56, 121, 21)
$Label9 = GUICtrlCreateLabel("Höhe:", 72, 104, 33, 17)
GUICtrlCreateInput("", 112, 104, 121, 21)
$Label10 = GUICtrlCreateLabel("Breite:", 248, 104, 34, 17)
GUICtrlCreateInput("", 288, 104, 121, 21)
$Label11 = GUICtrlCreateLabel("Höhe:", 72, 152, 33, 17)
GUICtrlCreateInput("", 112, 152, 121, 21)
$Label12 = GUICtrlCreateLabel("Breite:", 248, 152, 34, 17)
GUICtrlCreateInput("", 288, 152, 121, 21)
$Label13 = GUICtrlCreateLabel("Höhe:", 72, 200, 33, 17)
GUICtrlCreateInput("", 112, 200, 121, 21)
$Label14 = GUICtrlCreateLabel("Breite:", 248, 200, 34, 17)
GUICtrlCreateInput("", 288, 200, 121, 21)
$Label15 = GUICtrlCreateLabel("Höhe:", 72, 248, 33, 17)
GUICtrlCreateInput("", 112, 248, 121, 21)
GUICtrlCreateInput("", 288, 248, 121, 21)
$Label16 = GUICtrlCreateLabel("Breite:", 248, 248, 34, 17)
$Label17 = GUICtrlCreateLabel("Höhe:", 200, 8, 33, 17)
GUICtrlCreateInput("", 240, 8, 121, 21)
$Label18 = GUICtrlCreateLabel("Breite:", 368, 8, 34, 17)
GUICtrlCreateInput("", 408, 8, 121, 21)
$Start = GUICtrlCreateButton("Start", 240, 360, 235, 81)
GUICtrlSetFont(-1, 65, 400, 0, "Bookman Old Style")
$Beenden = GUICtrlCreateButton("Beenden", 8, 360, 211, 81)
GUICtrlSetFont(-1, 35, 400, 0, "Bookman Old Style")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Beenden
Exit
Case $Start
ShellExecute("C:\Program Files\CutStudio\CutStudio.exe")
sleep(5000)
WinMove("Unbenannt - CutStudio", "", 0, 0, 1366, 768)
sleep(500)
MouseMove(20,203,0)
sleep(500)
MouseClick("left")
sleep(500)
MouseMove(111,629,0)
sleep(500)
MouseClick("left")
GUICtrlRead($Text1)
sleep(500)
send($Text1)
EndSwitch
WEnd
Schreibe ich bei der Inputbox unter Text 1 etwas rein. Nun geht er zu Cut-Studio und schreibt nur eine 6 hin und nicht
was ich in die Inputbox reingeschrieben habe.
Warum ist das so ._.?