|
You last visited: Today at 06:58
Advertisement
AutoIt Frage wege Buttons
Discussion on AutoIt Frage wege Buttons within the AutoIt forum part of the Coders Den category.
12/07/2010, 17:06
|
#16
|
elite*gold: 0
Join Date: Nov 2010
Posts: 120
Received Thanks: 89
|
er wollte unbedingt ne funktion haben.... ansonsten hätt ich auch nur shellexecute genommen^^
EDIT:
@Threadsteller vlt auch mal n bisschen überlegen?^^
"Dein Link" durch deine Links (wie soll man das umschrieben?^^) ersetzen und schon funktioniert die sch..
schlaf nochmal ne Nacht drüber und dann frag weiter bzw schau in die Hilfe wenn dus immer noch nich verstanden hast..
|
|
|
12/07/2010, 17:08
|
#17
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
hast du auch bei jedem $button das mit "DEIN LINK" verändert?? hmmm??
PHP Code:
#include <GUIConstants.au3> #include <GUIConstantsEx.au3> #Region ### START Koda GUI section ### Form=Form1.kxf $Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124) $ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0) $Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0) $Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0) $Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0) $Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0) $Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0) $Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0) $Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0) $Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $ElitePvPers ShellExecute("www.elitepvpers.com") Case $Button1 ShellExecute("www.google.de") Case $Button2 ShellExecute("www.google.de") Case $Button3 ShellExecute("www.google.de") Case $Button4 ShellExecute("www.google.de") Case $Button5 ShellExecute("www.google.de") Case $Button6 ShellExecute("www.google.de") Case $Button7 ShellExecute("www.google.de") Case $Button8 ShellExecute("www.google.de") EndSwitch WEnd
|
|
|
12/07/2010, 17:11
|
#18
|
elite*gold: 3
Join Date: Nov 2010
Posts: 607
Received Thanks: 227
|
PHP Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=Form1.kxf $Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124) $ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0) $Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0) $Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0) $Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0) $Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0) $Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0) $Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0) $Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0) $Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $ElitePvPers ShellExecute("www.elitepvpers.com") Case $Button1 ShellExecute("http://www.elitepvpers.com/forum/metin2-main-discussions-questions/") Case $Button2 ShellExecute("www.google.de") Case $Button3 ShellExecute("www.google.de") Case $Button4 ShellExecute("www.google.de") Case $Button5 ShellExecute("www.google.de") Case $Button6 ShellExecute("www.google.de") Case $Button7 ShellExecute("www.google.de") Case $Button8 ShellExecute("www.google.de") EndSwitch WEnd
So das ist der Code jezze von dir
wenn ich jezze auf Button1 klicke komme ich auf Google xD
hat der AutoIt da was vermischt?  
Fck sry hab die Buttons einmal vermischt
also das mit Pserver war zuerst oben
also muss ich bissl umdenken
und die Links dann setzten sry
mom mache das mal und schriebe dann noma
mfg
|
|
|
12/07/2010, 17:16
|
#19
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
ich schreib ma einfach hierhin, damit wir merken, wenn du wieder schreibst....
und damit es dann kein doppelpost von dir wird
aber wirst du ja jetz bestimmt schaffen, da du den kleinen fehler gefunden hast ^^
|
|
|
12/07/2010, 17:22
|
#20
|
elite*gold: 3
Join Date: Nov 2010
Posts: 607
Received Thanks: 227
|
Cool danke klappt super
Hab noch 2 fragen
ihr seht doch auf den Screen ist so platz wiemache ich da ein Bild zwischen?
Hab da mit AutoIt Koda mal ein bild zwischen gemacht aber wenn ich dann teste kommt so eine rotes ffenster mit so vielen error sachen drinne
So sieht das aus:
hier mal der Code:
PHP Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=Form1.kxf
$Form1 = GUICreate("Elitepvpers", 377, 755, 435, 126)
$ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0)
$Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0)
$Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0)
$Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0)
$Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0)
$Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0)
$Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0)
$Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0)
$Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0)
$Pic1 = GUICtrlCreatePic("C:\Users\Dominik\Desktop\epvp.jpg", 8, 344, 353, 217, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $ElitePvPers
EndSwitch
WEnd
und dann kommt ein error wenn ich das teste
|
|
|
12/07/2010, 17:27
|
#21
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
Quote:
Originally Posted by DjDEFONE°
Cool danke klappt super
Hab noch 2 fragen
ihr seht doch auf den Screen ist so platz wiemache ich da ein Bild zwischen?
Hab da mit AutoIt Koda mal ein bild zwischen gemacht aber wenn ich dann teste kommt so eine rotes ffenster mit so vielen error sachen drinne
|
wegen den error´s, muss tdu (denk ich mal) nur die hier noch oben einfügen:
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
in etwa so hier:
PHP Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=Form1.kxf
$Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124)
$ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0)
$Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0)
$Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0)
$Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0)
$Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0)
$Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0)
$Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0)
$Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0)
$Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0)
$Pic1 = GUICtrlCreatePic("C:\Program Files (x86)\AutoIt3\Examples\GUI\logo4.gif", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
den link: "C:\Program Files (x86)\AutoIt3\Examples\GUI\logo4.gif" natürlich anpassen, wo sich dein bild befindet....
|
|
|
12/07/2010, 17:30
|
#22
|
elite*gold: 3
Join Date: Nov 2010
Posts: 607
Received Thanks: 227
|
Quote:
Originally Posted by omer36
wegen den error´s, muss tdu (denk ich mal) nur die hier noch oben einfügen:
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
in etwa so hier:
PHP Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=Form1.kxf
$Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124)
$ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0)
$Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0)
$Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0)
$Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0)
$Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0)
$Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0)
$Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0)
$Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0)
$Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0)
$Pic1 = GUICtrlCreatePic("C:\Program Files (x86)\AutoIt3\Examples\GUI\logo4.gif", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
den link: "C:\Program Files (x86)\AutoIt3\Examples\GUI\logo4.gif" natürlich anpassen, wo sich dein bild befindet....
|
guck mal sete 2 ganz unten hab da editiert mit Bild usw
hab genau das gleiche
aber dann kommt diese fenster mit 3 oder 4 zeilen das in der zeile mit dem Bild was net stimmt
mfg
|
|
|
12/07/2010, 17:33
|
#23
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
da steht doch ganz oben das hier:
#include <GUIConstants.au3> stimmts?
jetz mach dadrunter noch 2 leerzeilen, und kopier diese beiden noch dazu:
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
dann müsste es gehen, wenn nciht, dann kopier mal die fehler....
€also so
PHP Code:
#include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form=Form1.kxf $Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124) $ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0) $Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0) $Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0) $Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0) $Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0) $Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0) $Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0) $Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0) $Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0) $Pic1 = GUICtrlCreatePic("C:\Users\Dominik\Desktop\epvp.jpg", 8, 344, 353, 217, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
;und hier halt der rest...
|
|
|
12/07/2010, 17:36
|
#24
|
elite*gold: 3
Join Date: Nov 2010
Posts: 607
Received Thanks: 227
|
Quote:
Originally Posted by omer36
da steht doch ganz oben das hier:
#include <GUIConstants.au3> stimmts?
jetz mach dadrunter noch 2 leerzeilen, und kopier diese beiden noch dazu:
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
dann müsste es gehen, wenn nciht, dann kopier mal die fehler....
|
ok jezze kannman testen aber
er zeigt das Bild net an wiso das denn?^^
sry das ich es dir so kompliziert machen und deine Zeit vergolde 
Edit:
So Siehts aus:
Code:
#include <GUIConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=Form1.kxf
$Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124)
$ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0)
$Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0)
$Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0)
$Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0)
$Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0)
$Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0)
$Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0)
$Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0)
$Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0)
$Pic1 = GUICtrlCreatePic("C:\Benutzer\Dominik\Desktop\epvp.jpg", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $ElitePvPers
ShellExecute("www.elitepvpers.com")
Case $Button1
ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-discussions-questions/")
Case $Button2
ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/")
Case $Button3
ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-news/")
Case $Button4
ShellExecute("http://www.elitepvpers.com/forum/metin2-main-discussions-questions/")
Case $Button5
ShellExecute("http://www.elitepvpers.com/forum/metin2-korea-us-discussions-questions/")
Case $Button6
ShellExecute("http://www.elitepvpers.com/forum/metin2-trading/")
Case $Button7
ShellExecute("http://www.elitepvpers.com/forum/metin2-guides-templates/")
Case $Button8
ShellExecute("http://www.elitepvpers.com/forum/metin2-hacks-bots-cheats-exploits-macros/")
EndSwitch
WEnd
EDIT:
GEHT HABS GELÖST
LETZTE FRAGE DIE IST EINFACH DENK ICH MAL
wie mache ich jezze diese Datei zu einer .exe damit ich die ins Internet usw stellen kann ?
hab noch ie eine .exe gemacht -.-
|
|
|
12/07/2010, 17:42
|
#25
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
hmm eig. müsste er´s,
du musst auch dein bild dort lassen ( "C:\Benutzer\Dominik\Desktop\epvp.jpg" )
wenn du es löscht/verschiebst, verschwindet das bild automatisch aus dein programm...
|
|
|
12/07/2010, 17:44
|
#26
|
elite*gold: 3
Join Date: Nov 2010
Posts: 607
Received Thanks: 227
|
Quote:
Originally Posted by omer36
hmm eig. müsste er´s,
du musst auch dein bild dort lassen ( "C:\Benutzer\Dominik\Desktop\epvp.jpg" )
wenn du es löscht/verschiebst, verschwindet das bild automatisch aus dein programm...
|
jo geht musste benutzer durch Users ersetzten -.-
Letzte Frage 
wie mache ich die Datei jezze also das Tool
zu einer .exe damit ich das ins Internet stellen kann usw
hab mal gelesen das AutoIt so ein programm dabei hat
damit man das machen kann oder wie muss ich das machen?^^
ah habs, hab mal bissl bei Google gesucht
da hab ich die Autoit seite gefunden da steht wie man das macht
ist ja simple Rechtsklick auf die datei und dann compli scrit xD
|
|
|
12/07/2010, 17:55
|
#27
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
start/programme/autoit/Complier .au3 to .exe
diese datei öffnen, deine au3 auswählen...
dadrunter den speicherort und den namen eingeben, unten links den hacken aus "x64" rausnehmen, und auf den button "Convert" drücken...
aber das bild wird nur bei dir angezeigt...
du hast jetz 2 möglichkeiten es zu machen:
1:
du erstellst einen neuen ordner und packst da rein das bild und deine .au3 und gibst dann bei dem bild-link ein:
@ScriptDir& "\epvp.jpg" also:
GUICtrlCreatePic(@ScriptDir& "\epvp.jpg", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
und du sendest dann am ende den ganzen order....
oder du machst es mit einem befehl...fileinstall...also so:
FileInstall("C:\User\Dominik\Desktop\epvp.jpg", @TempDir & "\epvp.jpg")
am besten an oberster stelle einfügen.
und dann als bild-link
GUICtrlCreatePic(@TempDir & "\epvp.jpg", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
1:
in einem order das bild und diese au3 (oder später deine .exe)
PHP Code:
#include <GUIConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=Form1.kxf $Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124) $ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0) $Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0) $Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0) $Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0) $Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0) $Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0) $Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0) $Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0) $Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0) $Pic1 = GUICtrlCreatePic(@ScriptDir& "\epvp.jpg", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $ElitePvPers ShellExecute("www.elitepvpers.com") Case $Button1 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-discussions-questions/") Case $Button2 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/") Case $Button3 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-news/") Case $Button4 ShellExecute("http://www.elitepvpers.com/forum/metin2-main-discussions-questions/") Case $Button5 ShellExecute("http://www.elitepvpers.com/forum/metin2-korea-us-discussions-questions/") Case $Button6 ShellExecute("http://www.elitepvpers.com/forum/metin2-trading/") Case $Button7 ShellExecute("http://www.elitepvpers.com/forum/metin2-guides-templates/") Case $Button8 ShellExecute("http://www.elitepvpers.com/forum/metin2-hacks-bots-cheats-exploits-macros/") EndSwitch WEnd
oder nur das:
PHP Code:
#include <GUIConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3>
FileInstall("C:\User\Dominik\Desktop\epvp.jpg", @TempDir & "\epvp.jpg")
#Region ### START Koda GUI section ### Form=Form1.kxf $Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124) $ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0) $Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0) $Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0) $Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0) $Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0) $Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0) $Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0) $Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0) $Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0) $Pic1 = GUICtrlCreatePic(@TempDir & "\epvp.jpg", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $ElitePvPers ShellExecute("www.elitepvpers.com") Case $Button1 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-discussions-questions/") Case $Button2 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/") Case $Button3 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-news/") Case $Button4 ShellExecute("http://www.elitepvpers.com/forum/metin2-main-discussions-questions/") Case $Button5 ShellExecute("http://www.elitepvpers.com/forum/metin2-korea-us-discussions-questions/") Case $Button6 ShellExecute("http://www.elitepvpers.com/forum/metin2-trading/") Case $Button7 ShellExecute("http://www.elitepvpers.com/forum/metin2-guides-templates/") Case $Button8 ShellExecute("http://www.elitepvpers.com/forum/metin2-hacks-bots-cheats-exploits-macros/") EndSwitch WEnd
hoffe ich hab jetz da keine fehler gemacht ^^
|
|
|
12/07/2010, 19:26
|
#28
|
elite*gold: 3
Join Date: Nov 2010
Posts: 607
Received Thanks: 227
|
Quote:
Originally Posted by omer36
start/programme/autoit/Complier .au3 to .exe
diese datei öffnen, deine au3 auswählen...
dadrunter den speicherort und den namen eingeben, unten links den hacken aus "x64" rausnehmen, und auf den button "Convert" drücken...
aber das bild wird nur bei dir angezeigt...
du hast jetz 2 möglichkeiten es zu machen:
1:
du erstellst einen neuen ordner und packst da rein das bild und deine .au3 und gibst dann bei dem bild-link ein:
@ScriptDir& "\epvp.jpg" also:
GUICtrlCreatePic(@ScriptDir& "\epvp.jpg", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
und du sendest dann am ende den ganzen order....
oder du machst es mit einem befehl...fileinstall...also so:
FileInstall("C:\User\Dominik\Desktop\epvp.jpg", @TempDir & "\epvp.jpg")
am besten an oberster stelle einfügen.
und dann als bild-link
GUICtrlCreatePic(@TempDir & "\epvp.jpg", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
1:
in einem order das bild und diese au3 (oder später deine .exe)
PHP Code:
#include <GUIConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=Form1.kxf
$Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124)
$ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0)
$Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0)
$Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0)
$Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0)
$Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0)
$Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0)
$Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0)
$Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0)
$Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0)
$Pic1 = GUICtrlCreatePic(@ScriptDir& "\epvp.jpg", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $ElitePvPers
ShellExecute("www.elitepvpers.com")
Case $Button1
ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-discussions-questions/")
Case $Button2
ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/")
Case $Button3
ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-news/")
Case $Button4
ShellExecute("http://www.elitepvpers.com/forum/metin2-main-discussions-questions/")
Case $Button5
ShellExecute("http://www.elitepvpers.com/forum/metin2-korea-us-discussions-questions/")
Case $Button6
ShellExecute("http://www.elitepvpers.com/forum/metin2-trading/")
Case $Button7
ShellExecute("http://www.elitepvpers.com/forum/metin2-guides-templates/")
Case $Button8
ShellExecute("http://www.elitepvpers.com/forum/metin2-hacks-bots-cheats-exploits-macros/")
EndSwitch
WEnd
oder nur das:
PHP Code:
#include <GUIConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
FileInstall("C:\User\Dominik\Desktop\epvp.jpg", @TempDir & "\epvp.jpg")
#Region ### START Koda GUI section ### Form=Form1.kxf
$Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124)
$ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0)
$Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0)
$Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0)
$Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0)
$Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0)
$Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0)
$Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0)
$Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0)
$Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0)
$Pic1 = GUICtrlCreatePic(@TempDir & "\epvp.jpg", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $ElitePvPers
ShellExecute("www.elitepvpers.com")
Case $Button1
ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-discussions-questions/")
Case $Button2
ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/")
Case $Button3
ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-news/")
Case $Button4
ShellExecute("http://www.elitepvpers.com/forum/metin2-main-discussions-questions/")
Case $Button5
ShellExecute("http://www.elitepvpers.com/forum/metin2-korea-us-discussions-questions/")
Case $Button6
ShellExecute("http://www.elitepvpers.com/forum/metin2-trading/")
Case $Button7
ShellExecute("http://www.elitepvpers.com/forum/metin2-guides-templates/")
Case $Button8
ShellExecute("http://www.elitepvpers.com/forum/metin2-hacks-bots-cheats-exploits-macros/")
EndSwitch
WEnd
hoffe ich hab jetz da keine fehler gemacht ^^
|
Das verstehe ich ent ganz
|
|
|
12/07/2010, 19:38
|
#29
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
also...
du hast auf dinem desktop das bild oder? epvp.jpg
jetz starte diesen script hier:
PHP Code:
#include <GUIConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3>
FileInstall("C:\User\Dominik\Desktop\epvp.jpg", @TempDir & "\epvp.jpg")
#Region ### START Koda GUI section ### Form=Form1.kxf $Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124) $ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0) $Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0) $Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0) $Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0) $Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0) $Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0) $Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0) $Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0) $Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0) $Pic1 = GUICtrlCreatePic(@TempDir & "\epvp.jpg", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $ElitePvPers ShellExecute("www.elitepvpers.com") Case $Button1 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-discussions-questions/") Case $Button2 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/") Case $Button3 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-news/") Case $Button4 ShellExecute("http://www.elitepvpers.com/forum/metin2-main-discussions-questions/") Case $Button5 ShellExecute("http://www.elitepvpers.com/forum/metin2-korea-us-discussions-questions/") Case $Button6 ShellExecute("http://www.elitepvpers.com/forum/metin2-trading/") Case $Button7 ShellExecute("http://www.elitepvpers.com/forum/metin2-guides-templates/") Case $Button8 ShellExecute("http://www.elitepvpers.com/forum/metin2-hacks-bots-cheats-exploits-macros/") EndSwitch WEnd
und schau, ob das bild angezeigt wird.
falls JA, lösch das bild aus deinem desktop und versuchs nochmal, wenn wieder klappt, kannst du es zu einer .exe machen und schicken.
oder wo war dein probem?
du hast mir doch per pn was geschrieben wegen ein fehler, kommt das immernoch?
|
|
|
12/07/2010, 19:42
|
#30
|
elite*gold: 3
Join Date: Nov 2010
Posts: 607
Received Thanks: 227
|
Quote:
Originally Posted by omer36
also...
du hast auf dinem desktop das bild oder? epvp.jpg
jetz starte diesen script hier:
PHP Code:
#include <GUIConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3>
FileInstall("C:\User\Dominik\Desktop\epvp.jpg", @TempDir & "\epvp.jpg")
#Region ### START Koda GUI section ### Form=Form1.kxf $Form1 = GUICreate("Elitepvpers", 377, 755, 437, 124) $ElitePvPers = GUICtrlCreateButton("ElitePvPers", 8, 0, 353, 41, 0) $Button1 = GUICtrlCreateButton("Metin2 Pserver - Discussions / Questions", 8, 576, 353, 49, 0) $Button2 = GUICtrlCreateButton("Metin2 Pserver Guides & Strategies", 8, 632, 353, 49, 0) $Button3 = GUICtrlCreateButton("Metin2 Pserver News", 8, 688, 353, 49, 0) $Button4 = GUICtrlCreateButton("Metin2 Main - Discussions / Questions", 8, 48, 353, 49, 0) $Button5 = GUICtrlCreateButton("Metin2 Korea / US - Discussions / Questions", 8, 104, 353, 49, 0) $Button6 = GUICtrlCreateButton("Metin2 Black Market", 8, 160, 353, 49, 0) $Button7 = GUICtrlCreateButton("Metin2 Guides & Templates", 8, 224, 353, 49, 0) $Button8 = GUICtrlCreateButton("Metin2 Hacks, Bots, Cheats, Exploits & Marcros ", 8, 280, 353, 49, 0) $Pic1 = GUICtrlCreatePic(@TempDir & "\epvp.jpg", 60, 350, 241, 153, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $ElitePvPers ShellExecute("www.elitepvpers.com") Case $Button1 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-discussions-questions/") Case $Button2 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/") Case $Button3 ShellExecute("http://www.elitepvpers.com/forum/metin2-pserver-news/") Case $Button4 ShellExecute("http://www.elitepvpers.com/forum/metin2-main-discussions-questions/") Case $Button5 ShellExecute("http://www.elitepvpers.com/forum/metin2-korea-us-discussions-questions/") Case $Button6 ShellExecute("http://www.elitepvpers.com/forum/metin2-trading/") Case $Button7 ShellExecute("http://www.elitepvpers.com/forum/metin2-guides-templates/") Case $Button8 ShellExecute("http://www.elitepvpers.com/forum/metin2-hacks-bots-cheats-exploits-macros/") EndSwitch WEnd
und schau, ob das bild angezeigt wird.
falls JA, lösch das bild aus deinem desktop und versuchs nochmal, wenn wieder klappt, kannst du es zu einer .exe machen und schicken.
oder wo war dein probem?
du hast mir doch per pn was geschrieben wegen ein fehler, kommt das immernoch?
|
Dann wird das Bild garnet angezeigt 
so jezze wirds angezeigt
bei user das s vergessen also users
jezze soll ich mal das Bild löschen?
so hab das Bild jezze mal vom Desktop gelscöht und er zeigt das bild immer noch an  )))
jezze zu einer exe machen?
|
|
|
 |
