I'm using WinMinimize in my script to minimize various windows to the taskbar
The default behavior for minimization is minimize to the taskbar. But some programs are set to minimize to the tray. They minimize to the tray when the minimize button on the program's window is pressed, but when WinMinimize command is used to minimize that program's window it gets minimized to the taskbar instead to the tray.
Any solutions to this problem?