Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 16:05

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

Advertisement



[HELP] Autoit Frage

Discussion on [HELP] Autoit Frage within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Black_Beserker's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 265
Received Thanks: 30
[HELP] Autoit Frage

hi comm,

brauche ma kurz hilfe^^ ich will das $Button1 (wenn man auf ihn clickt )
etwas bestimmtes mach so jetzt habe ih das so gemacht:

While 1
$Button1 = Run ("cmd.exe")


$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

EndSwitch
WEnd

aber nun öffnet sich die cmd zuoft ich möchte aber das sie sich nur öfnet wenn man drauf clickt
(es soll sich 1x öffnen)


mfg. Black_Beserker und Thx im vorraus :P
Black_Beserker is offline  
Old 09/05/2011, 22:29   #2
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,254
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Run ("cmd.exe")

EndSwitch
WEnd
omer36 is offline  
Thanks
1 User
Reply




All times are GMT +2. The time now is 16:05.


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.