loading
If you have ever played flash games, especially the free ones, they are often monotonous. Their repetitiveness is due to the fact that while making the game the author realized that the game may be too easy due to a lack of content so they add repetitive tasks.  For example if you have ever played games similar to dating sims when you are required to "sleep" to gain energy and etc.

This is as simple as writing a script to tell the computer to move the mouse to certain coordinates and click and wait and etc. and for most flash games this will be as advanced as you need it to be.

Step 1: What we will use...

For this script tutorial we will be using AutoHotKey which is freeware and extremely powerful.

One thing to remember during this tutorial is THE AHK HELP FILE IS YOUR BEST FRIEND! It can pretty much tell you how to script anything you may need scripted.
<p>i cant believe i am this free all my life from the devil that called himself my husband,much thanks to almightyhacker777 for helping me discorvered all his devilish plans on his iphone text and facebook with his girlfriend to blackmail me and go away with my daughter.although it cost me some bucks but i think it worth it.thank you again ,god almighty will bless you .</p><p>contact him on almightyhacker777@ gmail .com for anything you want to fishout from cheating spouse,tell him Diana sents you.he is rude but pamper him like a child</p>
<p>In your tutorial there are instructions for situations when you need to use your mouse in your script. What about when you need a keyboard key to be pressed ?</p><p>(by the way the tutorial is very helpfull and sorry for my english)</p>
<p>In the help documentation within autohotkey there is a search feature. Type in key or keypress and it will give you all the information and examples you need, much clearer than I can provide.</p>
<p>check this out. This is the guide i used to build my bot</p><p><a href="http://code.tutsplus.com/tutorials/how-to-build-a-python-bot-that-can-play-web-games--active-11117" rel="nofollow">http://code.tutsplus.com/tutorials/how-to-build-a-...</a></p>
<p>Help plz... not sure whats going wrong. essentially i copied your sample and built on it. this is the first time I have done this sort of thing so advice would be amazing. Script i have follows:</p><p>Loop, 2 &lt;----- This tells the script how many times to repeat the entire script<br>{<br> Sleep, 5000<br> Click 724,397 &lt;----- This tells the script to click at the position 473,450 on the screen<br> Sleep, 1200 &lt;---- This says to wait 1.2 seconds before continuing<br> Click 640,876<br> Sleep, 1200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 634,855<br> Sleep, 200<br> Click 461,842<br> Sleep, 200<br> Click 461,842<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 1004,854<br> Sleep, 200<br> Click 826,842<br> Sleep, 300<br> Click 657,471<br> Sleep, 31000<br> Click 724,397<br> Sleep, 40000<br> Click 646,611<br> Sleep, 3000<br> Click 493,870<br> Sleep, 1000<br> Click 755,730<br> Sleep, 500<br> Click 557,725<br> Sleep, 50000<br> }</p>
<p>From the debugger it appears as though there is an error at line 16 in your code. They line in question seems to occur before the loop counter so im not seeing it in the code sample you provided. Try to remove any header in the file and clean up any stuff outside the loop.</p>
m new hea .... i rili like dis site ... lots of info to my interest ... kip up da good wrk guys .... :)
can i use sharpkeys?
Love your tutorials, this helped me make a very simple keylogger.<br><br>Im know addicted to AutoHotKey :D

About This Instructable

34,998 views

6 favorites

License:

More by jf78: Create a super fast wifi hotspot Securing your pc: 007 style! Hex editing item quantities in TES: Skyrim (Xbox)
Add instructable to: