<?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: is macro running</title>
<atom:link href="https://www.voicebot.net/Discussions/RSS/?TopicID=e264d79f-396d-467c-9153-4e96c397cb0c" rel="self" type="application/rss+xml" />
<link>https://www.voicebot.net/Discussions/RSS/?TopicID=e264d79f-396d-467c-9153-4e96c397cb0c</link>
<description>VoiceBot RSS: is macro running</description>
<lastBuildDate>Wed, 29 Apr 2026 22:38:19 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.voicebot.net/Discussions/RSS/?TopicID=e264d79f-396d-467c-9153-4e96c397cb0c</generator>
<item>
<title>RE: is macro running</title>
<link>https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#9</link>
<pubDate>Wed, 15 Aug 2018 04:07:53 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#9</guid>
<category>VoiceBot</category>
<description><![CDATA[You're exactly right!
Instead of trying to keep track of whether or not it was the same window, this script saves a value to the window in question. That way we know for sure if we've run the script on the game or not.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You're exactly right!<br/>
<br/>
Instead of trying to keep track of whether or not it was the same window, this script saves a value to the window in question. That way we know for sure if we've run the script on the game or not.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: is macro running</title>
<link>https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#8</link>
<pubDate>Wed, 15 Aug 2018 03:37:01 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#8</guid>
<category>VoiceBot</category>
<description><![CDATA[Thank you Works perfectly.
As I am not a programmer so  I can only guess this works where script settings fails because it saves outside of voicebot?
no mater works great thank you very much.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thank you Works perfectly.<br/>
<br/>
As I am not a programmer so  I can only guess this works where script settings fails because it saves outside of voicebot?<br/>
<br/>
no mater works great thank you very much.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: is macro running</title>
<link>https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#7</link>
<pubDate>Mon, 13 Aug 2018 23:38:44 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#7</guid>
<category>VoiceBot</category>
<description><![CDATA[Have you considered using Window Properties? If you set a window property in Elite: Dangerous' window when you run the script, you can be sure that the script has run once. Then, when the game shuts down and starts back up again, the window property won't be there, so your script will know that i...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Have you considered using Window Properties? If you set a window property in Elite: Dangerous' window when you run the script, you can be sure that the script has run once. Then, when the game shuts down and starts back up again, the window property won't be there, so your script will know that it needs to be run. I've provided some example code below <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/>
<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="#code019ddb64a5aa775fb6b1c124674f3359" 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('code019ddb64a5aa775fb6b1c124674f3359Js'); 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="code019ddb64a5aa775fb6b1c124674f3359Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">public static void Run(IntPtr windowHandle)
{
    // If the window property is IntPtr.Zero, it doesn't exist. Run the script, and create the property
    if( BFS.Window.GetWindowProperty(windowHandle, "IsEliteLogRunnerRunning") == IntPtr.Zero )
    {
        BFS.Window.SetWindowProperty(windowHandle, "IsEliteLogRunnerRunning", new IntPtr(1));
        BFS.Speech.TextToSpeech("log reader is not running");
        //BFS.VoiceBotActions.RunMacro("elite log reader");
    }
    else
    {
        BFS.Speech.TextToSpeech("log reader is running");
    }
}</pre><textarea id="code019ddb64a5aa775fb6b1c124674f3359" name="code019ddb64a5aa775fb6b1c124674f3359" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: is macro running</title>
<link>https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#6</link>
<pubDate>Thu, 26 Jul 2018 13:31:14 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#6</guid>
<category>VoiceBot</category>
<description><![CDATA[Thank you for the effort megawatt but the issue seems to be with the way the  run macro code  works  on continuously ruining macros.
The following works when the run macro command is not used. but fails when launching the "elite log reader" which is kept running with an infinite while loop. the ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thank you for the effort megawatt but the issue seems to be with the way the  run macro code  works  on continuously ruining macros.<br/>
<br/>
The following works when the run macro command is not used. but fails when launching the "elite log reader" which is kept running with an infinite while loop. the following code results in both macros running without closings and a new copy of both macros started each time you call this macro.<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="#code019ddb64a5c771b5922dd1130c6db80e" 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('code019ddb64a5c771b5922dd1130c6db80eJs'); 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="code019ddb64a5c771b5922dd1130c6db80eJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;
using System.Threading;

public static class VoiceBotScript
{
    //public static bool ranOnce = false;

    public static void Run(IntPtr windowHandle)
    {
        if(!BFS.VoiceBot.IsMacroRunning("elite log reader"))
        {
             BFS.Speech.TextToSpeech("log reader is not running");
             //BFS.VoiceBotActions.RunMacro("elite log reader");
             }
        else
            {
         BFS.Speech.TextToSpeech("log reader is running");
            }
            
    }
        
}</pre><textarea id="code019ddb64a5c771b5922dd1130c6db80e" name="code019ddb64a5c771b5922dd1130c6db80e" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: is macro running</title>
<link>https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#5</link>
<pubDate>Thu, 26 Jul 2018 10:08:08 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#5</guid>
<category>VoiceBot</category>
<description><![CDATA[Try this:
Code
Copy
Select All
using System;
using System.Drawing;
public static class VoiceBotScript
{
public static void Run(IntPtr windowHandle)
{
while (BFS.VoiceBot.IsMacroRunning("elite log reader"))
{
BFS.Speech.TextToSpeech("log reader is already running");
}
BFS.VoiceBotAct...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Try this:<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="#code019ddb64a5d0702a95cc0a91c1b1f006" 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('code019ddb64a5d0702a95cc0a91c1b1f006Js'); 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="code019ddb64a5d0702a95cc0a91c1b1f006Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;

public static class VoiceBotScript
{
    public static void Run(IntPtr windowHandle)
    {
        while (BFS.VoiceBot.IsMacroRunning("elite log reader"))
        {
        BFS.Speech.TextToSpeech("log reader is already running");
        }

         BFS.VoiceBotActions.RunMacro("elite log reader");
        
    }
}</pre><textarea id="code019ddb64a5d0702a95cc0a91c1b1f006" name="code019ddb64a5d0702a95cc0a91c1b1f006" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: is macro running</title>
<link>https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#4</link>
<pubDate>Thu, 26 Jul 2018 01:10:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#4</guid>
<category>VoiceBot</category>
<description><![CDATA[the macro already runs continuously. I want to be able prevent more then one copy from running.
The is running fails]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
the macro already runs continuously. I want to be able prevent more then one copy from running.  <br/>
<br/>
The is running fails
</div>
]]></content:encoded>
</item>
<item>
<title>RE: is macro running</title>
<link>https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#3</link>
<pubDate>Wed, 25 Jul 2018 22:39:05 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#3</guid>
<category>VoiceBot</category>
<description><![CDATA[You can use a while loop like this:
Code
Copy
Select All
using System;
using System.Drawing;
public static class VoiceBotScript
{
public static void Run(IntPtr windowHandle)
{
while (true)
{
BFS.VoiceBotActions.RunMacro("elite log reader");
}
}
}
I haven't tried it but this should...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You can use a while loop like this:<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="#code019ddb64a5de75d5b4bff0b7746b6f94" 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('code019ddb64a5de75d5b4bff0b7746b6f94Js'); 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="code019ddb64a5de75d5b4bff0b7746b6f94Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;

public static class VoiceBotScript
{
    public static void Run(IntPtr windowHandle)
    {
        while (true)
        {
            BFS.VoiceBotActions.RunMacro("elite log reader");
        }
     }
}</pre><textarea id="code019ddb64a5de75d5b4bff0b7746b6f94" name="code019ddb64a5de75d5b4bff0b7746b6f94" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
I haven't tried it but this should make it run forever.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: is macro running</title>
<link>https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#2</link>
<pubDate>Wed, 25 Jul 2018 22:30:36 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c#2</guid>
<category>VoiceBot</category>
<description><![CDATA[has there been any progress on this problem of not allowing a script to run twice?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
has there been any progress on this problem of not allowing a script to run twice?
</div>
]]></content:encoded>
</item>
<item>
<title>is macro running</title>
<link>https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c</link>
<pubDate>Mon, 16 Jul 2018 01:34:27 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/is-macro-running/?ID=e264d79f-396d-467c-9153-4e96c397cb0c</guid>
<category>VoiceBot</category>
<description><![CDATA[I have one macro  I want to start and keep running all the time.  I do not want to have more them one copy of it running.
I have tried using a second macro to lunch the first one as follows with no success. it does work if I just want to it tell we if the program is already working, but if I lun...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I have one macro  I want to start and keep running all the time.  I do not want to have more them one copy of it running.<br/>
<br/>
I have tried using a second macro to lunch the first one as follows with no success. it does work if I just want to it tell we if the program is already working, but if I lunch the never ending program "elite log reader " it will not close and report it running.<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="#code019ddb64a5ea7436a9cb2c078306ddb6" 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('code019ddb64a5ea7436a9cb2c078306ddb6Js'); 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="code019ddb64a5ea7436a9cb2c078306ddb6Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;

public static class VoiceBotScript
{
    public static void Run(IntPtr windowHandle)
    {
        if(BFS.VoiceBot.IsMacroRunning("elite log reader"))
        {
        BFS.Speech.TextToSpeech("log reader is already running");
        }
        else
        {
         BFS.VoiceBotActions.RunMacro("elite log reader");
             }
        
    }
}</pre><textarea id="code019ddb64a5ea7436a9cb2c078306ddb6" name="code019ddb64a5ea7436a9cb2c078306ddb6" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
</channel>
</rss>