I have created some basic stuff for the game automation fraction.
It´s nothing new or special, just some basic stuff,
but it covers some FAQs in the help-section of the forum.
I made
some functions (just below), you can use in your own scripts
and some little tools:
A Click-Recorder/Script-Writer to record mouseclicks into ahk-scripts.
A SendMode/KeyDelay-Tester to quickly test different SendModes and KeyDelays with your own mouse-clicking and key-pressing hotkey or subroutine.
The folowing 7 functions are all independend of each other,
so you can copy only the needed ones:
There are two functions to let the user select a position or area on the screen.
definescreenarea
definescreenposition
There are four functions to randomly click/right-click in a certain screen-area.
randomclick
randomclickinarea
randomrightclick
randomrightclickinarea
The last function sleeps for a random time
Code:
code removed due to protest.
http://www.autohotkey.com/forum/viewtopic.php?t=81795
Attention: these are only functions, you need to incorporate them in your own script to get any result
check out the functions in the following posts, too ...
Keywords:
auto-mine , auto-click , auto-buy , automine , autoclick , autobuy , click , drag , randomly , random-click , random-sleep , random , auto , click , mouse , move , game , browsergame, automation , drag and drop , click-recorder , record , script-writer , script , writer