Page 1 of 1

HOLDMS is working incorrect after latest update

Posted: Sat May 20, 2017 4:18 am
by JoXeR
After I upgraded to 2.16 HOLDMS command started lagging. As example i am using this line:

Code: Select all

Simulated keys: Repeatedly while the button is down
{HOLDMS50}R{WAITMS10}{HOLDMS50}T{WAITMS10}{HOLDMS50}2
At the moment you release the mouse button IF any of buttons above were (R or T or 2) in sequence of being "HOLD" by the macro - they will be pressed until you use macro again or press this "sticky" button on keyboard. I made a picture if you can't understand what I meant with that grammar :lol:
http://imgur.com/a/LPdbw
I rolled back to 2.15 - everything works fine now.

Re: HOLDMS is working incorrect after latest update

Posted: Sat May 20, 2017 10:35 am
by phil
OK Yes I understand, and I know why... It is a side effect of an intentional change, to release the keys when the button is released (mid sequence).
I guess the release is not taking into account that a key has actually been pressed down, so it is not released :(

I'll do my best to fix that in 2.17 beta 1, and I'll try and let you know when the fix is in place so you can test it.

Sorry about that,
Phil

Re: HOLDMS is working incorrect after latest update

Posted: Mon May 22, 2017 1:30 pm
by BriHecato
Joxer - Instead of {HOLDMS} try using {PRESS} - then {WAIT} - then {RELEASE} - then another press for next key.

Phil - You are aware that "{PRESS} Press down the following keys" still works for 1st and only one key, not for "following keys"?

Re: HOLDMS is working incorrect after latest update

Posted: Mon May 22, 2017 6:33 pm
by phil
Yes I am aware - I didnt get round to looking at that.

But anyway, the problem will still persist. If the key sequence is broken mid key, because the button is released, then the pressd button will not be released. I have already got a fix in mind for the HOLDMS but for press and release its going to be much more difficult... Because effectivly, it means you cant "break" the sequence mid flow (by releasing the button) in that example.

So actually better to use HoldMS (when its fixed) which is much easier to deal with!

Re: HOLDMS is working incorrect after latest update

Posted: Sat Jun 03, 2017 12:17 pm
by phil
Hi JoXeR,

I think I have fixed this now - and I have released a beta for 2.16.1 here

Please can you grab a copy from that beta post and let me know if it works for you (I think it will).

Thanks,
Phil