Front window resizes when I try to open a different window

Trying to open the Finder window but the front window resizes and centres first.

I activate Finder with Finder, Pause for 3 seconds and then open a window showing my iCloud contents.

Check to see if another macro is firing because of what you are doing.

You can do that in the KM Editor by selecting the "All Macros" Smart Group then sorting by date used (View -> Sort Macros by -> Date Used), or you can look at the last few lines of the Engine log (~/Library/Logs/Keyboard Maestro/Engine.log or, in the Editor, Help -> Open Logs Folder then double-click the "Engine.log" file).

Do you need the activation, the pause, and so on? A single Action should do what you want:

Thanks. I don't understand why KM does this. I had a very simple script. My screen capture macro does something similar.

Apple does not let users take a screen shot, save it and copy to clipboard as well. You can only choose one or the other. So I turned to KM. it worked fine but after trying to use an alias on my desktop, KM stopped working. I went back to my previous capture system but every time I use the hot key, I get the window resize and center thing. This macro has several time and location variables, so I'm guessing I got it from a forum or something, because I wouldn't know how to set those things up.

If you post your macro(s), I'm sure we can figure out what's going on -- and if there's nothing in those macros, then you have some other utility app that's managing your windows for you. Do you use any window management apps?

-rob.

The macro is to long for one screenshot,

I use Rectangle

First off, you can share the actual macro (and a full screenshot) by using the Share button in the toolbar. Select the macro, hit the Share button in the toolbar, select Keyboard Maestro Forum, don't change any of the settings except perhaps the category, then click New Topic. (If you're wanting to add it to an existing thread, like here, just copy and paste everything from the new forum post it creates, then discard the new forum post.)

Your macro doesn't touch windows at all, so whatever is happening is either in another macro, or (my guess) Rectangle. To see if it's another macro, use @Nige_S' advice above about seeing the last used order for all your macros. But the behavior you're describing really feels like something Rectangle would be doing, so I'd look there, probably first.

-rob.

Testing

Yes. It's Rectangle. Thanks for helping me track that down. Rectangle has it's own semi-nonintuitive things going on as well.

Glad you got it sorted!

-rob.