Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 18:14

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

Advertisement



Neue form öffnen

Discussion on Neue form öffnen within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 132
Received Thanks: 6
Neue form öffnen

Hey ich habe mit Koda ein Gerüst gebaut^^

nun wollte ich fragen, wie ich die 3 Formen zusammen fügen.

und wie ich dann eine neue Form öffne^^
Flyffaaa is offline  
Old 07/06/2010, 22:54   #2
 
bladerofdarknes's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 1,524
Received Thanks: 285
bladerofdarknes is offline  
Old 07/06/2010, 23:00   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 132
Received Thanks: 6
wow *-* ein ganz toller ._.
Flyffaaa is offline  
Old 07/06/2010, 23:04   #4
 
elite*gold: 0
Join Date: Jan 2010
Posts: 203
Received Thanks: 40
Entweder du kannst 3 verschiedene Exen machen die du nach einander aufrufst (ganz blöd) oder du packst die Forms in Functions und rufst die dann auf
FetterArsch500 is offline  
Old 07/07/2010, 00:01   #5
 
elite*gold: 0
Join Date: Feb 2009
Posts: 132
Received Thanks: 6
sry bin neu in AutoIt ^^

wie macht man denn sowas ?
Flyffaaa is offline  
Old 07/07/2010, 00:15   #6


 
Jeoni's Avatar
 
elite*gold: 966
Join Date: Apr 2010
Posts: 1,105
Received Thanks: 681
PHP Code:
Func _neueForm()
;
Nochmal das selbewie in der KoDa Section
EndFunc 
Anwendung:
PHP Code:
;blabla
_neueForm
() ;aufruf der neuen Form 
Ganz einfach.
Jeoni is offline  
Old 07/07/2010, 16:16   #7
 
Smincke2's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 184
Received Thanks: 299
du kannst auch einfach alle gui hintereinander in das script schreiben
Smincke2 is offline  
Old 07/07/2010, 16:32   #8
 
