<?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: C# Script for RSA code copy and paste</title>
<atom:link href="https://www.clipboardfusion.com/Discussions/RSS/?TopicID=e733a903-a6d8-40eb-b2e5-e2b451d8c461" rel="self" type="application/rss+xml" />
<link>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=e733a903-a6d8-40eb-b2e5-e2b451d8c461</link>
<description>ClipboardFusion RSS: C# Script for RSA code copy and paste</description>
<lastBuildDate>Wed, 13 May 2026 02:25:41 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=e733a903-a6d8-40eb-b2e5-e2b451d8c461</generator>
<item>
<title>RE: C# Script for RSA code copy and paste</title>
<link>https://www.clipboardfusion.com/Discussions/View/c-script-for-rsa-code-copy-and-paste/?ID=e733a903-a6d8-40eb-b2e5-e2b451d8c461#5</link>
<pubDate>Fri, 24 May 2019 17:43:52 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/c-script-for-rsa-code-copy-and-paste/?ID=e733a903-a6d8-40eb-b2e5-e2b451d8c461#5</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Perfect, worked ! Thanks Keith  !]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Perfect, worked ! Thanks Keith <img src="https://www.clipboardfusion.com/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" /> !
</div>
]]></content:encoded>
</item>
<item>
<title>RE: C# Script for RSA code copy and paste</title>
<link>https://www.clipboardfusion.com/Discussions/View/c-script-for-rsa-code-copy-and-paste/?ID=e733a903-a6d8-40eb-b2e5-e2b451d8c461#4</link>
<pubDate>Fri, 24 May 2019 17:30:33 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/c-script-for-rsa-code-copy-and-paste/?ID=e733a903-a6d8-40eb-b2e5-e2b451d8c461#4</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Ok, try something like this (paste it in before your code and update the EXE names and paths.
Code
Copy
Select All
if (BFS.Application.IsAppRunningByFile("*notepad.exe")
{
BFS.Window.Focus(BFS.Application.GetMainWindowByFile("*notepad.exe");
}
else
{
BFS.Application.Start(@"C:\path\to\e...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok, try something like this (paste it in before your code and update the EXE names and paths.<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="#code019e1f27795d74a085de49b1ed1b15aa" 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('code019e1f27795d74a085de49b1ed1b15aaJs'); 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="code019e1f27795d74a085de49b1ed1b15aaJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">if (BFS.Application.IsAppRunningByFile("*notepad.exe")
        {
            BFS.Window.Focus(BFS.Application.GetMainWindowByFile("*notepad.exe");
        }
        else
        {
            BFS.Application.Start(@"C:\path\to\exe");
        }
        
        BFS.General.ThreadWait(2000);</pre><textarea id="code019e1f27795d74a085de49b1ed1b15aa" name="code019e1f27795d74a085de49b1ed1b15aa" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: C# Script for RSA code copy and paste</title>
<link>https://www.clipboardfusion.com/Discussions/View/c-script-for-rsa-code-copy-and-paste/?ID=e733a903-a6d8-40eb-b2e5-e2b451d8c461#3</link>
<pubDate>Fri, 24 May 2019 17:24:08 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/c-script-for-rsa-code-copy-and-paste/?ID=e733a903-a6d8-40eb-b2e5-e2b451d8c461#3</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Yes, I can open from command line.
Also the tab command and enter to copy the code, not always works...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Yes, I can open from command line.<br/>
Also the tab command and enter to copy the code, not always works...
</div>
]]></content:encoded>
</item>
<item>
<title>RE: C# Script for RSA code copy and paste</title>
<link>https://www.clipboardfusion.com/Discussions/View/c-script-for-rsa-code-copy-and-paste/?ID=e733a903-a6d8-40eb-b2e5-e2b451d8c461#2</link>
<pubDate>Fri, 24 May 2019 16:52:41 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/c-script-for-rsa-code-copy-and-paste/?ID=e733a903-a6d8-40eb-b2e5-e2b451d8c461#2</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Are you able to open the window via a command line? Or does it have to be clicked from a tray menu or something?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Are you able to open the window via a command line? Or does it have to be clicked from a tray menu or something?
</div>
]]></content:encoded>
</item>
<item>
<title>C# Script for RSA code copy and paste</title>
<link>https://www.clipboardfusion.com/Discussions/View/c-script-for-rsa-code-copy-and-paste/?ID=e733a903-a6d8-40eb-b2e5-e2b451d8c461</link>
<pubDate>Fri, 24 May 2019 09:05:26 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/c-script-for-rsa-code-copy-and-paste/?ID=e733a903-a6d8-40eb-b2e5-e2b451d8c461</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Hi, I have already some script to put the code in an RSA window, and take the code.
But I want a little bit more.
Let me write in human language:
If window is open(hidden), focus and:
insert the ping
copy the password
close
is is not open, open it and
insert the ping
copy the password
c...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi, I have already some script to put the code in an RSA window, and take the code. <br/>
But I want a little bit more. <br/>
Let me write in human language:<br/>
<br/>
<b>If window is open(hidden), focus and:<br/>
    insert the ping<br/>
    copy the password<br/>
    close<br/>
is is not open, open it and<br/>
    insert the ping<br/>
    copy the password<br/>
    close</b><br/>
<br/>
Could anyone help me to get this? <br/>
My code already is: <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="#code019e1f27799374d1babd6ce3fe8f9d85" 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('code019e1f27799374d1babd6ce3fe8f9d85Js'); 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="code019e1f27799374d1babd6ce3fe8f9d85Js" 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)
    {
        
        BFS.Clipboard.PasteText("123456");
        //BFS.Input.SendKeys("{VK_13}");
        BFS.Input.SendKeys("{TAB}");
        BFS.Input.SendKeys("{ENTER}");
        //BFS.Clipboard.Copy();
        text = BFS.Clipboard.CopyText();
        return text;
    }
}</pre><textarea id="code019e1f27799374d1babd6ce3fe8f9d85" name="code019e1f27799374d1babd6ce3fe8f9d85" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
</channel>
</rss>