Jump to content

Keyboard Automation Script


geocine
 Share

Recommended Posts

i didn't recieved any replies from the v2 section.. maybe because i have the v3 version. might as well post it here

I am new to autoit. I tried autoit to make scripts for my installers, because my friends are having a hard time in installing a ceratin application.

I have read all the tutorials in the documentation section.

I just want to ask if Autoit can do this certain task. And could you give me an idea what keywords i should use. How can i start coding the script.

A keyboard script that will do this.

each button corresponds to a certain key in the keyboard.

Posted Image

when the "discs hit the buttons"

Posted Image

Posted Image

the script will send a key to press the corresponding buttons for each discs

Doing This:

Posted Image

Objective: A bot for O2JAM [this is the game]

Edited by geocine
Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%
Link to comment
Share on other sites

could you please give me an idea how i can do this stuff..

Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%
Link to comment
Share on other sites

for example i got the pixel.. what command can i use to .. do this.. if the pixelsearch == true.. then send "{S DOWN}" but but if pixelsearch == false then send"{S UP}" .. help me please

$coord = PixelSearch(402,44,506,109, 0x4B52FF, 10)
    If Not @error Then
        Send "{S DOWN}"
    Elseif @error Then
        Send "{S UP}"
    EndIf

but what I want... is the script will keep on holding down S until the color is gone... how should i do that

Edited by geocine
Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...