Repeat function as long as key is pressed

Hi Stig,

The discussion in this topic might get you started, the main idea being a check to see if the hotkey is still depressed, and making/continuing actions based on that check.

Actually, it may be enough to change your hotkey to "is down" instead of "is pressed."