automatically repeats one sentence.

Dear Developer

I want to hear a sentence over and over again.
But I always have to press the s button.

If I want to hear it 500 times, I have to press the 500 button.
I have a back and neck problem. It’s hard to study while holding down the keyboard.

I need a function that automatically repeats one sentence.
For example, using the w key.

Thank you always.