<?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: Monitor blanking or brightness control</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=130a6010-4a49-4ccc-9572-9a5b09cd4846" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=130a6010-4a49-4ccc-9572-9a5b09cd4846</link>
<description>DisplayFusion RSS: Monitor blanking or brightness control</description>
<lastBuildDate>Thu, 28 May 2026 02:57:20 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=130a6010-4a49-4ccc-9572-9a5b09cd4846</generator>
<item>
<title>RE: Monitor blanking or brightness control</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#9</link>
<pubDate>Mon, 22 Dec 2014 21:11:22 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#9</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ahh so if it's a VNC-like remoting then yes I suppose that mouse-move would look the same as a local action and wake them.  Let me think about it and what options might be.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ahh so if it's a VNC-like remoting then yes I suppose that mouse-move would look the same as a local action and wake them.  Let me think about it and what options might be.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Monitor blanking or brightness control</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#8</link>
<pubDate>Mon, 22 Dec 2014 17:37:25 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#8</guid>
<category>DisplayFusion</category>
<description><![CDATA[Wow! This is pretty cool. I enabled the script, assigned it to a hotkey and sure enough, the monitors go right into sleep mode.  Only problem is that the sleep mode cancels as soon as a key is pressed or the mouse moves, either directly or through a remote session.
It would be sweet if there was...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Wow! This is pretty cool. I enabled the script, assigned it to a hotkey and sure enough, the monitors go right into sleep mode.  Only problem is that the sleep mode cancels as soon as a key is pressed or the mouse moves, either directly or through a remote session.<br/>
<br/>
It would be sweet if there was a way to keep the monitors sleeping while a remote session was active.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Monitor blanking or brightness control</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#7</link>
<pubDate>Mon, 22 Dec 2014 17:16:40 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks Jon.  Quick question maybe you can answer or add as feature request........a BFS.DisplayFusion.GetInstallPath function would be really nice.
I had to fall back on System.Windows.Forms.Application.StartupPath which is not always best but I also can't use traditional System.Reflection.Assem...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks Jon.  Quick question maybe you can answer or add as feature request........a BFS.DisplayFusion.GetInstallPath function would be really nice. <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/>
I had to fall back on System.Windows.Forms.Application.StartupPath which is not always best but I also can't use traditional System.Reflection.Assembly.GetExecutingAssembly().CodeBase because it points to the GAC location and we obviously don't want users' dropping anything there. <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/>
So, this call works but since you guys are the pros a few additional API calls related to all things BFS.DisplayFusion (maybe version, isadmininstalled whether enterprise MSI installed/managed, etc. as well) would be really cool to have!<br/>
<br/>
-Collin
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Monitor blanking or brightness control</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#6</link>
<pubDate>Mon, 22 Dec 2014 16:04:51 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Collin's functions are available in DisplayFusion now too.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Collin's functions are available in DisplayFusion now too.  <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: Monitor blanking or brightness control</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#5</link>
<pubDate>Mon, 22 Dec 2014 15:23:32 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[EDIT not sure why forum posted a reply to this thread when I was trying to reply to another, sorry!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
EDIT not sure why forum posted a reply to this thread when I was trying to reply to another, sorry!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Monitor blanking or brightness control</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#4</link>
<pubDate>Mon, 22 Dec 2014 06:14:14 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Here you go.  I already submitted to be published to the library as well.  I submitted 2 versions, the one here that sleeps all active monitors, and then also the one I use which also sleeps and initiates the workstation lock so that upon wakeup it is a full unlock required.
Assuming they approv...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Here you go.  I already submitted to be published to the library as well.  I submitted 2 versions, the one here that sleeps all active monitors, and then also the one I use which also sleeps and initiates the workstation lock so that upon wakeup it is a full unlock required.<br/>
<br/>
Assuming they approve quickly you should be able to pull it down using the settings GUI within a couple days, but if you need it sooner you can copy/paste from here (note the comment formatting is most likely screwed up in the web post):<br/>
<br/>
using System;<br/>
using System.Drawing;<br/>
using System.Diagnostics;<br/>
using System.Windows.Forms;<br/>
<br/>
//////////////////////////////////////////////////////////////////////////////////////////<br/>
////<br/>
//Author:  Collin Chaffin//<br/>
////<br/>
//Description:This function sets all active monitors to S3 sleep state but//<br/>
//does NOT lock workstation.//<br/>
////<br/>
//NOTE: THIS FUNCTION UTILIZES NIRSOFT'S NIRCMD.EXE//<br/>
//DOWNLOAD FROM:http://www.nirsoft.net/utils/nircmd.html//<br/>
//COPY ONLY NIRCMD.EXE TO THE DISPLAYFUSION ROOT APPLICATION FOLDER//<br/>
//USUALLY C:\Program Files (x86)\DisplayFusion for 64 bit//<br/>
////<br/>
//////////////////////////////////////////////////////////////////////////////////////////<br/>
<br/>
public static class DisplayFusionFunction<br/>
{<br/>
public static void Run(IntPtr windowHandle)<br/>
{<br/>
// Set up exe path and arguments<br/>
string path = System.Windows.Forms.Application.StartupPath;<br/>
string nircmdPath = path + "\\nircmd.exe";<br/>
string sleepArgs = "monitor async_off";<br/>
ProcessStartInfo sleep = new ProcessStartInfo();<br/>
sleep.Arguments = sleepArgs; <br/>
sleep.FileName = nircmdPath;<br/>
<br/>
// Hide windows<br/>
sleep.WindowStyle = ProcessWindowStyle.Hidden;<br/>
sleep.CreateNoWindow = true;<br/>
<br/>
// Disable the annoying publisher verification<br/>
sleep.UseShellExecute = false;<br/>
<br/>
// Execute and wait for it to finish<br/>
using (Process proc = Process.Start(sleep))<br/>
{<br/>
 proc.WaitForExit(); <br/>
}<br/>
<br/>
}<br/>
}
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Monitor blanking or brightness control</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#3</link>
<pubDate>Mon, 22 Dec 2014 04:38:08 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[I just finished writing this macro function (rewriting I use it today outside of DF) which utilizes nirsoft's nircmd.  I have a question for Keith perhaps I missed in the macro docs but is there a built-in call I can make to always return the DF binaries install/execution path?  I would like to u...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I just finished writing this macro function (rewriting I use it today outside of DF) which utilizes nirsoft's nircmd.  I have a question for Keith perhaps I missed in the macro docs but is there a built-in call I can make to always return the DF binaries install/execution path?  I would like to utilize that in the function so that "in order to run" we can say you must always drop nircmd.exe in the DF install folder and be done, rather than having to edit paths, use system path, etc.<br/>
<br/>
One I get clarification from Keith, I'll publish the code to the downloadable function library.  My function will sleep all active attached monitors, and lock the workstation requiring a full unlock upon keyboard/mouse move.<br/>
<br/>
EDIT:  All remote functions work fine upon monitor sleep but I will also release a non-workstation-lock 2nd function which should meet your requirements as a workstation lock would impact remoting.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Monitor blanking or brightness control</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#2</link>
<pubDate>Thu, 18 Dec 2014 20:57:05 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Unfortunately that wouldn't be possible with DisplayFusion. The only way we could blank the screen is to throw up a full screen black window, but then you wouldn't be able to see anything on the remote end either. Sorry]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Unfortunately that wouldn't be possible with DisplayFusion. The only way we could blank the screen is to throw up a full screen black window, but then you wouldn't be able to see anything on the remote end either. Sorry <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-frown.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>Monitor blanking or brightness control</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846</link>
<pubDate>Thu, 18 Dec 2014 02:48:33 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-blanking-or-brightness-control/?ID=130a6010-4a49-4ccc-9572-9a5b09cd4846</guid>
<category>DisplayFusion</category>
<description><![CDATA[I have a situation where I am remote controlling a computer in a way that does not blank the monitors on connection.  Is there a way to define a DisplayFusion function to either blank the monitors or turn their brightness to zero while still being able to use the remote connection?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I have a situation where I am remote controlling a computer in a way that does not blank the monitors on connection.  Is there a way to define a DisplayFusion function to either blank the monitors or turn their brightness to zero while still being able to use the remote connection?
</div>
]]></content:encoded>
</item>
</channel>
</rss>