Minimize a window with macro

Hello everyone,

Does anyone know the code to minimize a window?

I want the code to find the open assembly document that i have and just simply minimize it.

Evan

SolidworksApi macros