Author Topic: Repeating Inputs  (Read 868 times)

Droth

  • Guest
Repeating Inputs
« on: May 08, 2019, 06:05:49 PM »
I just bought VoiceAttack.  I can't use a keyboard very well and I'm trying to get VoiceAttack to repeat a command a variable amount of time.

Example:
prefix: jump suffix: {variable} times

So, I say jump it presses the space bar and if I say four times it adds 3 more space bar presses.

Thanks in advance for any assistance in this matter!

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Repeating Inputs
« Reply #1 on: May 08, 2019, 09:04:01 PM »
Are you using prefix/suffix for a specific reason?

This can be done with a single, full command:
jump [2..10] times
Code: [Select]
Start Loop : Repeat [{TXTNUM:"{CMD}"}] Times
Press Space key and hold for 0,01 seconds and release
End Loop

Droth

  • Guest
Re: Repeating Inputs
« Reply #2 on: May 09, 2019, 11:55:57 AM »
No specific reason, no.  Thanks for the help!