Page 1 of 1

DOWN intertwined with PGDN?

Posted: Tue May 24, 2022 7:24 am
by sydneypais
Please fill in this template when posting!
XMBC Version: 2.19.2
Installed or Portable version: Installed
Windows Version: 10
Mouse Information (brand/model): Gaming mouse with Buttons 4 and 5, no left/right scroll on wheel
Relevant Computer Information (CPU, RAM etc): i9 / 32Gb
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?: Just a few days
What language and keyboard layout do you use in Windows?: English / US International

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).:
-----
Let me start to point out that I find this an awesome piece of software.

I have managed copying an image on a website to the clipboard by using the 'Simulated Keystrokes' option assigned to Button 4.

Even adding an ALT-TAB to give focus to the "previous program" works flawlessly.

Yet there is one IMHO unexplainable "side-effect." It seems that (after a right-click on the image) every {DOWN} (to move to the next item on the opened menu) also generates an automatic {PGDN} of the active page "behind the menu."

{RMBD} {RMBU} {DOWN}{DOWN}{DOWN} {RETURN} {ALT}{TAB}

I had included 3 {PGUP}'s to even it up, but that doesn't do the job. Neither before or after the {RETURN}.

I have a feeling the issue lies within the behaviour of {RETURN} as if it seems to overrule these "corrections." Actually, I see no {ENTER} option i.o. to select the chosen option.

As far as I know there is indeed some kind of difference between Return and Enter in Windows.

I'm pretty sure I'm doing something wrong in the programming of Button 4. Any idea?

Re: DOWN intertwined with PGDN?

Posted: Tue May 24, 2022 8:08 am
by phil
Firstly, there is no difference between the enter and return key (at least not as far as a keyboard/XMBC is concerned) {return} sends the return or enter key, call it what you will.

What simulated method are you using? When clicked?
It may be that you need to add a few delays in there {WAITMS:50}
You should be able to avoid the {DOWN}'s completely.... Depending on the browser, firefox for example, copy image is ALT+Y, Edge, I think just Y,

so you could do... {RMBD}{WAITMS:50}{RMBU}{WAITMS:50}Y{WAITMS:50}{ALT}{TAB} perhaps (for edge - it works here but I am on the latest beta so there is a chance that might make a minor difference)

What browser are you using? I'll give it a try here later after work with the same browser and see if I can reproduce.

Regards,
Phil

Re: DOWN intertwined with PGDN?

Posted: Tue May 24, 2022 11:48 am
by sydneypais
Hi Phil,

Thank you for your reply.

Alt - Y doesn't copy images, but your {WAITMS:50} did the trick !!!

What browser are you using?
I'm using FireFox and Tor Browser. Both the latest version installed.

What simulated method are you using? When clicked?

I'm using '1 As mouse button is pressed' with 'Block original mouse input' left checked and the other two unchecked. As is default.

Is my pc too fast? It is one of the fastest money can buy....

Many thanks and regards,
Sydney

Re: DOWN intertwined with PGDN?

Posted: Tue May 24, 2022 11:51 am
by phil
The PC is not too fast (no such thing!), but without delays, your potentially sending the keys before the menu has even appeared! And that's going to cause no end of issues, so a little delay (you probably wont notice 50ms) is often a big help to let the other application do its thing!

Re: DOWN intertwined with PGDN?

Posted: Tue May 24, 2022 11:54 am
by sydneypais
It did.

Thanks again, Phil :D

Re: DOWN intertwined with PGDN?

Posted: Tue May 24, 2022 8:39 pm
by sydneypais
As I believe in this great product (and customer service) I have just donated £10.

Kind regards,
Sydney

Re: DOWN intertwined with PGDN?

Posted: Wed May 25, 2022 8:37 am
by phil
Thanks :)