It seems that “Bring window to front” doesn’t unminimize the window. Is that intentional?
Its intentional in that all it does is ask the system to bring the window to the front.
Whether it should do more is a different question.
Ok. I just added unminimize to all my scripts which fixes it fine. It just hadn’t occurred to me that a minimized window could be brought to the front, but I guess it is moved to the front of the minimized stack.