Hi all
I'm using keyboard maestro to continuously search for a element on the screen which is refreshing every second. The macro will then click on the element when it does eventually appear (i.e. a button on the website). The macro needs to be really fast due to the nature of the task, but I've noticed there is a noticeable delay from when the element appears on the screen, to when KM clicks on it. I'm guessing this is to do with the screen refresh rate. My question is, what is the default screen refresh rate for KM and can it be lowered so that it is scanning the page more often.
Thanks
Difficult to say without seeing the rest of the macro. If you are "continuously searching" then there's probably a loop involved, which you haven't shown. But if all you are doing is reacting to that image's presence I would use a "Pause Until..." rather than repeated "If"s.
Also, do you need to search the totality of "all screens"? Couldn't you at least limit that to a window or something? Less to search will mean a quicker response, whatever else is happening.
"Screen refresh rate" has nothing to do with KM's speed.
I noticed you are using a "Deactivate Macro Group" action. This may be the cause of your problems. I don't think that action works instantaneously. I believe it can take several seconds for that action to take effect. Your next step is to rewrite your macro to remove that action, and then see if it works much faster, as I think it will.