TimeSnapper Pro 2.4 is a magnificent application that lets you configure it to make automatic screen captures at intervals you decide, or record everything that happens directly to video during that interval. The recording will show everything that has happened on that PC.
It lets you apply filters to all captures made, so you only get what interests you. It also comes with a tool that details all the programs used, and the percentage of time used on each one.