<?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: Triggers and starting and stopping multiple programs (2) simultaneously</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=9cded29f-14df-4bcd-9e04-e8620a908394" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=9cded29f-14df-4bcd-9e04-e8620a908394</link>
<description>DisplayFusion RSS: Triggers and starting and stopping multiple programs (2) simultaneously</description>
<lastBuildDate>Sun, 12 Apr 2026 14:44:12 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=9cded29f-14df-4bcd-9e04-e8620a908394</generator>
<item>
<title>RE: Triggers and starting and stopping multiple programs (2) simultaneously</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394#6</link>
<pubDate>Fri, 23 Dec 2016 18:54:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[No worries, glad I could help!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
No worries, glad I could help!
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=967d3a2a-52bc-474c-b4d3-188e3db5c34b"/>
</item>
<item>
<title>RE: Triggers and starting and stopping multiple programs (2) simultaneously</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394#5</link>
<pubDate>Fri, 23 Dec 2016 01:21:26 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Absolutely perfect.
This also gives me a better understanding of how to use triggers in general.
DisplayFusion automation, here we come...
Thanks Keith]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Absolutely perfect.<br/>
<br/>
This also gives me a better understanding of how to use triggers in general.<br/>
DisplayFusion automation, here we come...<br/>
<br/>
Thanks Keith
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=967d3a2a-52bc-474c-b4d3-188e3db5c34b"/>
</item>
<item>
<title>RE: Triggers and starting and stopping multiple programs (2) simultaneously</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394#4</link>
<pubDate>Thu, 22 Dec 2016 21:01:22 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks! Ok, try this out:
Add a new Trigger
Choose the "Window Destroyed" Trigger Event
Choose the Spotify process in the Match Conditions
Click Add  New Scripted Function
Delete the default code and paste in the code from below
Click OK to save the Scripted Function, OK to save the Trigger...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks! Ok, try this out:<br/>
<ul class="ListBullet">
<li>Add a new Trigger</li>
<li>Choose the "Window Destroyed" Trigger Event</li>
<li>Choose the Spotify process in the Match Conditions</li>
<li>Click Add > New Scripted Function</li>
<li>Delete the default code and paste in the code from below</li>
<li>Click OK to save the Scripted Function, OK to save the Trigger, and Apply to apply the Settings</li>
<li>Exit Spotify and it should also run that Scripted Function to close Musixmatch</li></ul>
<br/>
<div id="" 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="#code019d822676ff77a08cf10db63728c5fd" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019d822676ff77a08cf10db63728c5fdJs'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;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="code019d822676ff77a08cf10db63728c5fdJs" 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)
{
windowHandle = BFS.Window.GetWindowByText("*Musixmatch*");
BFS.Window.Close(windowHandle);
}
}</pre><textarea id="code019d822676ff77a08cf10db63728c5fd" name="code019d822676ff77a08cf10db63728c5fd" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=967d3a2a-52bc-474c-b4d3-188e3db5c34b"/>
</item>
<item>
<title>RE: Triggers and starting and stopping multiple programs (2) simultaneously</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394#3</link>
<pubDate>Thu, 22 Dec 2016 01:50:23 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks Keith,
You have/give the best support...file attached...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks Keith,<br/>
<br/>
You have/give the best support...file attached...
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=967d3a2a-52bc-474c-b4d3-188e3db5c34b"/>
</item>
<item>
<title>RE: Triggers and starting and stopping multiple programs (2) simultaneously</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394#2</link>
<pubDate>Wed, 21 Dec 2016 19:36:54 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[You should be able to do this using a "Window Destroyed" Trigger for Spotify that runs a Scripted Function that closes Musixmatch. If you can attach a copy of your troubleshooting info (copied while Musixmatch is running), I can give you a sample Scripted Function that will close Musixmatch.
Ope...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You should be able to do this using a "Window Destroyed" Trigger for Spotify that runs a Scripted Function that closes Musixmatch. If you can attach a copy of your troubleshooting info (copied while Musixmatch is running), I can give you a sample Scripted Function that will close Musixmatch.<br/>
<ul class="ListBullet">
<li>Open the Settings > Troubleshooting tab</li>
<li>Click the "Copy to Clipboard" button</li>
<li>Paste the text into a text file (please don't paste the text directly into your reply, the formatting gets garbled and makes it difficult to parse)</li>
<li>Reply with the file attached</li></ul>
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=967d3a2a-52bc-474c-b4d3-188e3db5c34b"/>
</item>
<item>
<title>Triggers and starting and stopping multiple programs (2) simultaneously</title>
<link>https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394</link>
<pubDate>Wed, 21 Dec 2016 05:36:49 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/triggers-and-starting-and-stopping-multiple-programs-2-simultaneously/?ID=9cded29f-14df-4bcd-9e04-e8620a908394</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi folks,
I'm working with Spotify and Musixmatch.
What I want to do is - when I start Spotify from the Spotify taskbar shortcut - to automatically run Musixmatch, and then automatically close Musixmatch when I close Spotify.
I have the first part - run Musixmatch automatically when I start Sp...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi folks,<br/>
<br/>
I'm working with Spotify and Musixmatch.<br/>
<br/>
What I want to do is - when I start Spotify from the Spotify taskbar shortcut - to automatically run Musixmatch, and then automatically close Musixmatch when I close Spotify.<br/>
<br/>
I have the first part - run Musixmatch automatically when I start Spotify - using a custom "Run Function" but can't figure out how to automatically close Musixmatch when I close Spotify.<br/>
<br/>
I also have Spotify open on monitor 4 and Musixmatch open on monitor 3, which I do through the "Trigger - Actions" settings...<br/>
<br/>
<i>BF monitors.JPG</i><br/>
<br/>
What is the best way to accomplish all this...
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=967d3a2a-52bc-474c-b4d3-188e3db5c34b"/>
</item>
</channel>
</rss>