Running script on timer?

hi,
is there a way to make a script execute, for instance, 25 times a second?
I’d like to make a custom digitizer and everything else seems quite straightforward.
If not, is it possible to execute script via some global shortcut key? I could emulate that maybe…

Answered here: http://blender.stackexchange.com/questions/442/how-can-i-create-a-script-that-runs-continuously-but-does-not-block-the-interfac#comment532_444