Page 1 of 1

Macro in game

Posted: Thu May 07, 2020 9:12 am
by BzyxXx
XMBC Version: 2.19.1
Windows Version: WIndows 10
Mouse Information (brand/model): Normal for 5$ :)
Relevant Computer Information (CPU, RAM etc): Notebook
Did the problem occur after an upgrade of XMBC? (If so, from what version?): No
Did the problem occur after a Windows update/upgrade? (If so, from what version?): No
How long have you used XMBC?: 1 day :)
What language and keyboard layout do you use in Windows?: Polish

Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).:

Dunno if there is option what I want. I made macro to using skills in game to leveling. Game is in window mode. Everything work fine, but when I leave game window and make some other stuff macro stop. There is any way to make macro work on game and still can do other stuff on laptop?


Re: Macro in game

Posted: Thu May 07, 2020 1:37 pm
by phil
No. XMBC sends input the the Windows input buffer - which goes to the focused window. It can not change the destination - its exactly the same the the keyboard, if you are in application A, you cant say well ignore that and send the input over there, without changing focus to that application over there.

The only exception would be if the target application had an API that allows you to send information/instructions to it without using the normal input methods (if it registered global hotkeys for example like some media players) and in any case, that likely wouldn't work with XMBC without significant changes so XMBC could support said API or run a script to do it. But lets face it, this will NEVER be the case for games.

In fact, many games block XMBC (and anything using Microsoft's SendInput API) anyway because it is considered cheating - also bear in mind that some games may ban you for doing things like that (if they don't outright block XMBC)!