<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>VoiceBot RSS: Macro code to repeat itself until i issue a break voice command</title>
<atom:link href="https://www.voicebot.net/Discussions/RSS/?TopicID=fc68cdc2-9310-4d87-9709-36daafbdc591" rel="self" type="application/rss+xml" />
<link>https://www.voicebot.net/Discussions/RSS/?TopicID=fc68cdc2-9310-4d87-9709-36daafbdc591</link>
<description>VoiceBot RSS: Macro code to repeat itself until i issue a break voice command</description>
<lastBuildDate>Wed, 29 Apr 2026 19:16:23 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.voicebot.net/Discussions/RSS/?TopicID=fc68cdc2-9310-4d87-9709-36daafbdc591</generator>
<item>
<title>RE: Macro code to repeat itself until i issue a break voice command</title>
<link>https://www.voicebot.net/Discussions/View/macro-code-to-repeat-itself-until-i-issue-a-break-voice-command/?ID=fc68cdc2-9310-4d87-9709-36daafbdc591#4</link>
<pubDate>Wed, 26 Apr 2017 17:25:00 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/macro-code-to-repeat-itself-until-i-issue-a-break-voice-command/?ID=fc68cdc2-9310-4d87-9709-36daafbdc591#4</guid>
<category>VoiceBot</category>
<description><![CDATA[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 ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Sorry for the late reply!<br/>
<br/>
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.<br/>
<br/>
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:<br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019ddaabc5d875f98e58ae85294bcf53" class="ClipboardCopyControl"><img src="https://www.voicebot.net/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019ddaabc5d875f98e58ae85294bcf53Js'); return false;"><img src="https://www.voicebot.net/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019ddaabc5d875f98e58ae85294bcf53Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">while(BFS.ScriptSettings.ReadValueBool("Repeat_Running"))</pre><textarea id="code019ddaabc5d875f98e58ae85294bcf53" name="code019ddaabc5d875f98e58ae85294bcf53" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
to:<br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019ddaabc5db71cf8732573e6edf5e51" class="ClipboardCopyControl"><img src="https://www.voicebot.net/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019ddaabc5db71cf8732573e6edf5e51Js'); return false;"><img src="https://www.voicebot.net/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019ddaabc5db71cf8732573e6edf5e51Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">for(int i = 0; i &lt; 10; i++)</pre><textarea id="code019ddaabc5db71cf8732573e6edf5e51" name="code019ddaabc5db71cf8732573e6edf5e51" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
Where "10" is the number of times you want the action to repeat. 10 in this example <img src="https://www.voicebot.net/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />.<br/>
<br/>
I hope this helps!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Macro code to repeat itself until i issue a break voice command</title>
<link>https://www.voicebot.net/Discussions/View/macro-code-to-repeat-itself-until-i-issue-a-break-voice-command/?ID=fc68cdc2-9310-4d87-9709-36daafbdc591#3</link>
<pubDate>Sat, 08 Apr 2017 06:15:24 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/macro-code-to-repeat-itself-until-i-issue-a-break-voice-command/?ID=fc68cdc2-9310-4d87-9709-36daafbdc591#3</guid>
<category>VoiceBot</category>
<description><![CDATA[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?
th...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello again<br/>
<br/>
this is great!<br/>
<br/>
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.<br/>
<br/>
hey is there a way to see the list of available things like the "repeat_running" constant or variable or whatever that thing is?<br/>
<br/>
thanks,<br/>
Alan
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Macro code to repeat itself until i issue a break voice command</title>
<link>https://www.voicebot.net/Discussions/View/macro-code-to-repeat-itself-until-i-issue-a-break-voice-command/?ID=fc68cdc2-9310-4d87-9709-36daafbdc591#2</link>
<pubDate>Fri, 07 Apr 2017 12:52:40 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/macro-code-to-repeat-itself-until-i-issue-a-break-voice-command/?ID=fc68cdc2-9310-4d87-9709-36daafbdc591#2</guid>
<category>VoiceBot</category>
<description><![CDATA[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 w...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
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.<br/>
<br/>
I put together a profile with a simple repeating command that should work for you. Here's how to get it working:<br/>
<br/>
<ul class="ListBullet">
<li>Download the file attached to this post</li>
<li>Open the VoiceBot Settings window</li>
<li>Go to the "Profiles" tab and click the "Import" button</li>
<li>Browse to the file you downloaded in the first step and select it</li>
<li>Click OK to close the Settings window and apply your settings</li></ul>
<br/>
I hope this works for you!
</div>
]]></content:encoded>
</item>
<item>
<title>Macro code to repeat itself until i issue a break voice command</title>
<link>https://www.voicebot.net/Discussions/View/macro-code-to-repeat-itself-until-i-issue-a-break-voice-command/?ID=fc68cdc2-9310-4d87-9709-36daafbdc591</link>
<pubDate>Mon, 03 Apr 2017 05:33:33 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/macro-code-to-repeat-itself-until-i-issue-a-break-voice-command/?ID=fc68cdc2-9310-4d87-9709-36daafbdc591</guid>
<category>VoiceBot</category>
<description><![CDATA[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]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello<br/>
<br/>
is there a way to create a macro that will automatically repeat itself until i give it a voice command?<br/>
<br/>
if there isn't will that be something that can be added to the next version?<br/>
<br/>
Thanks
</div>
]]></content:encoded>
</item>
</channel>
</rss>