<?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: VoiceBot CommandLine Macros</title>
<atom:link href="https://www.voicebot.net/Discussions/RSS/?TopicID=9cdbdccd-13a1-4d71-bc96-89bb78fc7d3e" rel="self" type="application/rss+xml" />
<link>https://www.voicebot.net/Discussions/RSS/?TopicID=9cdbdccd-13a1-4d71-bc96-89bb78fc7d3e</link>
<description>VoiceBot RSS: VoiceBot CommandLine Macros</description>
<lastBuildDate>Mon, 14 Sep 2026 20:14:57 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.voicebot.net/Discussions/RSS/?TopicID=9cdbdccd-13a1-4d71-bc96-89bb78fc7d3e</generator>
<item>
<title>RE: VoiceBot CommandLine Macros</title>
<link>https://www.voicebot.net/Discussions/View/voicebot-commandline-macros/?ID=9cdbdccd-13a1-4d71-bc96-89bb78fc7d3e#4</link>
<pubDate>Sun, 30 Jan 2022 18:35:36 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/voicebot-commandline-macros/?ID=9cdbdccd-13a1-4d71-bc96-89bb78fc7d3e#4</guid>
<category>VoiceBot</category>
<description><![CDATA[Quote:
Through some quick testing I was able to find a way to do this via a batch file
Code
Copy
Select All
using System;&#xA;using System.Drawing;&#xA;using System.Diagnostics;&#xA;public static class VoiceBotScript&#xA;{&#xA;public static void Run(IntPtr windowHandle)&#xA;{&#xA;Process pro...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Through some quick testing I was able to find a way to do this via a batch file<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="#code01a0a18efa0671079b5d6a077c7aaa05" 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('code01a0a18efa0671079b5d6a077c7aaa05Js'); 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="code01a0a18efa0671079b5d6a077c7aaa05Js" name="code01a0a18efa0671079b5d6a077c7aaa05Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">using System;&#xA;using System.Drawing;&#xA;using System.Diagnostics;&#xA;public static class VoiceBotScript&#xA;{&#xA;public static void Run(IntPtr windowHandle)&#xA;{&#xA;Process process = new Process&#xA;{&#xA;StartInfo =&#xA;{&#xA;UseShellExecute = false,&#xA;RedirectStandardOutput = true,&#xA;RedirectStandardError = true,&#xA;CreateNoWindow = true,&#xA;FileName = &quot;C:\\path\\to\\your\\file.bat&quot;,&#xA;Arguments = &quot;1&quot;&#xA;}&#xA;};&#xA;process.Start();&#xA;process.WaitForExit();&#xA;if(process.HasExited)&#xA;{&#xA;BFS.Dialog.ShowMessageInfo(&quot;exited&quot;);&#xA;}&#xA;}&#xA;}</pre><textarea id="code01a0a18efa0671079b5d6a077c7aaa05" name="code01a0a18efa0671079b5d6a077c7aaa05" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div></div></div><br/>
<br/>
I couldn't get this to run anything. The commandline I'm using is an .exe file. Did you intend for this to be ran as a custom script through voice bot?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: VoiceBot CommandLine Macros</title>
<link>https://www.voicebot.net/Discussions/View/voicebot-commandline-macros/?ID=9cdbdccd-13a1-4d71-bc96-89bb78fc7d3e#3</link>
<pubDate>Thu, 27 Jan 2022 03:45:37 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/voicebot-commandline-macros/?ID=9cdbdccd-13a1-4d71-bc96-89bb78fc7d3e#3</guid>
<category>VoiceBot</category>
<description><![CDATA[Through some quick testing I was able to find a way to do this via a batch file
Code
Copy
Select All
using System;&#xA;using System.Drawing;&#xA;using System.Diagnostics;&#xA;public static class VoiceBotScript&#xA;{&#xA;public static void Run(IntPtr windowHandle)&#xA;{&#xA;Process process = n...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Through some quick testing I was able to find a way to do this via a batch file<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="#code01a0a18efa157599a180a63668797c35" 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('code01a0a18efa157599a180a63668797c35Js'); 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="code01a0a18efa157599a180a63668797c35Js" name="code01a0a18efa157599a180a63668797c35Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">using System;&#xA;using System.Drawing;&#xA;using System.Diagnostics;&#xA;public static class VoiceBotScript&#xA;{&#xA;public static void Run(IntPtr windowHandle)&#xA;{&#xA;Process process = new Process&#xA;{&#xA;StartInfo =&#xA;{&#xA;UseShellExecute = false,&#xA;RedirectStandardOutput = true,&#xA;RedirectStandardError = true,&#xA;CreateNoWindow = true,&#xA;FileName = &quot;C:\\path\\to\\your\\file.bat&quot;,&#xA;Arguments = &quot;1&quot;&#xA;}&#xA;};&#xA;process.Start();&#xA;process.WaitForExit();&#xA;if(process.HasExited)&#xA;{&#xA;BFS.Dialog.ShowMessageInfo(&quot;exited&quot;);&#xA;}&#xA;}&#xA;}</pre><textarea id="code01a0a18efa157599a180a63668797c35" name="code01a0a18efa157599a180a63668797c35" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: VoiceBot CommandLine Macros</title>
<link>https://www.voicebot.net/Discussions/View/voicebot-commandline-macros/?ID=9cdbdccd-13a1-4d71-bc96-89bb78fc7d3e#2</link>
<pubDate>Wed, 05 Jan 2022 17:08:54 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/voicebot-commandline-macros/?ID=9cdbdccd-13a1-4d71-bc96-89bb78fc7d3e#2</guid>
<category>VoiceBot</category>
<description><![CDATA[Unfortunately I don't think either of these would be possible.
Sorry!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Unfortunately I don't think either of these would be possible.<br/>
<br/>
Sorry!
</div>
]]></content:encoded>
</item>
<item>
<title>VoiceBot CommandLine Macros</title>
<link>https://www.voicebot.net/Discussions/View/voicebot-commandline-macros/?ID=9cdbdccd-13a1-4d71-bc96-89bb78fc7d3e</link>
<pubDate>Sun, 26 Dec 2021 16:30:03 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/voicebot-commandline-macros/?ID=9cdbdccd-13a1-4d71-bc96-89bb78fc7d3e</guid>
<category>VoiceBot</category>
<description><![CDATA[I recently set up a voice activated command that opened up a commandline, ran a series of commands and then afterwards the commandline closes. Every time the macro runs, I get tabbed out of what I'm currently working on and the commandline window becomes the current active window. I found a way t...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I recently set up a voice activated command that opened up a commandline, ran a series of commands and then afterwards the commandline closes. Every time the macro runs, I get tabbed out of what I'm currently working on and the commandline window becomes the current active window. I found a way to prevent the commandline from being brought to the front but yet to find a way that stops my input from effecting the window I was concentrating on prior.<br/>
<br/>
Anyone know of any way I could prevent the commandline from becoming the active window or anyway I could make a macro that wouldn't have to open the commandline every time?
</div>
]]></content:encoded>
</item>
</channel>
</rss>