Jump to content

Recommended Posts

Posted

I need that auto it press the "ò" key, not that he write the ò key e need to really send it ^^ but i'm noob with auto it and i dunno what to do.

This is what i've done

HotKeySet("+{F9}", "_Terminate"); Closing macro
While 1
    If WinActive("2Moons") Then
        sleep(2000)
    Send ("ò")
    Else
    EndIf
WEnd

Func _Terminate()
    Exit
EndFunc
Posted

nono this is not the problem, my keyboard have the button "ò" and with the command

send ("ò")

it write in the programm the letter ò, but i dont need to write it, i need to press it.

I explain:

if the program write "ò" i simply send a message "ò"

i need the program pressing the key "ò" so it will attack ^^

Posted

ok dunno why but it works with every program excepet all the games i try; untile the active window is noped it send ò key, but when i change to 2moons, or anything else it doesn't hit anymore

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
  • Recently Browsing   0 members

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