<?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: Macros run in the History Menu</title>
<atom:link href="https://www.clipboardfusion.com/Discussions/RSS/?TopicID=4900248c-93f6-48d5-b0ec-f7d73b2a637e" rel="self" type="application/rss+xml" />
<link>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=4900248c-93f6-48d5-b0ec-f7d73b2a637e</link>
<description>ClipboardFusion RSS: Macros run in the History Menu</description>
<lastBuildDate>Mon, 13 Jul 2026 05:58:24 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=4900248c-93f6-48d5-b0ec-f7d73b2a637e</generator>
<item>
<title>RE: Macros run in the History Menu</title>
<link>https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#9</link>
<pubDate>Thu, 18 Jun 2020 01:53:13 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#9</guid>
<category>ClipboardFusion</category>
<description><![CDATA[We've just posted ClipboardFusion 5.8 Beta 1, and there's now an option to have ClipboardFusion pass the focus back to the previously focused window before running the macro.
Hope that helps!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
We've just posted ClipboardFusion 5.8 Beta 1, and there's now an option to have ClipboardFusion pass the focus back to the previously focused window before running the macro.<br/>
<br/>
Hope that helps!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Macros run in the History Menu</title>
<link>https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#8</link>
<pubDate>Fri, 31 Jan 2020 18:32:29 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#8</guid>
<category>ClipboardFusion</category>
<description><![CDATA[I suggest making selecting a macro from the menu, forces the window to close before the macro starts.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I suggest making selecting a macro from the menu, forces the window to close before the macro starts.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Macros run in the History Menu</title>
<link>https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#7</link>
<pubDate>Fri, 31 Jan 2020 18:23:25 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#7</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Just a quick update here, we're going to investigate the possibility of adding an option to pass focus back to the previous window before starting the Macro when it's run from the Clipboard Manager window.
We'll be sure to let you know if/when we're able to add that.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Just a quick update here, we're going to investigate the possibility of adding an option to pass focus back to the previous window before starting the Macro when it's run from the Clipboard Manager window.<br/>
<br/>
We'll be sure to let you know if/when we're able to add that.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Macros run in the History Menu</title>
<link>https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#6</link>
<pubDate>Wed, 22 Jan 2020 22:20:26 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#6</guid>
<category>ClipboardFusion</category>
<description><![CDATA[The way I got around this was that I switched from using keyboard commands like TAB to navigate, and now use the mouse input commands to move the mouse and click. so I just need to make sure the macro window is not in the area where the first click is.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
The way I got around this was that I switched from using keyboard commands like TAB to navigate, and now use the mouse input commands to move the mouse and click. so I just need to make sure the macro window is not in the area where the first click is.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Macros run in the History Menu</title>
<link>https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#5</link>
<pubDate>Wed, 22 Jan 2020 11:12:14 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#5</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Hi.
I too am having this problem (where you can't use the macro from the menu and have the results go into the active window). The hotkeys provides a way around it, but I'd prefer not to have to remember too many hotkeys. Or put another way, I can't remember that many hotkeys.
Does anyone know ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi.<br/>
<br/>
I too am having this problem (where you can't use the macro from the menu and have the results go into the active window). The hotkeys provides a way around it, but I'd prefer not to have to remember too many hotkeys. Or put another way, I can't remember that many hotkeys.<br/>
<br/>
Does anyone know if anything has changed since this forum post was originally created which might mean it can now be performed via the menu?<br/>
<br/>
Thanks for any help that can be provided.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Macros run in the History Menu</title>
<link>https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#4</link>
<pubDate>Tue, 31 Oct 2017 11:27:44 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#4</guid>
<category>ClipboardFusion</category>
<description><![CDATA[To explain in more detail.
This is a macro I am using in my current clipboard app.
Code
Copy
Select All
[KEY="001009SHIFT+TAB"]
[WAIT=500]
[KEY="001009SHIFT+TAB"]
[WAIT=500]
[KEY="001009SHIFT+TAB"]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[DOWN REPEAT=5]
[WAIT=500]
[ENTER REPEAT=1]
...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
To explain in more detail.<br/>
This is a macro I am using in my current clipboard app.<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="#code019f5a0e263e707faede8838074e5d65" 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('code019f5a0e263e707faede8838074e5d65Js'); 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="code019f5a0e263e707faede8838074e5d65Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">[KEY="001009SHIFT+TAB"]
[WAIT=500]
[KEY="001009SHIFT+TAB"]
[WAIT=500]
[KEY="001009SHIFT+TAB"]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[DOWN REPEAT=5]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[TAB REPEAT=2]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[DOWN REPEAT=6]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=200]
[TAB REPEAT=1]
&lt;predefined text here&gt;
[WAIT=500]
[TAB REPEAT=2]
[WAIT=500]
[RIGHT REPEAT=2]
[WAIT=500]
[TAB REPEAT=9]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[DOWN REPEAT=1]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[TAB REPEAT=3]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[DOWN REPEAT=12]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[TAB REPEAT=32]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[DOWN REPEAT=1]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[TAB REPEAT=3]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[DOWN REPEAT=2]
[WAIT=500]
[ENTER REPEAT=1]
[WAIT=500]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[KEY="001009SHIFT+TAB"]
[WAIT=500]
[RIGHT REPEAT=3]</pre><textarea id="code019f5a0e263e707faede8838074e5d65" name="code019f5a0e263e707faede8838074e5d65" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
I use this macro to automatically close a ticket in our ticketing system.<br/>
In this case, it is a major outage ticket, with a predefined text that I have removed.<br/>
<br/>
I am able to open that other apps history tab, and look at all my other pinned clipboard items and macros, and choose what I need for the occasion, and it will close the history and paste it in the browser.<br/>
<br/>
I saw ClipboardFusion and thought it could replace my existing app, as I think CF opens me up to even more possibilities.<br/>
<br/>
I converted the above macro, to this:<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="#code019f5a0e2645757895294631d682e630" 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('code019f5a0e2645757895294631d682e630Js'); 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="code019f5a0e2645757895294631d682e630Js" 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)
{
        //for more key codes, check out this website:
        //https://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys(v=vs.110).aspx

        //send the tab key
        //BFS.Input.SendKeys("{TAB}");

        //send the enter key
        //BFS.Input.SendKeys("{ENTER}");
        

        //tell ClipboardFusion to ignore the result of this macro
//return null;
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{TAB}");
//Need code to paste predefined text here.
//--------------------------

//--------------------------
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{RIGHT}");
BFS.Input.SendKeys("{RIGHT}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{TAB}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{DOWN}");
BFS.Input.SendKeys("{ENTER}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{+TAB}");
BFS.Input.SendKeys("{RIGHT}");
BFS.Input.SendKeys("{RIGHT}");
BFS.Input.SendKeys("{RIGHT}");
return null;
}
}</pre><textarea id="code019f5a0e2645757895294631d682e630" name="code019f5a0e2645757895294631d682e630" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
Now, when I ran this macro, it caused a BSOD, so I need to find out what exactly went wrong, and therefore, start on a smaller scale, to work myself up.<br/>
I am guessing it has to do with wait times between commands.<br/>
I think "BFS.General.ThreadWait" can help here, but it will not be useful if I can't select the macro from a list, instead of running a hot-key every time.<br/>
<br/>
EDIT: I found out that the primary fault with my Macro was {+TAB}. It should have been +{TAB}.<br/>
This has fixed everything, except starting the macro from the Macros tab on the History Popup.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Macros run in the History Menu</title>
<link>https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#3</link>
<pubDate>Tue, 31 Oct 2017 11:20:19 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#3</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Thank you Diimtry for your reply.
I realise I can just add it to a hot-key, but in my line of work, I want to be able to have a host of macros for different outcomes in a case, and I will soon run out of hot-keys to use.
And it will be very inconvenient to not be able to quickly look at a list ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thank you Diimtry for your reply.<br/>
I realise I can just add it to a hot-key, but in my line of work, I want to be able to have a host of macros for different outcomes in a case, and I will soon run out of hot-keys to use.<br/>
And it will be very inconvenient to not be able to quickly look at a list of macros, and choose the one I need in that particular instance.<br/>
<br/>
You are able to open the history window, and choose from the clipboard, and it pastes it in the text field you had active, not in the History window, so I would have expected the macros to function the same.<br/>
<br/>
It is a very useful macro, and it has endless possibilities in making my day more efficient.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Macros run in the History Menu</title>
<link>https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#2</link>
<pubDate>Tue, 31 Oct 2017 09:54:16 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e#2</guid>
<category>ClipboardFusion</category>
<description><![CDATA[You don’t need to open History menu to run this macro. First, assign it some Hot Key. Then go and open your application, say web page in browser or simply type some text in Notepad. Do not select anything. Now press your hot key - macro sends TAB + ENTER keystrokes directly to browser or Notepad....]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You don’t need to open History menu to run this macro. First, assign it some Hot Key. Then go and open your application, say web page in browser or simply type some text in Notepad. Do not select anything. Now press your hot key - macro sends TAB + ENTER keystrokes directly to browser or Notepad. <br/>
<br/>
Your idea for this macro is very good, I find it useful and used it few times today
</div>
]]></content:encoded>
</item>
<item>
<title>Macros run in the History Menu</title>
<link>https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e</link>
<pubDate>Tue, 31 Oct 2017 08:23:18 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/macros-run-in-the-history-menu/?ID=4900248c-93f6-48d5-b0ec-f7d73b2a637e</guid>
<category>ClipboardFusion</category>
<description><![CDATA[When I open the history Menu, and try to run a macro, the macro runs on that history menu, instead of in the text field I selected before opening the history menu.
What am I doing wrong?
I'm trying to create a macro that can jump to different fields within a form, and as a test I've started out...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
When I open the history Menu, and try to run a macro, the macro runs on that history menu, instead of in the text field I selected before opening the history menu.<br/>
What am I doing wrong?<br/>
<br/>
I'm trying to create a macro that can jump to different fields within a form, and as a test I've started out with running 1 TAB, and 1 Enter function, to see if it skips to the next element, and enters it. <br/>
<br/>
The macro causes a loop, as the macro tabs within the macro menu and activates itself again.<br/>
<br/>
How do I get it to switch back to the program I was in, and run the macro there?<br/>
<br/>
The macro I am running is 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="#code019f5a0e2656747388d2ca1309f05c9e" 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('code019f5a0e2656747388d2ca1309f05c9eJs'); 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="code019f5a0e2656747388d2ca1309f05c9eJs" 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)
{
        //for more key codes, check out this website:
        //https://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys(v=vs.110).aspx

        //send the tab key
        BFS.Input.SendKeys("{TAB}");

        //send the enter key
        BFS.Input.SendKeys("{ENTER}");

        //tell ClipboardFusion to ignore the result of this macro
return null;
}
}</pre><textarea id="code019f5a0e2656747388d2ca1309f05c9e" name="code019f5a0e2656747388d2ca1309f05c9e" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
</channel>
</rss>