<?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>ClipboardFusion RSS: Execution speed of macros is too long.</title>
<atom:link href="https://www.clipboardfusion.com/Discussions/RSS/?TopicID=eccf3261-2a2b-4286-bcec-e58441f69bd9" rel="self" type="application/rss+xml" />
<link>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=eccf3261-2a2b-4286-bcec-e58441f69bd9</link>
<description>ClipboardFusion RSS: Execution speed of macros is too long.</description>
<lastBuildDate>Wed, 30 Sep 2026 02:50:01 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=eccf3261-2a2b-4286-bcec-e58441f69bd9</generator>
<item>
<title>RE: Execution speed of macros is too long.</title>
<link>https://www.clipboardfusion.com/Discussions/View/execution-speed-of-macros-is-too-long/?ID=eccf3261-2a2b-4286-bcec-e58441f69bd9#2</link>
<pubDate>Tue, 20 Oct 2020 21:25:28 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/execution-speed-of-macros-is-too-long/?ID=eccf3261-2a2b-4286-bcec-e58441f69bd9#2</guid>
<category>ClipboardFusion</category>
<description><![CDATA[It's pretty quick when I test it here. Is it slow every time, or only sometimes?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
It's pretty quick when I test it here. Is it slow every time, or only sometimes?
</div>
]]></content:encoded>
</item>
<item>
<title>Execution speed of macros is too long.</title>
<link>https://www.clipboardfusion.com/Discussions/View/execution-speed-of-macros-is-too-long/?ID=eccf3261-2a2b-4286-bcec-e58441f69bd9</link>
<pubDate>Sun, 18 Oct 2020 14:24:40 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/execution-speed-of-macros-is-too-long/?ID=eccf3261-2a2b-4286-bcec-e58441f69bd9</guid>
<category>ClipboardFusion</category>
<description><![CDATA[I have a simple macros:
Code
Copy
Select All
using System;&#xA;using System.Collections.Generic;&#xA;&#xA;// The &#x27;text&#x27; parameter will contain the text from the:&#xA;//   - Current Clipboard when run by HotKey&#xA;//   - History Item when run from the History Menu&#xA;// The returne...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I have a simple macros:<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="#code01a0f03811af742ea048ecb62f23fd66" class="ClipboardCopyControl"><img src="https://www.clipboardfusion.com/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('code01a0f03811af742ea048ecb62f23fd66Js'); return false;"><img src="https://www.clipboardfusion.com/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="code01a0f03811af742ea048ecb62f23fd66Js" name="code01a0f03811af742ea048ecb62f23fd66Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">using System;&#xA;using System.Collections.Generic;&#xA;&#xA;// The &#x27;text&#x27; parameter will contain the text from the:&#xA;//   - Current Clipboard when run by HotKey&#xA;//   - History Item when run from the History Menu&#xA;// The returned string will be:&#xA;//   - Placed directly on the Clipboard&#xA;//   - Ignored by ClipboardFusion if it is &#x27;null&#x27;&#xA;public static class ClipboardFusionHelper&#xA;{&#xA;    public static string ProcessText(string text)&#xA;    {&#xA;        // your code goes here&#xA;        &#xA;        // Tell ClipboardFusion to ignore any changes to the Clipboard.&#xA;        // Depending on your settings, pasting text could modify the history&#xA;        BFS.ClipboardFusion.PauseClipboardListener();&#xA;    &#xA;        // Get the first item from the Clipboard History&#xA;        text = BFS.ClipboardFusion.GetHistoryText(1);&#xA;    &#xA;        // Paste the text to the active window&#xA;        BFS.Clipboard.PasteText(text);&#xA;        &#xA;        // Clear the Clipboard&#xA;        BFS.Clipboard.Clear();&#xA;    &#xA;        // Tell ClipboardFusion to start watching the Clipboard again&#xA;        BFS.ClipboardFusion.ResumeClipboardListener();&#xA;    &#xA;        // Tell ClipboardFusion to ignore the return from this Macro        &#xA;        return null;&#xA;    }&#xA;}</pre><textarea id="code01a0f03811af742ea048ecb62f23fd66" name="code01a0f03811af742ea048ecb62f23fd66" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div><br/>
<br/>
As you can see, it makes the <b>simplest</b> task of pasting second item from the main list.<br/>
<br/>
But damn it, it takes <b>1000-1500 ms</b> for execution this simple script and pasting simple text from the list.<br/>
<br/>
Why is that?<br/>
<br/>
Can you do something with a speed of macros execution?
</div>
]]></content:encoded>
</item>
</channel>
</rss>