Cycle through windows — way to skip minimized windows?

I use the following macro to cycle through open preview windows:

However, if a Preview window is minimized in the dock, this macro doesn't work because the macro tries to open the minimized window.

Is there a way around this (i.e. to exclude minimized windows from the window count)? I do not want the minimized window to open, I just want to cycle through the currently open windows.

I think just changing the cogwheel setting so the action does not fail would do what you want.

1 Like

@jonathonl Thanks for the reply. Still not working though, even with that turned off.