<?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: Could anyone help me make this macro please?</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=565f75b0-19d9-4f07-88a2-e2ca06825ddb" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=565f75b0-19d9-4f07-88a2-e2ca06825ddb</link>
<description>DisplayFusion RSS: Could anyone help me make this macro please?</description>
<lastBuildDate>Mon, 21 Sep 2026 07:54:49 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=565f75b0-19d9-4f07-88a2-e2ca06825ddb</generator>
<item>
<title>RE: Could anyone help me make this macro please?</title>
<link>https://www.displayfusion.com/Discussions/View/could-anyone-help-me-make-this-macro-please/?ID=565f75b0-19d9-4f07-88a2-e2ca06825ddb#3</link>
<pubDate>Thu, 01 Oct 2020 09:32:19 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/could-anyone-help-me-make-this-macro-please/?ID=565f75b0-19d9-4f07-88a2-e2ca06825ddb#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Verify Successful.
Run Successful.
Thanks Keith!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Verify Successful.<br/>
Run Successful.<br/>
<br/>
Thanks Keith! <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile-wink.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: Could anyone help me make this macro please?</title>
<link>https://www.displayfusion.com/Discussions/View/could-anyone-help-me-make-this-macro-please/?ID=565f75b0-19d9-4f07-88a2-e2ca06825ddb#2</link>
<pubDate>Wed, 30 Sep 2020 19:09:18 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/could-anyone-help-me-make-this-macro-please/?ID=565f75b0-19d9-4f07-88a2-e2ca06825ddb#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Sure! Give this a try in a Scripted Function:
Code
Copy
Select All
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 rul...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Sure! Give this a try in a Scripted Function:<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="#code01a0c2f5e2d174cd8d5914a7595e38e0" 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('code01a0c2f5e2d174cd8d5914a7595e38e0Js'); 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="code01a0c2f5e2d174cd8d5914a7595e38e0Js" name="code01a0c2f5e2d174cd8d5914a7595e38e0Js" 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;        // Launch the Date and Time window&#xA;        BFS.Application.Start(&quot;timedate.cpl&quot;, &quot;&quot;);&#xA;        &#xA;        // Wait 1 second for it to open&#xA;        BFS.General.ThreadWait(1000);&#xA;        &#xA;        // Find the window&#xA;        IntPtr window = BFS.Window.GetWindowByTextExact(&quot;Date and Time&quot;);&#xA;        &#xA;        // Move it to x=0 y=0&#xA;        BFS.Window.SetLocation(window, 0, 0);&#xA;    }&#xA;}</pre><textarea id="code01a0c2f5e2d174cd8d5914a7595e38e0" name="code01a0c2f5e2d174cd8d5914a7595e38e0" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>Could anyone help me make this macro please?</title>
<link>https://www.displayfusion.com/Discussions/View/could-anyone-help-me-make-this-macro-please/?ID=565f75b0-19d9-4f07-88a2-e2ca06825ddb</link>
<pubDate>Tue, 29 Sep 2020 17:29:34 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/could-anyone-help-me-make-this-macro-please/?ID=565f75b0-19d9-4f07-88a2-e2ca06825ddb</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi, I would like to have a hotkey (for example Ctrl+Alt+D) to open the "Date and Time" window in a certain spot (for example Top Left, Main Monitor). Could anyone whip something up? This seems super basic but I haven't been able to figure it out...
This is what I'm referring too, btw. Also the R...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi, I would like to have a hotkey (for example Ctrl+Alt+D) to open the "Date and Time" window in a certain spot (for example Top Left, Main Monitor). Could anyone whip something up? This seems super basic but I haven't been able to figure it out... <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-flushed.light.svg" alt=":-[" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":-[" /><br/>
<br/>
This is what I'm referring too, btw. Also the Run command "timedate.cpl" opens this window as well.<br/>
<br/>
<a href="https://i.imgur.com/lTmv1jT.png" target="_blank" rel="nofollow"><b>https://i.imgur.com/lTmv1jT.png</b></a><br/>
<br/>
Thanks in advance! <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>
</channel>
</rss>