sumkid Posted November 1, 2007 Share Posted November 1, 2007 I am trying to make a program that will record what you press and write it to a au3 file so it will make a bot for you. this is what i have i used "I" for an example: While 1 FileOpen ( "Bot.au3" ) If Send ("{I down}") Then FileWrite ( "bot.au3", "Send ("{I Down}")) $time=TimerInit () If Send ("{I up}") Then FileWrite ( "bot.au3", $time ) FileWrite ( "bot.au3", "Send ("{I Up}") EndIf EndIf WEnd im not sure what to do all i know is this gives me an error saying undetermined string. any ideas? Link to comment Share on other sites More sharing options...
JamesDover Posted November 1, 2007 Share Posted November 1, 2007 Awesome i'm glad the gaming bot is not dead. So I am guessing you want to capture the key strokes while the game is running? James Link to comment Share on other sites More sharing options...
sumkid Posted November 1, 2007 Author Share Posted November 1, 2007 yeah or capture any keystrokes Link to comment Share on other sites More sharing options...
Nevin Posted November 1, 2007 Share Posted November 1, 2007 check out: http://sourceforge.net/projects/autoit-recorder/logs what you do, and it's already formatted for use in autoit scripts. Link to comment Share on other sites More sharing options...
sumkid Posted November 1, 2007 Author Share Posted November 1, 2007 nice thanks Nevin Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 1, 2007 Moderators Share Posted November 1, 2007 Didn't Valuater do something like this? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
HeffeD Posted November 4, 2007 Share Posted November 4, 2007 Do a search in example scripts for Macro Gamer. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now