in reply to Hide/Show another application window

This greatly depends on your OS, also depends on permissions to do that.

Win32 has module Win32::GutTest which has enough functions to find and control applcation window. As another way if your application implements IDisplatch interface, you can manage it by using Win32::OLE.

Can't give you help for other OSes

Good luck!