<?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: Let an hotkey pass to other applications</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=ea2fa982-e6a7-422e-b055-cf8484a68f43" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=ea2fa982-e6a7-422e-b055-cf8484a68f43</link>
<description>DisplayFusion RSS: Let an hotkey pass to other applications</description>
<lastBuildDate>Mon, 31 Aug 2026 02:05:59 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=ea2fa982-e6a7-422e-b055-cf8484a68f43</generator>
<item>
<title>RE: Let an hotkey pass to other applications</title>
<link>https://www.displayfusion.com/Discussions/View/let-an-hotkey-pass-to-other-applications/?ID=ea2fa982-e6a7-422e-b055-cf8484a68f43#5</link>
<pubDate>Fri, 22 Dec 2017 16:53:02 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/let-an-hotkey-pass-to-other-applications/?ID=ea2fa982-e6a7-422e-b055-cf8484a68f43#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ok, I see. Thanks anyway and please make a big announcement when introducing the feature some day ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok, I see. Thanks anyway and please make a big announcement when introducing the feature some day ... <img src="https://www.displayfusion.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=":)" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Let an hotkey pass to other applications</title>
<link>https://www.displayfusion.com/Discussions/View/let-an-hotkey-pass-to-other-applications/?ID=ea2fa982-e6a7-422e-b055-cf8484a68f43#4</link>
<pubDate>Fri, 22 Dec 2017 13:57:29 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/let-an-hotkey-pass-to-other-applications/?ID=ea2fa982-e6a7-422e-b055-cf8484a68f43#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Global hotkeys can't do that, for that we would need to be using keyboard hooks. We may change to keyboard hooks at some point in the future, so if we do, we'll be sure to let you know.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Global hotkeys can't do that, for that we would need to be using keyboard hooks. We may change to keyboard hooks at some point in the future, so if we do, we'll be sure to let you know.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Let an hotkey pass to other applications</title>
<link>https://www.displayfusion.com/Discussions/View/let-an-hotkey-pass-to-other-applications/?ID=ea2fa982-e6a7-422e-b055-cf8484a68f43#3</link>
<pubDate>Thu, 21 Dec 2017 19:14:22 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/let-an-hotkey-pass-to-other-applications/?ID=ea2fa982-e6a7-422e-b055-cf8484a68f43#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thank you for your answer! Unfortunately this doesn't help because closing a browser window was just an example.
From programming in C and C++ I know you are able to filter system events like key presses and choose if you want other applications to get this event as well.
I my case I want to de...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thank you for your answer! Unfortunately this doesn't help because closing a browser window was just an example.<br/>
<br/>
From programming in C and C++ I know you are able to filter system events like key presses and choose if you want other applications to get this event as well.<br/>
<br/>
I my case I want to define a hotkey/shortcut for a specific application if it's frontmost only. If any other application is frontmost, DisplayFusion should do nothing. At the moment I have 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="#code01a05590faac77ca83748c63451d49fa" 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('code01a05590faac77ca83748c63451d49faJs'); 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="code01a05590faac77ca83748c63451d49faJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;

public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        uint appId = BFS.Application.GetAppIDByWindow(windowHandle);
        string appPath = BFS.Application.GetMainFileByAppID(appId);
        //BFS.Dialog.ShowMessageInfo(appPath);
        if (appPath.EndsWith("\\notepad++.exe"))
        {
            // do my stuff
        }
    }
}</pre><textarea id="code01a05590faac77ca83748c63451d49fa" name="code01a05590faac77ca83748c63451d49fa" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
But this blocks the choosen hotkey for other applications. Do you also have a workaround for this?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Let an hotkey pass to other applications</title>
<link>https://www.displayfusion.com/Discussions/View/let-an-hotkey-pass-to-other-applications/?ID=ea2fa982-e6a7-422e-b055-cf8484a68f43#2</link>
<pubDate>Thu, 21 Dec 2017 18:23:23 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/let-an-hotkey-pass-to-other-applications/?ID=ea2fa982-e6a7-422e-b055-cf8484a68f43#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[There isn't a way to use the same hotkey, no. Windows detects the keypress and tells DisplayFusion that it was detected, then DisplayFusion just runs whatever was assigned to that keypress.
However! If you just need to use it for your browser tab scenario, you can have the script send Ctrl + F4 ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
There isn't a way to use the same hotkey, no. Windows detects the keypress and tells DisplayFusion that it was detected, then DisplayFusion just runs whatever was assigned to that keypress.<br/>
<br/>
However! If you just need to use it for your browser tab scenario, you can have the script send Ctrl + F4 to close the tab, like 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="#code01a05590fab877eeb005fc9321613610" 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('code01a05590fab877eeb005fc9321613610Js'); 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="code01a05590fab877eeb005fc9321613610Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;

public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
// your code here

// Send Ctrl + F4 to close the tab
BFS.Input.SendKeys("^({VK_115})");
}
}</pre><textarea id="code01a05590fab877eeb005fc9321613610" name="code01a05590fab877eeb005fc9321613610" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
Hope that helps!
</div>
]]></content:encoded>
</item>
<item>
<title>Let an hotkey pass to other applications</title>
<link>https://www.displayfusion.com/Discussions/View/let-an-hotkey-pass-to-other-applications/?ID=ea2fa982-e6a7-422e-b055-cf8484a68f43</link>
<pubDate>Wed, 20 Dec 2017 21:43:35 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/let-an-hotkey-pass-to-other-applications/?ID=ea2fa982-e6a7-422e-b055-cf8484a68f43</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi,
I want an hotkey to get passed to other applications after or while reacting with a scripted function on it.
For example I define an hotkey like "ctrl+w". When pressing the hotkey a scripted function of DisplayFusion gets executed. After that or at the same time I want the hotkey to get pas...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi,<br/>
<br/>
I want an hotkey to get passed to other applications after or while reacting with a scripted function on it.<br/>
<br/>
For example I define an hotkey like "ctrl+w". When pressing the hotkey a scripted function of DisplayFusion gets executed. After that or at the same time I want the hotkey to get passed to other applications. So for example a frontmost browser tab would be closed and the scripted function would be running in the background.<br/>
<br/>
Is this possible? Or is there a workaround to achieve this?<br/>
<br/>
Thank you very much and best regards<br/>
<br/>
Rex
</div>
]]></content:encoded>
</item>
</channel>
</rss>