rapid fire simulated sequence but played out over a longer period

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
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.
Post Reply
User avatar
markifi
New User
Posts: 2
Joined: Mon Jan 29, 2024 1:27 pm

rapid fire simulated sequence but played out over a longer period

Post by markifi »

Please fill in this template when posting!
XMBC Version: 2.20.5
Installed or Portable version: installed
Windows Version: 10?
Mouse Information (brand/model): cheap genius
Relevant Computer Information (CPU, RAM etc): 260 hp
Did the problem occur after an upgrade of XMBC? (If so, from what version?): n/a
Did the problem occur after a Windows update/upgrade? (If so, from what version?): n/a
How long have you used XMBC?: 5 days
What language and keyboard layout do you use in Windows?: german

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 send {WAITMS:11}{LMB}m on RMB repeatedly while the button is down(mode 6). can i configure this in a way that it'll repeat as many times i press it, but with a 2000 millisecond delay between each simulated key-sequence? i "rapid fire" 10 times, but the keys would take 20 seconds to play out. "rapid fire" and walk away kind of operation. i don't understand what modes 4 and 5 achieve. thanks for the wonderful software.
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: rapid fire simulated sequence but played out over a longer period

Post by phil »

Hi, I'm not entirely sure what you want to achieve, but I will give it a go.
Firstly, options 4 and 5 are not really important. They are basically the same as options 1 and 2 these days (and can be considered legacy/redundant).

Now, Method 6 repeats the keys only while the button is held down (pressed). The number of times it repeats will be dependent on the repeat speed and the duration you hold the button down for. I'm not sure if that is really what you want, if you want a 2000ms (2 second) delay between each repeat, you could set the repeat rate to 2000ms (no need for the {waitms:11}, but this will send the key(s) only once, then wait for 2sec before repeating. And it will only happen while the mouse button is held down (I guess you will not want to be holding the button down for 20 seconds to get 10 repeats in that time??)

Perhaps you could be a bit clearer... Do you what to press and gold the button to do this, or do you want to press and release the button, but the action to continue repeating?

At the moment, there is no way in XMBC to set a repeated simkeys that stops itself after a time period. You can repeat when the button is pressed and stop repeating when the button is released (or optionally when any other button, key or specific key is pressed in the latest beta), but you can not trigger a repeat that automatically stops (on its own) in 10 or 20seconds time. That would be quite neat and maybe handy in this case - so its something I might look into adding, but its not available at the moment (and I'm not really sure if it will help in this case or not?!).
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
User avatar
markifi
New User
Posts: 2
Joined: Mon Jan 29, 2024 1:27 pm

Re: rapid fire simulated sequence but played out over a longer period

Post by markifi »

thank you for the quick reply. i just want to slow the action down so if i click the button 6 times it will do 6 times but much slower, if i click 100 times it would do it a 100 times within 200 seconds. i use a pc as a box for my tv and it's a nifty little setup, but everything is remote controlled using only a mouse, and the web based tv playback website implements a very annoying 10 second jump button which doesn't let me rapid click it like it's possible on e.g. youtube. so if i click, i have to wait for the buffer (500-1500 ms maybe) and only then i can click for another 10 second scroll. i know the duration of the non-programme segments so i could easily just click 10, 6, 18 times and if x-mouse button control would space those simulated left clicks out ("m" is there for muting purposes) 20,12, 36 seconds each subsequent click would land on the jump button. the 11 ms wait is a remnant from when i used mode 2, sometimes the original mouse input ({RMB}) wasn't blocked and a right click menu appered, so i just sent a left click after that making it a non-issue. well, none of these are really issues, i'm just wondering how to do it even better. i've been a long time autohotkey v1 user but for some reason it's being unreliable on this machine. i read half of the manual pdf and the faq, but didn't see a solution, there's a somewhat similar thread from 2018 but i didn't want to bump it up to the top as it wasn't exactly the same request.
User avatar
phil
Site Admin
Posts: 7670
Joined: Sun Apr 06, 2003 11:12 pm

Re: rapid fire simulated sequence but played out over a longer period

Post by phil »

Ahhh, I see.... that may be quite tricky.... effectively your saying delay the multiple physical clicks but still honor them, just with a delay (like adding to a queue that is filling quickly but emptying slowly. It makes sense, but its not something that XMBC can do right now. And I'm not sure but I think it will be quite a lot of work to implement something of that fashion into the existing code. I will have to have a think about that one (not now as I'm supposed to be at work!) :)
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Post Reply