Page 1 of 1

Using layers for multiple macro's

Posted: Tue May 11, 2021 7:58 pm
by thereal09
XMBC Version: v2.19.2
Windows Version: 10
Mouse Information (brand/model): Free Wolf

Hello!

This is what I need: {F12}{WAIT:5}z{LAYER:2}
Then on layer 2, I need to start automatically Button 5 with simulated keys, {F1}{F2}{F3}{F4} spam 10 seconds, where I set to move to LAYER 3 in 10 seconds.
Then z{F11}{WAIT:5}z{LAYER:4}
Then on layer 4, I need to start automatically Button 5 with simulated keys, {F1}{F2}{F3}{F4} spam 10 seconds, where I set to move back to LAYER 1 in 10 seconds.
And so on.

It's changing layer, but then it stops. It don't start Button5 on Layer 2 for example.

Is there any way to make it works ? Or maybe other idea ?
Thank you!

Re: Using layers for multiple macro's

Posted: Wed May 12, 2021 10:40 pm
by phil
Sorry, I dont think thats possible (starting a button mapping on another layer without pressing the button).

There is a chance that you could do something like this:
....{layer:2}{MB5}
But I'm not sure if that MB5 would be interpreted for layer 2 or the layer you are coming from...


Sounds to me you'd be better off using Autohotkey for such complex macros (maybe a compiled AHK script which can be kicked off initially by XMBC?)