Page 1 of 1

I need a little help with a macro.

Posted: Wed Jul 18, 2018 9:33 pm
by Tanker10gaming
XMBC Version: 2.17
Windows Version: Windows 10 pro
Mouse Information (brand/model): CougarGaming Deathfire EX
Computer Information:
How long have you used XMBC?: about a week
What language and keyboard layout do you use in Windows?: English, international

Clear description of the problem:
I play League of Legends and I want a macro that shields an ally and also types UwU in all chat. I made it so that I can type UwU in all chat but it's either all capital or all in minor letters. [It's on the during option since the functional part of the macro (e{F5} only works in during)]
Here is the text I used - 'e{F5} {Enter}/al{WAITMS:30}l {capslock}{WAITMS:30} U{WAITMS:30}{capslock{WAITMS:30}w{WAITMS:30}{capslock{WAITMS:30}U{WAITMS:30} {Enter}{WAITMS:30}{capslock}'
My question is in what way should the text get changed in order to display "UwU" and not "UWU"/"uwu" in all chat.

Thanks!

Re: I need a little help with a macro.

Posted: Wed Jul 18, 2018 9:54 pm
by phil
Hi,

when using DURING, the keys are all pressed when the button is held, and released when the button is released. So this may be a little tricky because essentially you need to {SHIFT}<key> then to change case, you need to release the shift before sending the next key.

{shift}wu{shift}w would work using "on press" or "on release" but thats no good for the F5 and during does not release the key until the button is released...

Put simply, using the during method, I don't think its possible right now, without changes to XMBC (and that may not be practical but I will have a look).

Re: I need a little help with a macro.

Posted: Wed Jul 18, 2018 11:35 pm
by Kukurykus
There are some spaces between some keys and after two capslocks there are not closing brackets.

Re: I need a little help with a macro.

Posted: Thu Jul 19, 2018 7:52 am
by phil
Well spotted but I don't think it will matter... I have tried several different ways to do this, but the fact remains that the during methods presses the keys in a row when the button is presses and does not release ANY of them until the button is released.

The new tags in 2.18 beta don't help here much either :(

Re: I need a little help with a macro.

Posted: Thu Jul 19, 2018 9:08 am
by Tanker10gaming
Thanks a lot for trying to solve this. I guess I will just assign the stand alone text to another key.

Re: I need a little help with a macro.

Posted: Thu Jul 19, 2018 12:32 pm
by injtsvetkov
What about the "paste from clipboard" tag, isn't it possible to paste "UwU" after the "e{F5}" macro :roll:

Re: I need a little help with a macro.

Posted: Fri Jul 20, 2018 8:15 am
by phil
That might work in notepad, but I doubt very much the game will respond to paste from clipboard!