Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 07:17

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

Advertisement



[AutoIt v3]Frage zu Func

Discussion on [AutoIt v3]Frage zu Func within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2007
Posts: 63
Received Thanks: 9
[AutoIt v3]Frage zu Func

Hi Leute,
ich verstehe irgendwie nicht ganz wie ich Buttons z.B. mit einer Funktion verknüpfe:

Code:
#include<guiconstantsex.au3>
guicreate('')
guisetstate()

$Start= GUICtrlCreateButton("Start", 8, 112, 105, 25, 0)

While 1
If guigetmsg()=$gui_event_close then exitloop [I];;Damit man das ganze auch schließen kann[/I]
WEnd

Func start()
if guigetmsg()=$Start Then
While 2
sleep(200)
WEnd
Endif
EndFunc
Das klappt iwie nicht... kann mir jemand sagen wie ich das machen soll?
dankee
aydooo is offline  
Old 03/23/2009, 22:27   #2
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
so...

Code:
#include<guiconstantsex.au3>
guicreate('')
guisetstate()

$Start= GUICtrlCreateButton("Start", 8, 112, 105, 25, 0)

While 1
If guigetmsg()=$gui_event_close then exitloop ;;Damit man das ganze auch schließen kann
if guigetmsg()=$Start Then MsgBox(0,"","taste wurde gedrückt")
WEnd
kknb is offline  
Reply


Similar Threads Similar Threads
autoit frage zu func´s
01/18/2010 - AutoIt - 9 Replies
hi leute, kann autoit überhaupt mehrere funcs auf einmal nutzen? z.B.: metin2 autopotter und gleichzeitig farmen



All times are GMT +1. The time now is 07:17.


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.