Koda|AutoIt Bilder Problem

10/16/2010 22:06 amnesi#16
guictrlcreatepic(@scripdir & "/Dein Bild Name.jpg,255,255,355,455)
@scriptdir ist eine von autoit definierte variable und sie enthält
den Pfad zu dem ordner in dem das script lieg

hoffe ich ahbe dir geholfen
10/16/2010 22:33 KDeluxe#17
PHP Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

$Bild = @ScriptDir "\Bild.jpg"
If Not FileExists($BildThen FileInstall("Bild.jpg"$Bild1)

#Region ### START Koda GUI section ### Form=
$Form GUICreate("Form1"360450)
$Pic GUICtrlCreatePic($Bild00361449BitOR($SS_NOTIFY,$WS_CLIPSIBLINGS))
$B_Start GUICtrlCreateButton("Start"191392121330)
$B_Ende GUICtrlCreateButton("Ende"64392105330)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While True
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$B_Start
            
;...
        Case 
$B_Ende
            
;...
    EndSwitch
WEnd 
Setzt voraus, dass die Datei "Bild.jpg" im selben Ordner wie das Script ist.
10/16/2010 23:28 Deividas666#18
ok vielen dank euch beiden =)

ohne dieses forum wären wir autoit anfänger absolut verloren =)

lg
10/16/2010 23:32 amnesi#19
^^ np :P
jaja davon kann ich ein lied singen xD
bin ja selbst noch anfänger xD
10/16/2010 23:55 Deividas666#20
nun funktionierts auch wies soll xD endlich ist mein wow battleground bot fertig muhahaha xD
10/17/2010 00:00 amnesi#21
schön ;D