<?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: Window save position in version 7 Beta 7</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=8673b44d-228c-4167-83e0-0057b6bd4f98" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=8673b44d-228c-4167-83e0-0057b6bd4f98</link>
<description>DisplayFusion RSS: Window save position in version 7 Beta 7</description>
<lastBuildDate>Wed, 27 May 2026 09:51:57 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=8673b44d-228c-4167-83e0-0057b6bd4f98</generator>
<item>
<title>RE: Window save position in version 7 Beta 7</title>
<link>https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#10</link>
<pubDate>Mon, 08 Dec 2014 02:14:47 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#10</guid>
<category>DisplayFusion</category>
<description><![CDATA[Just a quick heads up that the latest beta now has the ability to get a window handle by window title in the script editor
You can use BFS.Window.GetWindowByText.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Just a quick heads up that the latest beta now has the ability to get a window handle by window title in the script editor <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=":)" HelpButtonDataAlign="BelowMiddle" /><br/>
<br/>
You can use BFS.Window.GetWindowByText.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Window save position in version 7 Beta 7</title>
<link>https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#9</link>
<pubDate>Mon, 01 Dec 2014 18:35:54 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#9</guid>
<category>DisplayFusion</category>
<description><![CDATA[Nice! We are adding the ability to get the handle by window title in the next beta. I'll let you know as soon as it's available]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Nice! We are adding the ability to get the handle by window title in the next beta. I'll let you know as soon as it's available <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=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Window save position in version 7 Beta 7</title>
<link>https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#8</link>
<pubDate>Sat, 29 Nov 2014 18:57:07 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#8</guid>
<category>DisplayFusion</category>
<description><![CDATA[So I went ahead and wrote the code necessary to achieve my goal, I was wrong about the arrays. I didn't need any.
It works like a charm, however the more windows that are open the more inefficient that becomes.
Code
Copy
Select All
using System;
using System.Drawing;
using System.Windows.F...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
So I went ahead and wrote the code necessary to achieve my goal, I was wrong about the arrays. I didn't need any.<br/>
It works like a charm, however the more windows that are open the more inefficient that becomes. <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="#code019e68d912d97268b8758a65c7befeac" 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('code019e68d912d97268b8758a65c7befeacJs'); 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="code019e68d912d97268b8758a65c7befeacJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;
using System.Windows.Forms;

public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
IntPtr[] handles = BFS.Window.GetVisibleWindowHandles();
int len = handles.Length;

IntPtr steam = new IntPtr();
IntPtr friends = new IntPtr();
IntPtr chat = new IntPtr();

////////////////////////////////////////////////////////////////////////

for (int i = 0; i &lt; len; i++)
{
if (BFS.Window.GetText(handles&#91i&#93) == "Steam")
steam = handles&#91i&#93v;

else if (BFS.Window.GetText(handles&#91i&#93) == "Friends")
friends = handles&#91i&#93v;

//If anything else contains the string " - Chat" this will not work.
//But there isn't much I can do abnout that.
else if (BFS.Window.GetText(handles&#91i&#93).IndexOf(" - Chat") &gt; 0)
chat = handles&#91i&#93v;
}

////////////////////////////////////////////////////////////////////////

//I would rather check the loaded monitor profile.
if (Screen.PrimaryScreen.Bounds.Width == 1920) 
{
BFS.Window.SetSizeAndLocation(steam,-1920,0,1000,663);
BFS.Window.SetSizeAndLocation(friends,-220,0,220,1039);
BFS.Window.SetSizeAndLocation(chat,-902,553,663,387);
}

else
{ 
BFS.Window.SetSizeAndLocation(steam,0,0,1000,663);
BFS.Window.SetSizeAndLocation(friends,1700,0,220,1039);
BFS.Window.SetSizeAndLocation(chat,1018,553,663,387);
}

}
}</pre><textarea id="code019e68d912d97268b8758a65c7befeac" name="code019e68d912d97268b8758a65c7befeac" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Window save position in version 7 Beta 7</title>
<link>https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#7</link>
<pubDate>Thu, 27 Nov 2014 07:26:23 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Awesome, thank you. I think I can technically do it by retrieving all active window handles and using those to search for a specific string but that seems like a very inneffieceint and roundabout way of doing things.
Especially sinceit will require loops and arrays every time its called.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Awesome, thank you. I think I can technically do it by retrieving all active window handles and using those to search for a specific string but that seems like a very inneffieceint and roundabout way of doing things.<br/>
Especially sinceit will require loops and arrays every time its called.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Window save position in version 7 Beta 7</title>
<link>https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#6</link>
<pubDate>Wed, 26 Nov 2014 21:45:06 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[It's not possible at the moment, but we'll definitely take a look and see if we can add it]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
It's not possible at the moment, but we'll definitely take a look and see if we can add it <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=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Window save position in version 7 Beta 7</title>
<link>https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#5</link>
<pubDate>Wed, 26 Nov 2014 03:32:14 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[hmm would it be possible to set position by window name? Because if that's the case then I think I can get this working.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
hmm would it be possible to set position by window name? Because if that's the case then I think I can get this working.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Window save position in version 7 Beta 7</title>
<link>https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#4</link>
<pubDate>Tue, 25 Nov 2014 16:14:18 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ok, I've investigated, but currently it's not possible to do because of the way that the Save Window Position function works.
If we're able to make this possible in a future version, I'll be sure to let you know!
In the meantime, it is still possible to write a script to launch applications and...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok, I've investigated, but currently it's not possible to do because of the way that the Save Window Position function works.<br/>
<br/>
If we're able to make this possible in a future version, I'll be sure to let you know!<br/>
<br/>
In the meantime, it is still possible to write a script to launch applications and put them in specific locations, and if you can launch the child windows via the script (command line, simulated click, or whatever), you should also be able to position them with the script as well.<br/>
<br/>
If you'd like an example script, please let me know and we'll whip one up <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=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Window save position in version 7 Beta 7</title>
<link>https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#3</link>
<pubDate>Fri, 14 Nov 2014 02:55:24 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Oh cool thanks. I was thinking I would setup an Nvidia surround profile with pre-opened programs in specific locations and the same for my standard use.
I may play with more scripting and get more profiles going but I want to achieve this goal first.
The reason I wanted to use the save window l...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Oh cool thanks. I was thinking I would setup an Nvidia surround profile with pre-opened programs in specific locations and the same for my standard use. <br/>
<br/>
I may play with more scripting and get more profiles going but I want to achieve this goal first.<br/>
<br/>
The reason I wanted to use the save window location feature is so child windows can be pre-positioned as well. since "open window location" doesn't seem to work with them.<br/>
<br/>
I guess my follow up question would be: Is there a way to export Window Save positions to a file or a list? So I can keep multiple instances of data.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Window save position in version 7 Beta 7</title>
<link>https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#2</link>
<pubDate>Fri, 14 Nov 2014 01:34:14 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[There isn't any browseable documentation at the moment, but if you type "BFS." you'll get an Intellisense type box with the available namespaces. You can click each one to get a tooltip, and after typing a name space, the Intellisense box will switch to all of the functions available in that name...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
There isn't any browseable documentation at the moment, but if you type "BFS." you'll get an Intellisense type box with the available namespaces. You can click each one to get a tooltip, and after typing a name space, the Intellisense box will switch to all of the functions available in that namespace, which also have tooltips that show the syntax and examples.<br/>
<br/>
What exactly were you looking to change in the Save/Restore Window Positions via script?
</div>
]]></content:encoded>
</item>
<item>
<title>Window save position in version 7 Beta 7</title>
<link>https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98</link>
<pubDate>Thu, 13 Nov 2014 00:22:58 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/window-save-position-in-version-7-beta-7/?ID=8673b44d-228c-4167-83e0-0057b6bd4f98</guid>
<category>DisplayFusion</category>
<description><![CDATA[First off on a slightly unrelated note.
Is there documentation for the BFS script for writing functions? And if so where can I find it.
So what my question really is, is there a way to manipulate the save/ restore window position function through scripting?
This would be awesome for making mon...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
First off on a slightly unrelated note.<br/>
Is there documentation for the BFS script for writing functions? And if so where can I find it. <br/>
<br/>
So what my question really is, is there a way to manipulate the save/ restore window position function through scripting?<br/>
This would be awesome for making monitor configurations that much more powerful.
</div>
]]></content:encoded>
</item>
</channel>
</rss>