Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 02:12

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Patcher mit Ladebalken (Copybin with progressbar)

Discussion on Patcher mit Ladebalken (Copybin with progressbar) within the AutoIt forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
GoDJGo's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 741
Received Thanks: 102
Patcher mit Ladebalken (Copybin with progressbar)

Hallo com!

Ich habe folgendes problem, ich will einen patcher machen, der ein paar ordner austausch!
Code:
PHP Code:
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Minecraft Mod Packet Patcher 1.0.0"325160193125)
$Label1 GUICtrlCreateLabel("Patcher by Csfreakable"813611417)
$Label2 GUICtrlCreateLabel("Created for GoldfieldMC.do.am"12813614817)
$Button1 GUICtrlCreateButton("Patch"169610533)
$Button2 GUICtrlCreateButton("Close"1689612133)
$Progress1 GUICtrlCreateProgress(83228917)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button1
            _Start
()
        Case 
$Button2
            _Exit
()

    EndSwitch
WEnd


Func _Exit
()
    exit
EndFunc

Func _Start
()
    
irCopy (".Minecraft", @AppDataDir &"\.Minecraft" ,)
For 
$i 0 To 100 Step 1
    GUICtrlSetData
($Progress1,$i)
    
Sleep(100)
Next
Msgbox
(0,"Patcher""Ehrfolgreich gepatch´d!")
Endfunc 
hilfe!!

#Closed

Hab fehler entdeckt!

PHP Code:
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Minecraft Mod Packet Patcher 1.0.0"325160193125)
$Label1 GUICtrlCreateLabel("Patcher by Csfreakable"813611417)
$Label2 GUICtrlCreateLabel("Created for GoldfieldMC.do.am"12813614817)
$Button1 GUICtrlCreateButton("Patch"169610533)
$Button2 GUICtrlCreateButton("Close"1689612133)
$Progress1 GUICtrlCreateProgress(83228917)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button1
            _Start
()
        Case 
$Button2
            _Exit
()

    EndSwitch
WEnd


Func _Exit
()
    exit
EndFunc

Func _Start
()
    [
B]DirCopy[/B] (".Minecraft", @AppDataDir &"\.Minecraft" ,)
For 
$i 0 To 100 Step 1
    GUICtrlSetData
($Progress1,$i)
    
Sleep(100)
Next
Msgbox
(0,"Patcher""Ehrfolgreich gepatch´d!")
Endfunc 
GoDJGo is offline  
Old 12/23/2011, 14:08   #2

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,323
#closed
Adroxxx is offline  
Closed Thread


Similar Threads Similar Threads
progressbar
07/22/2010 - AutoIt - 10 Replies
hab mal wieder ne kleine frage, undzwar will ich, wenn ich ein button drücke die progressbar sich jedesmal um 20erhöht, aber bekomm das iwie nicht hin ... in internet hab ich dazu nicht wirklich was gefunden.... mein bsp. code: #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <ProgressConstants.au3>
Progressbar
06/18/2010 - AutoIt - 2 Replies
$get1 = InetGet("...",$zgh & "\...") $inf1 = InetGetInfo($get1,0) Do GUICtrlSetData($Progress1,$inf1) Until InetGetInfo($get1,2) = True Also, die Progressbar bleibt leer und die GUI ist scheintot, aber es lädt die Datei... 1. Progressbar soll konstant zum Download sein. 2. GUI soll aktiv bleiben.
VB-Webbrowser mit ProgressBar
05/09/2010 - .NET Languages - 2 Replies
Hey Leute Ich bekomme es einfach nicht hin, das beim laden einer seite in meinem webbrowser der progressbar den ladefortschritt der seite zeigt die ich aufrufen möchte. kann mir jemand konkret erklären wie das klappt was oben steht? Danke
How to Make Progressbar
10/02/2009 - Coding Tutorials - 1 Replies
Visual Basics 6.0 - Progressbar Helloworld YouTube - Visual Basics 6.0 - Progressbar Helloworld How to Make a advanced progressbar in visual basic 2008 YouTube - How to Make a advanced progressbar in visual basic 2008
[PROGRESSBAR/MP3]HiLFE
08/25/2009 - AutoIt - 14 Replies
1.Also ich habe mit dem KODA form designer eine progress bar erstellt und jetzt weiss ich nicht wie ich sie zum laufen bringe des sollte dann gehen z.B. wenn button oder so gedrückt wird wie mache ich das und kann man dann auch irgendwie überprüfen ob die Progressbar fertig geladen ist? 2.Also ich wollte fragen ob ich eine mp3 oder wenns seien muss eine wav datei wärend einem skript abspielen kann wenn ja wie??? Wer mir hilft bekommt thanks ;) MFG



All times are GMT +2. The time now is 02:12.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.