I'd make a command and call it what you want to say to start the 10 presses, like "Execute Combo."
You could also have it trigger when you press some key, to save your voice. VA allows multiple inputs to trigger one command.
Anyway the awesome Execute Combo command would have about two or three lines. Just to wait for mouse click and then press R.
Instead of copy pasting that to repeat it, there's a box near the bottom right of the VA Edit Command interface which lets you tell a command to repeat (X) times so you'd just type 10 in that box and you're done.
Myself I would add a cancel command, activated by voice and optionally a keypress, called Cancel Combo. That would only have one line, to stop the other command.
So the code for both could look like:
"Execute Combo" (or whatever you want to say):
Say something with text-to-speech: "Engaged"
Start Loop While : Left Mouse Button Is Not Pressed
Pause for 0.05 seconds (just be sure the loop doesn't waste processor time)
End Loop
Press R key and hold for 1.9 seconds
(in bottom options, type 10 into the Repeat this command X times box)
(in top options, can add a keypress which will work as well as the voice control)
2nd VA Command, for safety -
"Cancel combo" (or whatever you want to say, and an optional keyboard equivalent):
Kill Command "Execute combo" (or whatever)
Say something with text-to-speech: "Cancelled"
(Do not type a number into the repeat box for this one!)
If you already have a big command full of steps which does other stuff with this 10-R pattern in the middle, you just put:
Start another Voice Attack command: "Execute combo" (and wait for it to complete)
in there.