Even when I use "is down" as the hot key trigger, Keyboard Maestro is still noticeably slower to react than System Preferences. "Is pressed" is even worse.
This is very noticeable when using the tab-switching shortcuts above. It's very fast to tab-right using System Preferences. It feels comparatively laggy to tab-left via Keyboard Maestro.
Is there any way I can modify Keyboard Maestro to have the same performance as System Preferences? Or is this an intrinsic advantage of System Preferences keyboard shortcuts?
I'm using a 2018 15" Macbook Pro with 16GB RAM. I do not think the hardware specs are introducing any lag.
The Keyboard Maestro behavior seems relatively fast and fine... it's just not as fast as System Preferences.
I've been using those tab-switching keyboard shortcuts for years and am used to an immediate response response. Any delay seems extremely laggy by comparison
System Preferences seem to input the action immediately when the key actuates into the "down" position. Keyboard Maestro has a small delay. Because I'm so used to the fast response, it feels almost as if KM is waiting for a Key Up before activating the command. (I'm using "is down" as the trigger).
I'm mainly wondering if this delay is some special setting I can tweak in KM, or if it's a bottleneck introduced by the OS / where KM sits in the input stack. In that case I will likely go back to using System Preferences for the better performance, at least for certain actions such as this.
I wanna [Title](URL), but sometimes KM gives me this @[Title](URL), which mean the "Simulate 3 deletes before executing" is slower than SP and sometimes went wrong.
Since we are talking about lag, I notice a lag when copy & paste from one MS Excel worksheet to the other Excel worksheet. I am just copying a 5x5 cells. Similar behavior is noticed when copying from one Word doc to another Word doc. Since I have KM, Alfred and Copied app installed, and I assume they are all having a version of their own clipboard, I wonder if MS is making 3 copies everytime I press CMDC to copy into 3 clipboards. The lag can be annoying when trying to rush to do some work.
I am using a 2017 MacBook Pro Esc with 8GB - maybe this is the reason too.. do you guys notice a lag when copy and paste in Excel?
That may be the issue. Try a simple hotkey trigger.
Since you also have a fast Mac, I guess this is a matter of perception (unless the above remark is the cause). I don't notice any lag, certainly not "extremely laggy".
"is pressed" seems the same as "is down". It feels worse really due to not being able to hold down the key, but I think the lag for one press is the same.
KM is not extremely laggy, but it sure feels that way next to the immediate response of System Preferences. That's the problem, that I'm used to one speed and anything slower than that feels laggy.
Try setting it up like I did in the OP. Tab Left using KM, Tab Right using System Preferences.
Cycle through your tabs using both together. I think you'll notice the lag I'm seeing.
Really hard to communicate in a gif because the timing is from Finger > Key > Action. If you can't see the finger and keyboard input, you can't see the issue.
Surprised you can't tell the difference, because KM clearly has more lag in practice.
or you typing an extra character after the trigger (eg a space)
or the system translating the lj into something else via a system shortcut.
Command-V pasting will often be slower than typing a few characters, but then typing a large number of characters will be slower as well. In either event they will be slower than the system shortcut system which can insert the characters directly into the field without using the clipboard, the menu, or any kind of AppleEvent communication.
This is covered elsewhere. Since Microsoft decided that it would be a good idea to make available an image of anything you copy in about twenty different image formats (including very expensive PDF) every time you copy anything, and since Keyboard Maestro records the clipboard faithfully, there is a lag. Either Microsoft will have to change this, or you will have to exclude Microsoft apps from the Keyboard Maestro clipboard history (Preferences ➤ Excluded) or turn off Keyboard Maestro’s clipboard history (Preferences user manual section), or I will have to adjust Keyboard Maestro to not faithfully record the clipboards produced by Microsoft applications.
I use Chinese so I have to press Space to choose characters (or choose from list / touch bar)after typing. Maybe this is why I have trouble with the text expansion macro.
My style of typing is the same as ever, I have been using KM for about 4 months, and this is the first time I encounter this problem. but I do find some rules in the problem: If I typed @l then take a pause before typing j, it will be more steady.
I will consider adding an InputMethod Switcher to my text expansion macro.
This works! Changing to the action "Select Previous Tab" in the Menu "Window" entirely eliminates the lag and brings KM in line with the speed of System Preferences.
Seems like Apple Script is causing the lag I'm experiencing. Thanks!