Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 02:31

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

Advertisement



Autoit3 Button Funktion

Discussion on Autoit3 Button Funktion within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 3
Received Thanks: 0
Autoit3 Button Funktion

ICh suche hillfe will in autoit ein programm erstellen das z.B. auf klick "button"
mause bewegt "mousemove(200, 200)
habe biss jetzt kein richtigen code gefunden
kann wer mir mal helfen??
Code:
#include <GUIConstants.au3>

GUICreate("My GUI")
$Button1 = GUICtrlCreateButton( "noob", 75, 75 ,75 ,75,  $BS_ICON)
GUISetState (@SW_SHOW)


While 1
	$msg = GUIGetMsg()
	
	If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend
starkalex is offline  
Old 04/08/2008, 13:32   #2
 
-Anthrax-'s Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 542
Received Thanks: 112
einfach nur unten else if $msg= $Button1 then
Mousemove(200, 200)
-Anthrax- is offline  
Old 04/14/2008, 07:11   #3
 
Hiyoal's Avatar
 
elite*gold: 20
Join Date: Mar 2007
Posts: 2,444
Received Thanks: 1,066
Ich benutze auswählen und in der Rechtssache Argumente für den Zugriff auf GUI.

Sie können diesen Quellcode ohne Kredit.

Code:
#include <GUIConstants.au3>

GUICreate("My GUI")
$Button1 = GUICtrlCreateButton( "noob", 75, 75 ,75 ,75,  $BS_ICON)
GUISetState (@SW_SHOW)


While 1
	$msg = GUIGetMsg()
	Select
	Case $msg = $GUI_EVENT_CLOSE 
		ExitLoop
	Case $msg=$Button1
		MouseMove(200,200)
	EndSelect
Wend
Wenn Sie würde auch gern mehr über AutoIt, lesen Sie bitte meine Umfangreiche AutoIt Guides, die 2 Teile umfassen. Der Link ist in meiner Unterschrift Namen "The Full Guide To Making Your Own Bots/Macros".

Ich habe Google Translator zu übersetzen. Sorry, wenn es irgendwelche Fehler.

Verwenden Sie einen Übersetzer, wenn Sie möchten, dass es übersetzt aus dem Englischen ins Deutsche.

Hiyoal
Hiyoal is offline  
Old 04/14/2008, 12:47   #4
 
-Anthrax-'s Avatar
 
elite*gold: 0
Join Date: Apr 2007
Posts: 542
Received Thanks: 112
das war dann wohl der babelfish xD
to all english-speaking-users: Please don't use Babaelfish....we can't read the translation xD
Better post in english, most of us can read it ^^
-Anthrax- is offline  
Reply


Similar Threads Similar Threads
[C++]Funktion einer Klasse in einer anderen Funktion der Klasse verwenden, aber wie?
07/25/2010 - C/C++ - 3 Replies
Mein Problem ist eigentlich recht simpel und die Lösung wahrscheinlich auch. Da ich bisher fast 0 mit Klassen am Hut hatte, wollte ich mich doch mit dem Thema anfreunden und hatte gleich angefangen: int test::Funktion2() { int temp; cin>>temp; return temp; }
[Q] Funktion in Button machen
06/01/2010 - AutoIt - 2 Replies
Hey ! Ich habe mir ein kleines Programm mit KODA bzw. AutoIT gemacht, möchte jetzt aber das wenn ich den "Abbrechen"-Button benutze das sich das Programm dann schließt. Wie geht das ? Hier mein Code : #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form2 = GUICreate("Z", 122, 56, 303, 219) $Abbrechen = GUICtrlCreateButton("Abbrechen", 24, 16, 75, 25, 0)
WarRock statt KOREANISCHE BUTTON --> Englische BUTTON
02/26/2010 - WarRock - 6 Replies
Bin mir nicht sicher ob es diesen Thread schon gibt aber hab bis jetzt nichts gesehen hier. Funktionen Für WarRock Korea Koreanische Schriften (Button) weg und englische Schriften (Button) hin Anleitung
[AUTOIT3] Print Funktion?
04/23/2009 - AutoIt - 3 Replies
hi leute mal ne frage: Gibts einen Befehl in autoit3 womit ich das Edit1 Feld drucken kann?
Button mit Funktion belegen
01/06/2009 - Guild Wars - 8 Replies
Hi, Ich stehe bei der Programierung eines Botes vor einem Problem. Ich habe eine einfache GUI erstellt, und möchte einen Button mit einer Funktion belegen. Hier mal eine Bsp-GUI: #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 511, 235, 193, 125) $Input1 = GUICtrlCreateInput("Message", 64, 80, 385, 21) $Button1 = GUICtrlCreateButton("Send", 200, 144, 97, 33, 0)



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


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.