You can do this using the Accessibility APIs. (I know I've done it)
Unfortunately I no longer have access to the source code of the ap I
did it in, but its not too tricky.
Once you have read up on Accessibility, you just want to change the
kAXMinimizedAttribute of an AXWindow.
Matt Gough
Hi,
Have searched the net a lot and even tried AppleScript-enabling the
app, but nothing would work.
My app should be able to bring to front another cocoa app's window to
the front.
I have tried SetFrontProcess(), but all it does is to bring the menus
to the front and not the minimized win