I would like to trace the mouse-paths / clicks over the tuxpaint interface - to produce sort of a heatmap overlayed on the tuxpaint interface which gives an idea about the heavily used areas (icons) in tuxpaint vs. the rarely used - and compare it across different age groups. Do you know any existing tools that I could use for this purpose ?

Right now an existing tool that comes close to what I want is IOGraph http://iographica.com/ . But it lacks several features that I want - key being the ability to control it from command line - so that I can script it for my observation study.

--
Mohan