/r/AutoHotkey and http://ahkscript.org/
> Why ahkscript.org?
> AHKScript.org is a new community consisting of the active AutoHotkey developer(s) as well as other enthusiasts. Unfortunately, the old autohotkey.com domain is not under the control of the developers and it continues to promote an outdated version of the software. New users are encouraged to migrate and participate at this new site.
However, we're working on a merger, so this won't be true for too much longer
If you don't want to get your text editor out, Pulover's Macro Creator Is ok as well.
>Pulover’s Macro Creator is a Free Automation Tool and Script Generator. It is based on AutoHotkey language and provides users with multiple automation functions, as well as a built-in recorder.
Fastclicker if all you want to do is click. It's a tiny program and works perfectly.
Macrocreator if you want to do pixel detection and stuff.
Both are the best I've found after many many many hours of searching.
first thing I would suggest is to abandon the concept of alt-tabbing to change focus, this is only good for humans who can use it in conjunction with an interface, or when there is no way for your program to know in advance what it's looking for. instead use commands like <code>winactivate</code> with named titles and classes to focus them directly.
you could also try a wysiwyg editor like Pulover's, though there's really no substitute for the manual. going through the 'basic usage and syntax' section of your manual index would help you out immensely here, and save hours of trial and error.
You can set up a macro to click "Respawn" then click your "Map" then click the place where you want to farm, then turn "Auto" back on.
You can set this up to trigger when your screen shows the "Respawn" button. But you need a macro that can handle images (Like http://www.macrocreator.com/).
you're not getting past the captchas without a custom OCR bot, that's what it was designed to do, prevent scripts like this from automating logins. which is beyond the scope of this forum and you won't be likely to get help for that here
focus on the scriptable input, you're basically halfway there if you had the motivation to compile an order of operations. now it's just a matter of converting each step into commands with the proper syntax
look into pulovers macro creator for a wysiwyg editor that has beginners ui support for this language, use with your manual to figure out basic commands
I use this for everything. It's great and does the job perfectly. Takes a little bit of time to learn but once you do, it's wonderful. It can mimic key strokes and mice clicks and has limited pixel detection.,
What do you mean by recorder? Like a macro recorder?
I don't think AHK ever came bundled with a recorder. But there's always Pulover's Macro Creator which can be used to create AHK macros.
Never tried it myself though.
How about Pulover's Macro Creator? It's an extension to AHK but with a much more rich feature list. It adds a GUI, can create If/Else statements, control mouse movement, window management, control files and strings and even has a built in image recognition to search for images/pixels.
I've created things with it that have saved literal thousand hour workloads at my job. It's great.
> such as input fields or buttons, so i often can't tell ahk to press button named Button7, for instance
Yes, and this is why applescript was so good. Apple's constant haranguing of developers made them feel that their app wasn't good enough unless it also had an Applescript API. No similar pressure on Windows. But now that's gone, they're much the same as each other: do the minimum necessary, just throw buttons on window and call it done. With Linux, the saving grace is that often "apps" are actually skins around command-line tools, so just script it with the command line. But then there are apps that aren't, so often you need to rely on the developers themselves seeing a need for a clean API/library->UI gap, or to natively support their own scripting, like GIMP.
I agree AHK is more alive, but I don't like it much as a scripting language. It's somewhat verbose, and even more so if you don't have the Applescript-style "tell photoshop to open file X then run filter Y then save as X.processed.jpg" (so Adobe can then sell you lightroom or bridge) but instead have to move to specific UI components and ask they they be clicked; that's high-level intent vs low-level intent. Also, AHK doesn't have anything that comes with it like Automator, the tool that'll write your script for you by observing what you do, but for that I quite like Macro Creator which is powered by AHK.
I agree with the other poster about Autohotkey. It's great for quick and dirty solutions, but learning how to use it is not, itself, quick and dirty.
There is a little tool called TinyTask that I know about because it's on PortableApps.com.
If you want to try AutoHotkey, you can use Pulover's Macro Creator to record your actions into AhkScript.
You can use something like MacroCreator to record actions to generate an AutoHotkey script... but there are definitely times when you'd need to tweak it if it doesn't work right (i.e. awaiting things) http://www.macrocreator.com/
Not really because for me to say i have little experience using autohotkey would be a laughable understatement. When you install it though they have a tutorial for basic things such as making when you type "LMAO" making it say "Laughing my ass off" and that same concept can be applied to hitting the F9 key resulting in "( ͡° ͜ʖ ͡°) "
Any macro's i have made is with this: http://www.macrocreator.com/
It is alot more simpler than autohotkey but is also probably more limited when it comes to complex things (I have only done very basic things with it so far)
Autohotkey is a neat program and not terribly hard to use or read you can use a program such as http://www.macrocreator.com/ to basically record your screen movements/clicks and then export it to an autohotkey file. And or you could just check out autohotkeys site and learn to write some simple scripts, works for more than just gaming.
by 'is it even possible' if you mean 'is there a simple way you can show me', then no. if you just mean 'can it be done', then yes, always yes, stop asking that.
there are some script projects out there that will do macro recording to play these actions back, but real time is a bit trickier since you have to consider scaling and focus, and propagating these actions to a variable number of targets. which you would still need to figure out how to implement either way, even if you wanted to do a custom playback method.
though I would seriously reconsider this line of reasoning tbh, it's not a common use case because people would normally just script these actions and distribute them on the clients, way more simple and practical than trying to duplicate them in real time.
Autoscriptwriter.exe should be installed with ahk in the same directory. I also recommend smartgui for easily making gui script, should be easy to find with Google.
EDIT: You might also want to check out Pulover's Macro Creator. It's a little better than Autoscriptwriter IMO.