Pulse function needed

This seems like a good idea, but I believe the length of time depends on the length of the line, etc. Maybe an easier thing would be press to run, release to stop?