Jump to content

Problem with Send


Recommended Posts

This is for a game macro that I'm trying to do, problem is that y sometimes isn't sent (or possibly sent in the wrong order). I'm not really sure why, but sometimes it works and sometimes it doesn't.

This is my very simple macro:

Func _Test()
;TrayTip("Action", "Testing", 2)
;Slee(500)

    Send("y")
    Sleep(900)
    Send("{b DOWN}")
    Sleep(1000)
    Send("{b UP}")
EndFunc

Is anyone aware of a reason to why this would not work, I have the hotkey trigger on space. I have also tried with a delay after the func is called, but doesn't seem to do a difference. When I try the macro outside of the game, it seems to work the way it should.

Thanks in advance.

Edited by SpittingLlama
Link to comment
Share on other sites

Is anyone aware of a reason to why this would not work, I have the hotkey trigger on space. I have also tried with a delay after the func is called, but doesn't seem to do a difference. When I try the macro outside of the game, it seems to work the way it should.

What game is it? a lot of games have measures to stop cheating/hacking. Unfortunately for you this is not an autoit problem, so we can't help much...

MDiesel

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...