Please fill in this template when posting!
XMBC Version: 2.20.5
Installed or Portable version: Installed
Windows Version: Windows 10
Mouse Information (brand/model):
Relevant Computer Information (CPU, RAM etc):
Did the problem occur after an upgrade of XMBC? (If so, from what version?):
Did the problem occur after a Windows update/upgrade? (If so, from what version?):
How long have you used XMBC?:
What language and keyboard layout do you use in Windows?:
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).:
I want to perform a repetitive operation by right clicking
After right clicking, the A key on the simulated keyboard keeps repeating, while the Y key is pressed every 2 seconds and the U key is pressed every 5 seconds,
How should this be written?
I can do it individually, but I don't understand when executing it at the same time. Is there anyone who can teach me?
I want to use the right-click to perform a repetitive operation
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
-
yydyq520
- New User
- Posts: 1
- Joined: Mon Apr 27, 2026 3:14 am
-
phil
- Site Admin
- Posts: 8035
- Joined: Sun Apr 06, 2003 11:12 pm
Re: I want to use the right-click to perform a repetitive operation
You can not do different repeating things at different times on one button macro I'm afraid. There is only one repeat timer per button.... Actually in the release version, there is one repeat timer full stop. The latest beta made it one timer per button (so you *will* need that at a minimum, and even them, the best you could do would be to get a little creative with a more complex macro to combine those things into one script that repeats.
For example, off the top of my head... Assuming A repeats at about 1 keystroke in about 50ms:
{ou}{flush}ayuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayaaaaaaaaaaaaaaaaaaauaaaaaaaaaaaaaaaaaaayaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
And set that to repeat (method 6). {ou}{flush} should tell it to abort any existing repeating sequence as soon as you release the mouse button (no matter where it is in its sequence).
you may need to play around with the number of 'a's between the other less frequent keys. Its not going to be 100% accurate, but its the best I can think of the way XMBC currently works.
For example, off the top of my head... Assuming A repeats at about 1 keystroke in about 50ms:
{ou}{flush}ayuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayaaaaaaaaaaaaaaaaaaauaaaaaaaaaaaaaaaaaaayaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
And set that to repeat (method 6). {ou}{flush} should tell it to abort any existing repeating sequence as soon as you release the mouse button (no matter where it is in its sequence).
you may need to play around with the number of 'a's between the other less frequent keys. Its not going to be 100% accurate, but its the best I can think of the way XMBC currently works.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR5,
nVidia RTX 5070TI
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 11 x64 24H2, AMD Ryzen 9950x3D, MSI x870E Tomahawk, 64GB DDR5,
nVidia RTX 5070TI
Highrez Forums