Jump to content

Recommended Posts

Posted

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?

  • Moderators
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...