Jump to content
Sign in to follow this  
mac1k

Button with seconds

Recommended Posts

mac1k

Hello im new here on forum/AutoIt.Im trying to make bot that is doing anything every 3second or any seconds that user want.He can write second to button but how did look script for like "If he write 1 = 0.0001seconds" so if he write 5000 it mean 5seconds.

I create program by VGE.exe then i create new windows and then new input box and in input box would be the seconds.

The script look now like that

GuiCreate("lol",354,254,743,481)
$input1=GuiCtrlCreateInput("Enter seconds here",102,104,106,20)
GuiSetState()

While 1
$msg=GuiGetMsg()
If $msg=-3 Then Exit
Wend

Regards mac1k

Share this post


Link to post
Share on other sites
bogQ

Pls read

Forum Rules


TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites
mac1k

Hello and thanks for reply.I dont want to create game bot.Im new into AutoIT and this function will help me now and in future.

Share this post


Link to post
Share on other sites
somdcomputerguy

Look at Sleep & GUICtrlRead in the Helpfile.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
mac1k

Look at Sleep & GUICtrlRead in the Helpfile.

Thx will look here.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.