Erstmal danke für eure super TUTs in sachen Autoit. Leider habe ich ein kleines Problem ich möchte ein Script erstellen das per Knopfdruck eine Datei runterlädt eine Progreesbar aufruft die gedownloedete Datei starten und nach beenden des Programmes die Datei löscht. Doch in sachen Autoit bin ich nicht grade der beste. Immer wenn ich die Datei runterlade lädt er nur 55 kb von 10 Mb oder so. Könntest jemand eventuel mein Script aufbessern oder mir meine Fehler erläutern.
[autoit]#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=c:\users\msi\desktop\form2.kxf
$Form2 = GUICreate("Gaara4 PSP Flasher", 618, 402, 218, 135)
$Pic1 = GUICtrlCreatePic("C:\Users\MSI\Desktop\Unbenannt.gif", 0, 0, 617, 401, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUICtrlSetState(-1, $GUI_DISABLE)
$PSP = GUICtrlCreateButton("PSP GO FW< 6.35", 16, 104, 161, 81, $WS_GROUP)
$PSP2 = GUICtrlCreateButton("PSP GO FW 6.35", 224, 104, 161, 81, $WS_GROUP)
$PSP3 = GUICtrlCreateButton("PSP GO FW>6.35", 424, 104, 161, 81, $WS_GROUP)
$PSP4 = GUICtrlCreateButton("PSP FW<6.35", 16, 208, 161, 81, $WS_GROUP)
$PSP8 = GUICtrlCreateButton("PSP FW 6.39 Beta", 16, 304, 161, 81, $WS_GROUP)
$PSP5 = GUICtrlCreateButton("PSP FW 6.35", 224, 208, 161, 81, $WS_GROUP)
$Credits = GUICtrlCreateButton("Credits", 224, 304, 161, 81, $WS_GROUP)
$PSP6 = GUICtrlCreateButton("PSP FW >6.35", 424, 208, 161, 81, $WS_GROUP)
$Beenden = GUICtrlCreateButton("Beenden", 424, 304, 161, 81, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $PSP
FileInstall("Go.exe", @TempDir&"\go.exe",1)
Run("D:\Go 6.35.exe")
FileDelete("D:\Go 6.35.exe")
Case $PSP2
Case $PSP3
Case $PSP4
Case $PSP8
Case $PSP5
Case $Credits
Case $PSP6
Case $Beenden
EndSwitch
WEnd
Ich weiß das in diesem Script die Progressbar fehlt ich schaff es leider nicht diese einzubauen. Sry bin halt noch unerfahren.
Könnte man den mit FileInstall die Datei einbinden?