Sign in to follow this  
Followers 0
Helpmeplease

A little Help Please

3 posts in this topic

I need some help Makin a Game bot

#region --- GuiBuilder code Start ---

; Script generated by AutoBuilder 0.6 Prototype

#include <GuiConstants.au3>

GuiCreate("MyGUI", 387, 338,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$Button_1 = GuiCtrlCreateButton("Start Bot", 70, 30, 260, 40)

$Button_2 = GuiCtrlCreateButton("Stop Bot", 70, 90, 260, 40)

GuiSetState()

While 1

$msg = GuiGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

ExitLoop

Case $msg = $Button_1

Start()

Case $msg = $Button_2

Stop()

EndSelect

WEnd

Exit

Func Start()

;;;;

;;;;

EndFunc

Func Stop()

;;;;

;;;

EndFunc

http://img470.imageshack.us/my.php?image=ss1oe.png

Share this post


Link to post
Share on other sites



Write down what you need the bot to do and then use the help file and the forums to figure out how to get AutoIt to do it for you. When you get stuck post back here asking for help on how to do a specific task showing what you have tried. You have at least figured out how to use one of the GUI builder tools that is out there. You are starting to learn.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

i didn't respond to your PM.. because i didn't see you trying

i think for that type of application, you should use "HotKeySet"

look it up in the help file... there is a great example at the bottom of the page

also.... to learn alot quickly... try this

http://www.autoitscript.com/forum/index.php?showtopic=21048#

8)

Edited by Valuater

NEWHeader1.png

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