<?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>DisplayFusion RSS: Cant Send CTRL+ALT+Pause to a Window</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=0191611a-10fa-771a-aff2-23c75bf75711" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=0191611a-10fa-771a-aff2-23c75bf75711</link>
<description>DisplayFusion RSS: Cant Send CTRL+ALT+Pause to a Window</description>
<lastBuildDate>Wed, 30 Sep 2026 02:09:59 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=0191611a-10fa-771a-aff2-23c75bf75711</generator>
<item>
<title>RE: Cant Send CTRL+ALT+Pause to a Window</title>
<link>https://www.displayfusion.com/Discussions/View/cant-send-ctrlaltpause-to-a-window/?ID=0191611a-10fa-771a-aff2-23c75bf75711#4</link>
<pubDate>Fri, 23 Aug 2024 13:12:57 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/cant-send-ctrlaltpause-to-a-window/?ID=0191611a-10fa-771a-aff2-23c75bf75711#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[The BFS.Window.Focus(windowHandle); line just sends the code to the last focused window.
There might be something weird with the pause key, if you remove that and add a different key, does it work?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
The BFS.Window.Focus(windowHandle); line just sends the code to the last focused window. <br/>
<br/>
There might be something weird with the pause key, if you remove that and add a different key, does it work?
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0191611a-12c4-733e-8973-c9167ac3463a"/>
</item>
<item>
<title>RE: Cant Send CTRL+ALT+Pause to a Window</title>
<link>https://www.displayfusion.com/Discussions/View/cant-send-ctrlaltpause-to-a-window/?ID=0191611a-10fa-771a-aff2-23c75bf75711#3</link>
<pubDate>Mon, 19 Aug 2024 21:30:44 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/cant-send-ctrlaltpause-to-a-window/?ID=0191611a-10fa-771a-aff2-23c75bf75711#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[I tried using Code
Copy
Select All
BFS.Input.SendKeys(&quot;%(^({VK_19}))&quot;);
but nothing happend.
other than using  BFS.Window.Focus(windowHandle); is there a better way to ensure that is the target window getting the keystroke? If I hit the keys on the keyboard it works every time.
Th...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I tried using <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="#code01a0f01369327099ba2cdf66f207b051" class="ClipboardCopyControl"><img src="https://www.displayfusion.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('code01a0f01369327099ba2cdf66f207b051Js'); return false;"><img src="https://www.displayfusion.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="code01a0f01369327099ba2cdf66f207b051Js" name="code01a0f01369327099ba2cdf66f207b051Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">BFS.Input.SendKeys(&quot;%(^({VK_19}))&quot;);</pre><textarea id="code01a0f01369327099ba2cdf66f207b051" name="code01a0f01369327099ba2cdf66f207b051" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div> but nothing happend.<br/>
<br/>
other than using  <b>BFS.Window.Focus(windowHandle);</b> is there a better way to ensure that is the target window getting the keystroke? If I hit the keys on the keyboard it works every time.<br/>
<br/>
Thanks.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0191611a-12c4-733e-8973-c9167ac3463a"/>
</item>
<item>
<title>RE: Cant Send CTRL+ALT+Pause to a Window</title>
<link>https://www.displayfusion.com/Discussions/View/cant-send-ctrlaltpause-to-a-window/?ID=0191611a-10fa-771a-aff2-23c75bf75711#2</link>
<pubDate>Mon, 19 Aug 2024 14:53:26 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/cant-send-ctrlaltpause-to-a-window/?ID=0191611a-10fa-771a-aff2-23c75bf75711#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Try just running this line:
Code
Copy
Select All
BFS.Input.SendKeys(&quot;%(^({VK_19}))&quot;);]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Try just running this line: <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="#code01a0f013695c7268a3006d50b6eab2b3" class="ClipboardCopyControl"><img src="https://www.displayfusion.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('code01a0f013695c7268a3006d50b6eab2b3Js'); return false;"><img src="https://www.displayfusion.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="code01a0f013695c7268a3006d50b6eab2b3Js" name="code01a0f013695c7268a3006d50b6eab2b3Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">BFS.Input.SendKeys(&quot;%(^({VK_19}))&quot;);</pre><textarea id="code01a0f013695c7268a3006d50b6eab2b3" name="code01a0f013695c7268a3006d50b6eab2b3" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0191611a-12c4-733e-8973-c9167ac3463a"/>
</item>
<item>
<title>Cant Send CTRL+ALT+Pause to a Window</title>
<link>https://www.displayfusion.com/Discussions/View/cant-send-ctrlaltpause-to-a-window/?ID=0191611a-10fa-771a-aff2-23c75bf75711</link>
<pubDate>Sat, 17 Aug 2024 16:09:44 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/cant-send-ctrlaltpause-to-a-window/?ID=0191611a-10fa-771a-aff2-23c75bf75711</guid>
<category>DisplayFusion</category>
<description><![CDATA[Per this thread, I see that you cannot directly manipulate a full screen RDP window using display fusion.
https://www.displayfusion.com/Discussions/View/rdp-not-opening-on-selected-monitor/?ID=721b8409-321f-444e-8690-afc9a64f8779#4
As a workaround I have modified my saved rdp file and added the...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Per this thread, I see that you cannot directly manipulate a full screen RDP window using display fusion.<br/>
<br/>
https://www.displayfusion.com/Discussions/View/rdp-not-opening-on-selected-monitor/?ID=721b8409-321f-444e-8690-afc9a64f8779#4<br/>
<br/>
As a workaround I have modified my saved rdp file and added the value:<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="#code01a0f013697675c78a5ff467fe8e7d3f" class="ClipboardCopyControl"><img src="https://www.displayfusion.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('code01a0f013697675c78a5ff467fe8e7d3fJs'); return false;"><img src="https://www.displayfusion.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="code01a0f013697675c78a5ff467fe8e7d3fJs" name="code01a0f013697675c78a5ff467fe8e7d3fJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">smart sizing:i:1</pre><textarea id="code01a0f013697675c78a5ff467fe8e7d3f" name="code01a0f013697675c78a5ff467fe8e7d3f" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div><br/>
<br/>
With this value set, I can full screen the rdp window by pressing CTRL+ALT+PAUSE on the keyboard.<br/>
I am trying to automate this within a custom function but no matter what I have tried, I cannot send these characters to the window.<br/>
<br/>
<b>Function: Send CTRL+ALT+Pause</b><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="#code01a0f0136979777296747a8687a414ea" class="ClipboardCopyControl"><img src="https://www.displayfusion.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('code01a0f0136979777296747a8687a414eaJs'); return false;"><img src="https://www.displayfusion.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="code01a0f0136979777296747a8687a414eaJs" name="code01a0f0136979777296747a8687a414eaJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">using System;&#xA;using System.Drawing;&#xA;&#xA;// The &#x27;windowHandle&#x27; parameter will contain the window handle for the:&#xA;//   - Active window when run by hotkey&#xA;//   - Trigger target when run by a Trigger rule&#xA;//   - TitleBar Button owner when run by a TitleBar Button&#xA;//   - Jump List owner when run from a Taskbar Jump List&#xA;//   - Currently focused window if none of these match&#xA;public static class DisplayFusionFunction&#xA;{&#xA;    public static void Run(IntPtr windowHandle)&#xA;    {&#xA;        // your code goes here&#xA;&#xA;        // Convert the window handle to hexadecimal&#xA;        string windowHandleHex = windowHandle.ToInt64().ToString(&quot;X&quot;);&#xA;&#xA;        BFS.Window.Focus(windowHandle);&#xA;&#xA;// Press and hold the Ctrl key&#xA;BFS.Input.SendKeyDown(&quot;Ctrl&quot;);&#xA;BFS.Input.SendKeyDown(&quot;Alt&quot;);&#xA;// ... perform any operations while Ctrl is held down ...&#xA;BFS.Input.SendKeys(&quot;{VK_PAUSE}&quot;);&#xA;// Release the Ctrl key&#xA;BFS.Input.SendKeyUp(&quot;Ctrl&quot;);&#xA;BFS.Input.SendKeyUp(&quot;Alt&quot;);&#xA;        &#xA;        &#xA;        //-- Send the CTRL &#x2B; PAUSE keystrokes&#xA;//        BFS.Input.SendKeys(&quot;%^{VK_PAUSE}&quot;);&#xA;        //BFS.General.Sleep(500);&#xA;        //BFS.Input.SendKeys(&quot;^%{VK_PAUSE}&quot;);&#xA;        // ^ ctrl   % alt&#xA;&#xA;        // Use the hexadecimal window handle in GetUserConfirm&#xA;        BFS.Dialog.GetUserConfirm(&quot;Current Hwnd &quot; &#x2B; windowHandleHex);&#xA;&#xA;    }&#xA;}</pre><textarea id="code01a0f0136979777296747a8687a414ea" name="code01a0f0136979777296747a8687a414ea" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div><br/>
<br/>
As you can see from the above example I have tried both SendKeyDown and SendKeys, but neither are working for me. <br/>
<br/>
Using the AutoIT spy tool I can verify I am setting focus on the correct window handle.<br/>
<br/>
Any ideas as to what I am doing wrong?<br/>
<br/>
Thanks.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=0191611a-12c4-733e-8973-c9167ac3463a"/>
</item>
</channel>
</rss>