Sign in to follow this  
Followers 0
MATISZON

Output from the program

1 post in this topic

Sample Code

#include <GUIConstantsEx.au3>

GUICreate("S", 400, 205)

$go = GUICtrlCreateButton("Start", 10, 150, 100, 40)

GUISetState(@SW_SHOW)

While 1
$msg = GUIGetMsg()
If $msg = $go Then login()
If $msg = $GUI_EVENT_CLOSE Then Exit
WEnd

func login()
$czas = Random(1000, 60000, 1)
Sleep($czas)
EndFunc

if the function is active login

how to do that after pressing porogram being closed off.

sorry my eanglish is bad

jestem z polski w moim kraju jest malo stron o autoit


[size="3"][font="Arial Black"]I'm from the Polish do not as well know how English[/font][/size]

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0