<?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, 27 May 2026 23:00:11 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;
using System.Collections.Generic;
// The 'text' parameter will contain the text from the:
//   - Current Clipboard when run by HotKey
//   - History Item when run from the History Menu
// The returned string will be:
//   - Plac...]]></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="#code019e6baabb53705ca22e007a2f56a85e" 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('code019e6baabb53705ca22e007a2f56a85eJs'); 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="code019e6baabb53705ca22e007a2f56a85eJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Collections.Generic;

// The 'text' parameter will contain the text from the:
//   - Current Clipboard when run by HotKey
//   - History Item when run from the History Menu
// The returned string will be:
//   - Placed directly on the Clipboard
//   - Ignored by ClipboardFusion if it is 'null'
public static class ClipboardFusionHelper
{
    public static string ProcessText(string text)
    {
        // your code goes here
        
        // Tell ClipboardFusion to ignore any changes to the Clipboard.
        // Depending on your settings, pasting text could modify the history
        BFS.ClipboardFusion.PauseClipboardListener();
    
        // Get the first item from the Clipboard History
        text = BFS.ClipboardFusion.GetHistoryText(1);
    
        // Paste the text to the active window
        BFS.Clipboard.PasteText(text);
        
        // Clear the Clipboard
        BFS.Clipboard.Clear();
    
        // Tell ClipboardFusion to start watching the Clipboard again
        BFS.ClipboardFusion.ResumeClipboardListener();
    
        // Tell ClipboardFusion to ignore the return from this Macro        
        return null;
    }
}</pre><textarea id="code019e6baabb53705ca22e007a2f56a85e" name="code019e6baabb53705ca22e007a2f56a85e" 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>