Page 1 of 1

Keystrokes don't work

Posted: 11 Oct 2012, 01:17
by cyko
Hello,
I want to simulate keystrokes in a game, but I can't get it to work with Actionaz, even if I set the game window to foreground to make it "active".
This is how my test macro looks like: Image
It is supposed to press enter in the game, but nothing happens.
How can I achieve to simulate pressing enter in-game?

By the way, I also had problems with simulating mouse clicks in-game. If I choose "press and release left mouse button", it doesn't work; but if I choose "press left mouse button", it works. :?
Is this normal?

Re: Keystrokes don't work

Posted: 11 Oct 2012, 07:44
by Jmgr
Hi,

It depends on the input system the game uses. Have you tried to set the "Type" of the key to "DirectX" in the advanced parameters ?

If you press and release a mouse button too quickly then it can happen that the whole event is not captured by the game. In that case you may use two separate click actions; one to press and one to release. You could use a pause action between them to test if this is the source of this problem. (a future version of Actionaz will add a parameter to set the pause duration bewteen a press and a release in the click action)