Jump to content

hi im new to this


Recommended Posts

All i want the autoit to do is pres numbers 8 and 9 every 30 seconds on repeat till i stop it...

How would i go about this lol im totaly new and thats all i wana do. its for a game and thnx in advance

Welcome x2ruff4u.

Now look up:

Send ( "keys" [, flag] )

and

Sleep ( delay )

Remember the Help file is your friend! :P

ViM

Link to comment
Share on other sites

All i want the autoit to do is pres numbers 8 and 9 every 30 seconds on repeat till i stop it...

How would i go about this lol im totaly new and thats all i wana do. its for a game and thnx in advance

Welcome to AutoIT! :nuke:

Check out the help file and look at the functions Send() and sleep(). If you want it to repeat that over and over, then look at putting it in a While/WEnd loop.

Give it a shot, and if it doesn't work, post the code you've got and you'll get lots of help.

:P

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

You will also need While, Wend and HotKeySet


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

Link to comment
Share on other sites

ok this is what i got i read the help files a bit hard to understand but im a fast learner and liek i copied this from somewere on the forums.

HotKeySet("{ESC}", "quit")

While 1

WinWaitActive("MapleStory")

Send ("1")

Sleep(1800)

WEnd

Func quit()

Exit

EndFunc

When i activate it it doesnt send the commands to maplestory but i know it works cuz it was on notepad working, what i could be doing wrong?

Link to comment
Share on other sites

heh... how would i put that into my script^^''

Opt("WinTitleMatchMode", 2)
HotKeySet("{ESC}", "quit")

While 1
WinWaitActive("MapleStory")
Send ("1")
Sleep(1800)
WEnd

Func quit()
Exit
EndFunc


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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...