![]() ![]() If you post a topic that says Just Cause 2 won't work with Autoit, you probably won't get much help. If you can't get game xyz to launch, close or work as expected, try to make a reproducer without the game involved. Lastly, talking about gaming per se or coding for bots etc is a no-no. Also not having to install things like XBMC or other software to run your code helps. Having a paragraph of code to look at makes it much easier to get help. That way, if one piece of it doesn't work like you expect it to, you can post a fully contained reproducer that is relatively SMALL. ![]() Honestly the example script for ispressed is very close to what you would want.īreak it down into small steps. Create a simple test script that will run notepad when the 'A' key is hit. Don't worry about the controller or XBMC at all at this point. I know it can seem a lot to grasp at first, I would recommend getting a handle on how ispressed works first, because in doing that you will get a basic idea of loops. Well in a nutshell, you want autoit to monitor processes (so you know when stuff closes, etc), and monitor certain keypresses, and do stuff.įor keypresses, your looking at Ispressed in the help file, and for the process stuff you need a loop, and processexists (you could use processwaitclose, but I think that won't be best in the long run).
0 Comments
Leave a Reply. |