|
Similar Threads
|
[AUTOIT]Buttons Funktionen Zuweisen ?
08/04/2011 - AutoIt - 6 Replies
Ja brauch ma ne hilfe will ma den buttons Zuweisen das sie ihre ahl klicken zb bei dem
$Button1 = GUICtrlCreateButton("1", 40, 288, 49, 49, 0)
wenn man den anklicken sollte sollte auf nen label oder so eine eins angezeigt werden ;D aber auf inem anderen fenster
; Prompt the user to run the script - use a Yes/No prompt (4 - see help file)
$answer = MsgBox(4, "Autoit", "Dieses Anfänger Script starten?Ach ja in der Version FUnktioniert der Nein Button Nich :D")
|
[Frage] Wege an G1 zu kommen
08/21/2010 - WarRock - 9 Replies
Gibt es noch andere möglichkeiten umsonst g1 zu verdienen gibt auser Playspan und die offers auf der warrock seite? Also z.b noch ne seite mit offers die g1 anbietet?
|
[AutoIt] Buttons mit Hover Effekt?
05/11/2010 - General Coding - 2 Replies
Hallo,
ich suche nach einer Möglichkeit, dass ich meinen Buttons, denen ich ein Hintergrundbild gegeben hab, einen Hover Effekt geben kann.
Kennt jemand eine Lösung?
Ich hab bis jetzt mit FileInstall eine Bilddatei hinzugefügt und das Bild auf den Button gelegt. Allerdings sieht er langweilig aus, da er nichts "macht" wenn man mit der Maus über ihn geht :(
Greetz
|
AutoIT (pickupbot) Frage wegen buttons
01/28/2010 - AutoIt - 4 Replies
So hallo erstma =) Hoffe ihr könnt mir helfen=)
also der quellcode und der nach mein prob.
Also ihr könnts auch ausprobieren=D Aufjedenfall kann ich den Start Button einmal drücken er startet aber ich kann nur einen Button drücken also kann nicht mehr den stop button klicken bzw klickn ja aber es passiert nichts auch wenn ich den Bot wieder beende geht info usw. nicht. (Also kurz gesagt: Ich kann nur einmal einen Button drücken, dernach funktionieren die anderen ned)
(ist mein 2tes...
|
hab ne frage wege
04/28/2006 - World of Warcraft - 6 Replies
also ich hab mal ne frage ich hab damals ragnarok gespielt und da is es so das man nach jedem lvl up stats points zu vergeben hatte zb. in str,agi,dex....... is es in wow auch so oder is es da ganz anders????
will nähmlich glei am anfang einen guten chara machen :D
|
All times are GMT +1. The time now is 06:58.
|
|