<?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: hotkey to trigger multiple functions?</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=018e8545-5b60-704e-a9e9-bd6bb2586ec5" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=018e8545-5b60-704e-a9e9-bd6bb2586ec5</link>
<description>DisplayFusion RSS: hotkey to trigger multiple functions?</description>
<lastBuildDate>Fri, 01 May 2026 17:30:34 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=018e8545-5b60-704e-a9e9-bd6bb2586ec5</generator>
<item>
<title>RE: hotkey to trigger multiple functions?</title>
<link>https://www.displayfusion.com/Discussions/View/hotkey-to-trigger-multiple-functions/?ID=018e8545-5b60-704e-a9e9-bd6bb2586ec5#3</link>
<pubDate>Mon, 01 Apr 2024 19:30:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/hotkey-to-trigger-multiple-functions/?ID=018e8545-5b60-704e-a9e9-bd6bb2586ec5#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
You can create a scripted function that runs the functions back to back, and then add a hotkey to it.
This is perfect! Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>You can create a scripted function that runs the functions back to back, and then add a hotkey to it.<br/></div></div><br/>
This is perfect! Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: hotkey to trigger multiple functions?</title>
<link>https://www.displayfusion.com/Discussions/View/hotkey-to-trigger-multiple-functions/?ID=018e8545-5b60-704e-a9e9-bd6bb2586ec5#2</link>
<pubDate>Mon, 01 Apr 2024 17:04:28 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/hotkey-to-trigger-multiple-functions/?ID=018e8545-5b60-704e-a9e9-bd6bb2586ec5#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[You can create a scripted function that runs the functions back to back, and then add a hotkey to it. It would look like this:
Code
Copy
Select All
using System;
using System.Drawing;
// The 'windowHandle' parameter will contain the window handle for the:
//   - Active window when run by h...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You can create a scripted function that runs the functions back to back, and then add a hotkey to it. It would look 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="#code019de4979e3a7670937ac3ee7b02ac52" 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('code019de4979e3a7670937ac3ee7b02ac52Js'); 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="code019de4979e3a7670937ac3ee7b02ac52Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;

// The 'windowHandle' parameter will contain the window handle for the:
//   - Active window when run by hotkey
//   - Trigger target when run by a Trigger rule
//   - TitleBar Button owner when run by a TitleBar Button
//   - Jump List owner when run from a Taskbar Jump List
//   - Currently focused window if none of these match
public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        BFS.DisplayFusion.RunFunction("Move Window to Next Monitor");
        BFS.DisplayFusion.RunFunction("Move Mouse Cursor to Next Monitor");
        
    }
}</pre><textarea id="code019de4979e3a7670937ac3ee7b02ac52" name="code019de4979e3a7670937ac3ee7b02ac52" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>hotkey to trigger multiple functions?</title>
<link>https://www.displayfusion.com/Discussions/View/hotkey-to-trigger-multiple-functions/?ID=018e8545-5b60-704e-a9e9-bd6bb2586ec5</link>
<pubDate>Thu, 28 Mar 2024 13:34:59 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/hotkey-to-trigger-multiple-functions/?ID=018e8545-5b60-704e-a9e9-bd6bb2586ec5</guid>
<category>DisplayFusion</category>
<description><![CDATA[I currently have hotkeys to move the active windows to the prev/next monitor. But how can I also move the mouse to the prev/next monitor at the same time?
I actually have the hotkeys mapped to four-finger left/right swipe. I also have set the os automatically set the window under the cursor to b...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I currently have hotkeys to move the active windows to the prev/next monitor. But how can I also move the mouse to the prev/next monitor at the same time?<br/>
<br/>
I actually have the hotkeys mapped to four-finger left/right swipe. I also have set the os automatically set the window under the cursor to be active. But these two settings are kind of incompatible with each other since after swiping a window left/right and I want to continue moving the window with the same gesture, it now doesn't affect the same window since my mouse cursor is no longer over the moved window. So perhaps I just need to automatically move the cursor along with the window.
</div>
]]></content:encoded>
</item>
</channel>
</rss>