Register for your free account! | Forgot your password?

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

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

Advertisement



Hilfe mit autoit

Discussion on Hilfe mit autoit within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Nico001's Avatar
 
elite*gold: 297
Join Date: Mar 2009
Posts: 646
Received Thanks: 171
Hilfe mit autoit

Hi leute!
ich brauche hilfe bei etwas
diese frage ist zwar blöd aber wie ändere ich ein bild von einer iconbox per buttondruck z.B von rot in grün ???
pls hilft mir, dann kann ich einen neuen hack vorstellen
ihr müsst einfach nur den code reischreiben
danke!
Nico001 is offline  
Old 03/05/2010, 20:49   #2
 
elite*gold: 0
Join Date: Sep 2009
Posts: 89
Received Thanks: 82
verstehe irgent wie nicht ganz du das meinst
SRY ...
chilz111 is offline  
Old 03/05/2010, 20:55   #3
 
Nico001's Avatar
 
elite*gold: 297
Join Date: Mar 2009
Posts: 646
Received Thanks: 171
also:
ich habe einen button ($Button1)
dann habe ich eine iconbox ($Icon1)
es hat am anfang ein bild was rot ist
wenn ich $Button1 klicke soll er von rot in grün umspringen
und ich kenne den code nicht dafür

Mein code:

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("pic ändern", 162, 85, 193, 133)
$Button1 = GUICtrlCreateButton("green", 8, 8, 75, 25, 0)
$Button2 = GUICtrlCreateButton("red", 80, 8, 75, 25, 0)
$Icon1 = GUICtrlCreateIcon("C:\Users\Nico\Desktop\Bots von Nico001\Metin2 Maphack-tool by Nico001\Bilder\aus.nic", 0, 64, 40, 37, 37)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$Icon1 = GUICtrlCreateIcon("C:\Users\Nico\Desktop\Bots von Nico001\Metin2 Maphack-tool by Nico001\Bilder\aus.nic", 0, 64, 40, 37, 37)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$Icon1 = GUICtrlCreateIcon("C:\Users\Nico\Desktop\Bots von Nico001\Metin2 Maphack-tool by Nico001\Bilder\an.nic", 0, 64, 40, 37, 37)
$Icon1 = GUICtrlCreateIcon("C:\Users\Nico\Desktop\Bots von Nico001\Metin2 Maphack-tool by Nico001\Bilder\aus.nic", 0, 64, 40, 37, 37)
Case $Button2
$Icon1 = GUICtrlCreateIcon("C:\Users\Nico\Desktop\Bots von Nico001\Metin2 Maphack-tool by Nico001\Bilder\aus.nic", 0, 64, 40, 37, 37)
EndSwitch
WEnd

er ändert zwar das bild aber wen ich jez z.B einen tabsheet mache ist es auch in tabsheet 2
pls help!
Nico001 is offline  
Old 03/06/2010, 13:28   #4
 
elite*gold: 0
Join Date: Feb 2010
Posts: 714
Received Thanks: 842
ändern in
Code:
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("pic ändern", 162, 85, 193, 133)
$Button1 = GUICtrlCreateButton("green", 8, 8, 75, 25, 0)
$Button2 = GUICtrlCreateButton("red", 80, 8, 75, 25, 0)
$Icon1 = GUICtrlCreateIcon
GuiCtrlSetData (Wert sry kp welcher by Icon"C:\Users\Nico\Desktop\Bots von Nico001\Metin2 Maphack-tool by Nico001\Bilder\aus.nic", 0, 64, 40, 37, 37)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$Icon1 = GUICtrlCreateIcon
GuiCtrlSetData (Wert sry kp welcher by Icon"C:\Users\Nico\Desktop\Bots von Nico001\Metin2 Maphack-tool by Nico001\Bilder\aus.nic", 0, 64, 40, 37, 37)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
EndSwitch
WEnd
Und ehmm unten da hast du ganze zeit nur $Icon1 und net $Icon2 ist natürlich auch schlau gib $Icon2 das PIC von $Icon1

naja vllt. das mal beheben dann musst das da oben net machen
Flasher2 is offline  
Reply


Similar Threads Similar Threads
Autoit hilfe
08/17/2010 - Nostale - 0 Replies
was muss ich eingeben in autoit damit mein char in nos nach 180sec einen buff benutzt und in der zwischen zeit soll er mit einem ganz normalen space bot weiter machen
[Hilfe]AutoIt !
12/12/2009 - AutoIt - 2 Replies
Hallo, wie kann ich schrieben bei AutoIt das wenn er was weises oder grün,... erkennt das er das anklick?
AutoIt Hilfe
03/16/2008 - General Coding - 18 Replies
Huhu an alle , hab schon ne ganze menge gelernt in AutoIt sachen nur eine frage habe ich da noch ... Nach dem ich alles geschrieben habe und ich den Bot starte dann macht er sofort alles aber er soll es erst machen sobald ich mit der maus auf das Programm geklickt habe wo er das machen soll. Oder das ich es Öffnen kann und dann erst eine Taste drücken muss damit er erst die ganzen tastenschläge macht.... Wäre sehr nett wenn mir einer das erklären kann ...



All times are GMT +1. The time now is 12:05.


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