<?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>Thu, 30 Apr 2026 07:27:11 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;
using System.Drawing;
using System.Diagnostics;
public static class VoiceBotScript
{
public static void Run(IntPtr windowHandle)
{
Process process = new Process
{...]]></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="#code019ddd48d545775eb529bd457455c3f4" 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('code019ddd48d545775eb529bd457455c3f4Js'); 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="code019ddd48d545775eb529bd457455c3f4Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;
using System.Diagnostics;
public static class VoiceBotScript
{
public static void Run(IntPtr windowHandle)
{
Process process = new Process
{
StartInfo =
{
UseShellExecute = false,
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true,
FileName = "C:\\path\\to\\your\\file.bat",
Arguments = "1"
}
};
process.Start();
process.WaitForExit();
if(process.HasExited)
{
BFS.Dialog.ShowMessageInfo("exited");
}
}
}</pre><textarea id="code019ddd48d545775eb529bd457455c3f4" name="code019ddd48d545775eb529bd457455c3f4" 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;
using System.Drawing;
using System.Diagnostics;
public static class VoiceBotScript
{
public static void Run(IntPtr windowHandle)
{
Process process = new Process
{
StartI...]]></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="#code019ddd48d55271fd888bfc7d76308d6b" 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('code019ddd48d55271fd888bfc7d76308d6bJs'); 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="code019ddd48d55271fd888bfc7d76308d6bJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;
using System.Diagnostics;
public static class VoiceBotScript
{
public static void Run(IntPtr windowHandle)
{
Process process = new Process
{
StartInfo =
{
UseShellExecute = false,
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true,
FileName = "C:\\path\\to\\your\\file.bat",
Arguments = "1"
}
};
process.Start();
process.WaitForExit();
if(process.HasExited)
{
BFS.Dialog.ShowMessageInfo("exited");
}
}
}</pre><textarea id="code019ddd48d55271fd888bfc7d76308d6b" name="code019ddd48d55271fd888bfc7d76308d6b" 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>