@marcus
well the idea was to repeat what was last said by the TTS ... James brought into light that I missed that it will repeat any other command ... so if a command deletes a file, using this it will try to delete it again ... that is why in last version 2.207 (the new sexy J.Lo, I mean VC
) James introduced TTS.GetLastSpoken ... so this command must be split in two commands:
1. repeat last action ... which is this one above (or yours)
2. I beg your pardon or Say that again ... which is simply TTS.GetLastSpoken then TTS.Speak {LastResults} ... however, TTS.GetLastSpoken is not working for me with ivona voice... always get an error (nothing was spoken) ... I should report this in the bugs ...
now as for your command, first I should say great minds think of different ways to reach the same goal
I think you did a better job than mine ... I put the IF to avoid an infinite loop if one says I beg your pardon twice. My approach is to put those possible phrases in the IF statement ... so it limits the phrases and if one change them in the syntax, one must follow up and change the IF statement ...
your command solve this in an elegant way ... will switch to your method
P.S. I did not forget about writing the post about my set-up... but those days hardly have few minutes for VC ...