Tuesday, December 2, 2008

Preparing for Ludum Dare 2008 - Take multimonitor screenshots

It's part of the whole Ludum Dare experience to record your desktop every few minutes and create a movie afterwords which overviews your progress.

Since I recently became a proud owner of a second monitor, I found myself in need for a multi-monitor screenshot making tool. There are probably some utilities, which do exactly that, but I'm too lazy to look for them and decided to write my own tool.

This is just a very stupid prototype, which I will be using/testing during the competition. It doesn't save the files into one image but one image per monitor. That's kind of unfortunate, but composing picture from different DCs is no fun.

The other thing the program does is that it records which program was in foreground while you took the screenshot and records the data into sqlite database

So afterwards you can just start sqlite3 data.db and type in following command:

SELECT process, count(*) AS sum FROM work GROUP BY process ORDER BY sum;

You'll receive a nice overview about which application you used the most during the competition / monitoring time.

Here you can see my relative application use in the past 10 months on my work computer:

I spend more than 50% of my time in firefox

I guess I'm researching a lot :)

So for anyone interested, the download is - logger-0.1.zip (300 kB)

Thanks to Mark James for creating the amazing Silk icons.

0 comments: