Screen capture app that captures a window even when minimized?
You are making the assumption that windows are always updated when minimized. This is not the case. This also applies to apps present on other spaces. 

In other words, this is not possible.