Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
DawnTreader
11 discussion posts
Hello

is there a way to create a macro that will automatically repeat itself until i give it a voice command?

if there isn't will that be something that can be added to the next version?

Thanks
Apr 3, 2017 (modified Apr 3, 2017)  • #1
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
You can get commands to repeat by using a scripts and two macros. The first script should set a setting, then while that setting hasn't been changed, it can repeat the command in a loop. The second should change that setting.

I put together a profile with a simple repeating command that should work for you. Here's how to get it working:

  • Download the file attached to this post
  • Open the VoiceBot Settings window
  • Go to the "Profiles" tab and click the "Import" button
  • Browse to the file you downloaded in the first step and select it
  • Click OK to close the Settings window and apply your settings

I hope this works for you!
• Attachment: Repeat Command (English United States).voicebot [5,452 bytes]
Apr 7, 2017 (modified Apr 7, 2017)  • #2
User Image
DawnTreader
11 discussion posts
Hello again

this is great!

i was thinking more of using a counter instead of a stop script but this will help across a few other commands that i have been using.

hey is there a way to see the list of available things like the "repeat_running" constant or variable or whatever that thing is?

thanks,
Alan
Apr 8, 2017 (modified Apr 8, 2017)  • #3
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
Sorry for the late reply!

There is a way to get all of the user defined settings that have been saved. All you need to do is use the BFS.ScriptSettings.GetValueNames, which will return a string array with every setting name.

To get the script I sent you to repeat a set number of times, all you need to do is change the code on line 12 of the repeat macro from:

Code

while(BFS.ScriptSettings.ReadValueBool("Repeat_Running"))


to:

Code

for(int i = 0; i < 10; i++)


Where "10" is the number of times you want the action to repeat. 10 in this example :).

I hope this helps!
Apr 26, 2017  • #4
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(2)  Login to Vote(-)