Do Something while key is pressed AND held down
Fri, 04/29/2016 - 08:49 am
Here is the problem I am trying to solve.
I want to present a folders worth of images (~1000-6000) to a user basically as fast as possible and when they see a change in the image stop and flag the change and then proceed.
Today I am using a window hook to present the next image, but that requires a key press and release to work. For example I use the return key to load the next image. If I hold the return down, only the single next image is loaded and then it waits for me to release the key.
Is it possible (or a better phrase how is possible) to keep loading images while a key is pressed and then stop when released?