elite*gold: 0
Join Date: Feb 2009
Posts: 132
Received Thanks: 6
zb. so ?
1
Code:
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=C:\Users\Administrator\Desktop\Tooooooolllll\Form2.kxf
$Form2 = GUICreate("~*Special-Tools*~", 251, 101, 618, 533)
$Button1 = GUICtrlCreateButton("Server Starten", 24, 32, 200, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
					Case $Button1
Run("Program\AccountServer\AccountServer.exe", "Program\AccountServer")
  Sleep(1000)
 Run("Program\Certifier\Certifier.exe", "Program\Certifier")
 Sleep(1000)
 Run("Resource\DatabaseServer.exe", "Resource")
 Sleep(9000)
 Run("Program\CoreServer\CoreServer.exe", "Program\CoreServer")
 Sleep(1000)
 Run("Program\CacheServer\CacheServer.exe", "Program\CacheServer")
 Sleep(1000)
 Run("Program\LoginServer\LoginServer.exe", "Program\LoginServer")
 Sleep(1000)
 Run("Resource\WorldServer.exe", "Resource")
 Run("Antihack\packetfilter.exe", "Antihack")

	EndSwitch
WEnd
+2
Code:
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=C:\Users\Administrator\Desktop\Tooooooolllll\Form3.kxf
$Form3 = GUICreate("~*Special-Tools*~", 251, 101, 533, 434)
$Button1 = GUICtrlCreateButton("Server schließen", 24, 32, 200, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
			Case $Button1
			 ProcessClose("AccountServer.exe")
 Sleep(120)
 ProcessClose("Certifier.exe")
 Sleep(120)
 ProcessClose("DatabaseServer.exe")
 Sleep(120)
 ProcessClose("CoreServer.exe")
 Sleep(120)
 ProcessClose("CacheServer.exe")
 Sleep(120)
 ProcessClose("LoginServer.exe")
 Sleep(120)
 ProcessClose("WorldServer.exe")
 Sleep(120)
 ProcessClose("packetfilter.exe")

	EndSwitch
WEnd
=
Code:
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=C:\Users\Administrator\Desktop\Tooooooolllll\Form3.kxf
$Form3 = GUICreate("~*Special-Tools*~", 251, 101, 533, 434)
$Button1 = GUICtrlCreateButton("Server schließen", 24, 32, 200, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
			Case $Button1
			 ProcessClose("AccountServer.exe")
 Sleep(120)
 ProcessClose("Certifier.exe")
 Sleep(120)
 ProcessClose("DatabaseServer.exe")
 Sleep(120)
 ProcessClose("CoreServer.exe")
 Sleep(120)
 ProcessClose("CacheServer.exe")
 Sleep(120)
 ProcessClose("LoginServer.exe")
 Sleep(120)
 ProcessClose("WorldServer.exe")
 Sleep(120)
 ProcessClose("packetfilter.exe")

	EndSwitch
WEnd

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=C:\Users\Administrator\Desktop\Tooooooolllll\Form2.kxf
$Form2 = GUICreate("~*Special-Tools*~", 251, 101, 618, 533)
$Button1 = GUICtrlCreateButton("Server Starten", 24, 32, 200, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
					Case $Button1
Run("Program\AccountServer\AccountServer.exe", "Program\AccountServer")
  Sleep(1000)
 Run("Program\Certifier\Certifier.exe", "Program\Certifier")
 Sleep(1000)
 Run("Resource\DatabaseServer.exe", "Resource")
 Sleep(9000)
 Run("Program\CoreServer\CoreServer.exe", "Program\CoreServer")
 Sleep(1000)
 Run("Program\CacheServer\CacheServer.exe", "Program\CacheServer")
 Sleep(1000)
 Run("Program\LoginServer\LoginServer.exe", "Program\LoginServer")
 Sleep(1000)
 Run("Resource\WorldServer.exe", "Resource")
 Run("Antihack\packetfilter.exe", "Antihack")

	EndSwitch
WEnd
Flyffaaa is offline  
Old 07/07/2010, 16:40   #9
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
eher so

PHP Code:
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=C:\Users\Administrator\Desktop\Tooooooolllll\Form3.kxf
$Form3 GUICreate("~*Special-Tools*~"251101533434)
$Button2 GUICtrlCreateButton("Server schließen"2432200250)
GUISetState(@SW_SHOW)
$Form2 GUICreate("~*Special-Tools*~"251101618533)
$Button1 GUICtrlCreateButton("Server Starten"2432200250)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button2
            _button2
()
        Case 
$Button1
            _button1
()
    EndSwitch
WEnd

Func _button2
()
 
ProcessClose("AccountServer.exe")
 
Sleep(120)
 
ProcessClose("Certifier.exe")
 
Sleep(120)
 
ProcessClose("DatabaseServer.exe")
 
Sleep(120)
 
ProcessClose("CoreServer.exe")
 
Sleep(120)
 
ProcessClose("CacheServer.exe")
 
Sleep(120)
 
ProcessClose("LoginServer.exe")
 
Sleep(120)
 
ProcessClose("WorldServer.exe")
 
Sleep(120)
 
ProcessClose("packetfilter.exe")
EndFunc


Func _button1
()
 
Run("Program\AccountServer\AccountServer.exe""Program\AccountServer")
 
Sleep(1000)
 
Run("Program\Certifier\Certifier.exe""Program\Certifier")
 
Sleep(1000)
 
Run("Resource\DatabaseServer.exe""Resource")
 
Sleep(9000)
 
Run("Program\CoreServer\CoreServer.exe""Program\CoreServer")
 
Sleep(1000)
 
Run("Program\CacheServer\CacheServer.exe""Program\CacheServer")
 
Sleep(1000)
 
Run("Program\LoginServer\LoginServer.exe""Program\LoginServer")
 
Sleep(1000)
 
Run("Resource\WorldServer.exe""Resource")
 
Run("Antihack\packetfilter.exe""Antihack")
EndFunc 
omer36 is offline  
Thanks
1 User
Old 07/07/2010, 20:15   #10
 
elite*gold: 0
Join Date: Feb 2009
Posts: 132
Received Thanks: 6
also du hast erst die functionen zusammen gemacht und dann noch die Whiles ? also sortieren


E: hab grad getestet :

und was ist wenn ich beim button klick erst ne neue form öffnen möchte
Flyffaaa is offline  
Reply


Similar Threads Similar Threads
[VB2008]Wie druch Button_Click neue Form aufmachen lassen?
09/13/2010 - .NET Languages - 6 Replies
Wie der Titel schon sagt... Ich bin noch Anfänger bei Vb^^ Hat jmd eine Antwort auf die Frage? Wie z.B durch diesen Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click End Sub End Class
Hidden Angelbott mit neue Funktion ( MAN KANN MEHRERE METIN FENSTER ÖFFNEN)
07/14/2009 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 8 Replies
Ich habs endlich geschafft ! Den Bot so konztruiert das er auch, wenn mal Metin2 minimiert, es weiter angelt. Das heißt im klartext rein theoretisch tausende von metin2 fenster für denn ANgelbot benutzen. WAS ER KANN: -Er öffnet alle Fische (Mir fehlen noch 2-3 Fische aber kommen bald) -Füllt alle Köder sowie Wurm und Paste -Wenn mal kick hat log es sich ein (Relogbot) -Man kann über 5 ausnahmen wählen was der bot nicht rausschmeissen soll. -Und paar andere funktuionen
Druid Tree form buff without tree Form
11/11/2007 - WoW Exploits, Hacks, Tools & Macros - 5 Replies
My buddy and i were screwing around the other day in Mech and we figured out a way to have a working tree form buff for the party but not be in tree form. Which if anyone knows about druids allows them to cast all their other high healing spells. Anyway follow the instructions below its a bit tricky 1. Change your chest item to something else 2. Get into Combat.. Queue your chestpiece to switch back to your original 3. When the fights finishing, Get ready.. The second the...



All times are GMT +1. The time now is 18:15.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.