Unminimize or Fullscreen

This is the macro I use to bring back windows

Window: Bring Back.kmmacros (2.3 KB)
Window: Bring Back

It doesn't work all time. For example, if I want to bring the Notes window back this macro would bring Photo Browser instead.

And this macro either do nothing or maybe I'm using it the wrong way
I'm not sure if the word unminimize means "bring window back".

Unminimize a Window.kmmacros (1.9 KB)
Unminimize Front Window

Edit: I just found this workaround for Unminimize action