<?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: Apply scripted action in particular split?</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=42455b7d-fe74-4ad5-a292-aee3f8f3dd5e" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=42455b7d-fe74-4ad5-a292-aee3f8f3dd5e</link>
<description>DisplayFusion RSS: Apply scripted action in particular split?</description>
<lastBuildDate>Fri, 01 May 2026 19:13:31 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=42455b7d-fe74-4ad5-a292-aee3f8f3dd5e</generator>
<item>
<title>RE: Apply scripted action in particular split?</title>
<link>https://www.displayfusion.com/Discussions/View/apply-scripted-action-in-particular-split/?ID=42455b7d-fe74-4ad5-a292-aee3f8f3dd5e#2</link>
<pubDate>Thu, 31 Mar 2022 17:13:35 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/apply-scripted-action-in-particular-split/?ID=42455b7d-fe74-4ad5-a292-aee3f8f3dd5e#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[For the minimize/maximize windows, you can preface your script with this line: Code
Copy
Select All
BFS.Window.GetVisibleWindowHandlesByMonitor(SplitID);
The split ID will use a 0 instead of a dot, so split 1.1 would look like this: Code
Copy
Select All
BFS.Window.GetVisibleWindowHandlesBy...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
For the minimize/maximize windows, you can preface your script with this line: <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="#code019de4f5dc527219a4b92e734886bfb3" 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('code019de4f5dc527219a4b92e734886bfb3Js'); 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="code019de4f5dc527219a4b92e734886bfb3Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.Window.GetVisibleWindowHandlesByMonitor(SplitID);</pre><textarea id="code019de4f5dc527219a4b92e734886bfb3" name="code019de4f5dc527219a4b92e734886bfb3" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
The split ID will use a 0 instead of a dot, so split 1.1 would look like this: <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="#code019de4f5dc5b7269ac538d5a8e45572f" 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('code019de4f5dc5b7269ac538d5a8e45572fJs'); 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="code019de4f5dc5b7269ac538d5a8e45572fJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">BFS.Window.GetVisibleWindowHandlesByMonitor(101);</pre><textarea id="code019de4f5dc5b7269ac538d5a8e45572f" name="code019de4f5dc5b7269ac538d5a8e45572f" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
For restoring windows, you'll have to track the state with the ScriptSettings functions: https://www.displayfusion.com/ScriptedFunctions/Help/#bfs_scriptsettings<br/>
<br/>
For example, you'd have two code-paths in the script, one that minimizes the windows and sets a registry bool to true, and one that restores the windows and sets that registry bool back to false.<br/>
<br/>
Hope that helps!
</div>
]]></content:encoded>
</item>
<item>
<title>Apply scripted action in particular split?</title>
<link>https://www.displayfusion.com/Discussions/View/apply-scripted-action-in-particular-split/?ID=42455b7d-fe74-4ad5-a292-aee3f8f3dd5e</link>
<pubDate>Mon, 28 Mar 2022 15:35:54 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/apply-scripted-action-in-particular-split/?ID=42455b7d-fe74-4ad5-a292-aee3f8f3dd5e</guid>
<category>DisplayFusion</category>
<description><![CDATA[I want to perform actions to only a particular split like:
- minimize windows to show desktop
- restore windows (from above action)
- maximize all visible windows
End goal is to tie each split to a particular hotkey like a button on the number pad:
eg:
7: toggle show/hide desktop in split
...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I want to perform actions to only a particular split like:<br/>
- minimize windows to show desktop<br/>
- restore windows (from above action)<br/>
- maximize all visible windows<br/>
<br/>
End goal is to tie each split to a particular hotkey like a button on the number pad:<br/>
eg:<br/>
7: toggle show/hide desktop in split<br/>
shift-7: maximize visible windows in split
</div>
]]></content:encoded>
</item>
</channel>
</rss>