Method to Determine if a Macro 'Prompt for User Input' or 'Prompt with List' is Open?

Within a macro, is it possible to determine if any Prompt for User Input or Prompt with List windows are open?

I suspect that this is a job for AppleScript.

Something like this?

tell application "Keyboard Maestro Engine"
   return count of windows
end tell
1 Like

Yep, that did it. Thanks, @ccstone.

1 Like