AutoIT Koda Problem

07/05/2009 15:34 Zagaris123#1
Hi Leute,

ich will mal wieder was mit autoit machen...
ich habe mit dem kode FD ein GUI erstellt,
Es ist ein Bild enthalten, ich habe auch alles gemacht wie es sonst auch ist aber jetzt kommt eine fehlermeldung wegen einem bild

Hier erstlan der gui script:

Code:
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 862, 747, 185, 121)
$Pic1 = GUICtrlCreatePic("C:\Dokumente und Einstellungen\Lukas\Desktop\Wow botbild.jpg", 0, 0, 857, 745, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Input1 = GUICtrlCreateInput("ID# Entry", 736, 96, 113, 21)
$Input2 = GUICtrlCreateInput("Name", 16, 96, 233, 21)
$Input3 = GUICtrlCreateInput("Display ID", 736, 128, 113, 21)
$Input4 = GUICtrlCreateInput("Mindest Level", 16, 200, 121, 21)
$Input5 = GUICtrlCreateInput("Maximal Level", 16, 232, 121, 21)
$Input6 = GUICtrlCreateInput("HP", 368, 176, 121, 21)
$Input7 = GUICtrlCreateInput("Mana", 368, 208, 121, 21)
$Input8 = GUICtrlCreateInput("Größe", 16, 560, 121, 21)
$Input9 = GUICtrlCreateInput("Angriffsgeschwindigkeit", 368, 552, 121, 21)
$Input10 = GUICtrlCreateInput("Mindest DMG", 368, 584, 121, 21)
$Input11 = GUICtrlCreateInput("Maximal DMG", 368, 616, 121, 21)
$Input12 = GUICtrlCreateInput("Respawnzeit", 16, 592, 121, 21)
$Input13 = GUICtrlCreateInput("Armor", 368, 240, 121, 21)
$Button1 = GUICtrlCreateButton("Button1", 712, 600, 139, 41, 0)
$Button2 = GUICtrlCreateButton("Button2", 712, 648, 137, 41, 0)
$Button3 = GUICtrlCreateButton("Button3", 712, 696, 137, 41, 0)
$Input14 = GUICtrlCreateInput("Quote", 16, 128, 233, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit

	EndSwitch
WEnd
und in der fehlermeldung steht:

==> Variable used without being declared.:
$Pic1 = GUICtrlCreatePic("C:\Dokumente und Einstellungen\Lukas\Desktop\Wow botbild.jpg", 0, 0, 857, 745, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Pic1 = GUICtrlCreatePic("C:\Dokumente und Einstellungen\Lukas\Desktop\Wow botbild.jpg", 0, 0, 857, 745, BitOR(^ ERROR

weiß da einer was?

wenn ja direkt das richtigen hier posten =)

lg
07/05/2009 15:50 Adroxxx#2
Falsches Forum
#moved nach AutoIt.
07/05/2009 17:10 Syc0n#3
Dir fehlt ne include datei...
07/05/2009 17:36 felixli93#4
#inlcude <staticconstants.au3> müsste das sein