Two Dialog Windows

I get this issue on and off with my macros where two dialog windows pop up for me. Has anyone else seen this or know how to fix it. Sometimes it goes away other times when I run the macro again it makes the second dialog box go away right away. Sometimes it takes quite awhile for it to go away.

It is not at all unique to this macro, but I've included it here since that's what I did a screen capture of.

At 27 seconds I just ran the macro again and the second empty Keyboard Maestro User Input window went away. The second time it just went away on its own a bit quicker. I have just gotten use to it but it would be nice if it didn't pop up the same window again empty. Again some days the same macro doesn't do that at all.

Two Dialogs

Two Dialog Windows

Screen Capture Example Used In the Above GIF

Super Fast Screen Capture and Rename - (1) Save Selection to Clipboard.kmmacros (48 KB)

Possibly a timing issue with the "Until" loop and the shell script test?

Do away with that shell script -- there's the "At this path" Condition that does the same job and, being "native", is less likely to give you problems.

That's interesting but it is not just this macro and does it with several other macros but not always. I don't get what woudl cause two dialogs to appeare even with a timming issue since it was only called once. It goes away by itself so it kind of seems like something else strange is going on.

Other things are going on, so you'll need to look more widely than this macro.

The only Prompt for User Input action in this macro is:

And that clearly always has “Screenshot” at the start, so no amount of token processing would result in an empty field.

So whatever is happening there are other things going on. I would be checking the Engine.log file to see what else is going on, and checking the Debugger window to ensure other macros aren't running.

Okay I will see what I can figure out on my own with the engine log. There are no other macros running when it happens.