<?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: ▓ Input.SendKeys &amp; [Caps-Lock]</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=018c5e3a-e39c-7618-a960-0a256f6ff8ff" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=018c5e3a-e39c-7618-a960-0a256f6ff8ff</link>
<description>DisplayFusion RSS: ▓ Input.SendKeys &amp; [Caps-Lock]</description>
<lastBuildDate>Mon, 18 May 2026 11:48:01 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=018c5e3a-e39c-7618-a960-0a256f6ff8ff</generator>
<item>
<title>RE: ▓ Input.SendKeys &amp; [Caps-Lock]</title>
<link>https://www.displayfusion.com/Discussions/View/inputsendkeys-caps-lock/?ID=018c5e3a-e39c-7618-a960-0a256f6ff8ff#4</link>
<pubDate>Thu, 14 Dec 2023 21:16:12 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/inputsendkeys-caps-lock/?ID=018c5e3a-e39c-7618-a960-0a256f6ff8ff#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ahhhh, a windows form namespace.    I developed in ASP.Net so didn't have the luxury of using that namespace.   I will have to investigate it further now.
I added this snippet and it seems to work fine.   My camera cloud system is not working right now so I tested the stuffing with notepad.
if ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ahhhh, a windows form namespace.    I developed in ASP.Net so didn't have the luxury of using that namespace.   I will have to investigate it further now.<br/>
<br/>
I added this snippet and it seems to work fine.   My camera cloud system is not working right now so I tested the stuffing with notepad.<br/>
<br/>
        if (Control.IsKeyLocked(Keys.CapsLock)) <br/>
        {<br/>
            BFS.Input.SendKeys("{VK_20}");<br/>
            BFS.General.ThreadWait(500);    <br/>
        }
</div>
]]></content:encoded>
</item>
<item>
<title>RE: ▓ Input.SendKeys &amp; [Caps-Lock]</title>
<link>https://www.displayfusion.com/Discussions/View/inputsendkeys-caps-lock/?ID=018c5e3a-e39c-7618-a960-0a256f6ff8ff#3</link>
<pubDate>Thu, 14 Dec 2023 19:57:59 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/inputsendkeys-caps-lock/?ID=018c5e3a-e39c-7618-a960-0a256f6ff8ff#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[You could do something like this (You'll need to add using System.Windows.Forms;
to the top of the script):
Code
Copy
Select All
// Check if CapsLock is enabled, if so, send CapsLock to disable
if (Control.IsKeyLocked(Keys.CapsLock))
{
BFS.Input.SendKeys("{VK_20}");
}]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You could do something like this (You'll need to add <div class="Inline"><pre>using System.Windows.Forms;</pre></div> to the top of the script):<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="#code019e3aea1a5276dcb48165fe09ebfaac" 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('code019e3aea1a5276dcb48165fe09ebfaacJs'); 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="code019e3aea1a5276dcb48165fe09ebfaacJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">// Check if CapsLock is enabled, if so, send CapsLock to disable
if (Control.IsKeyLocked(Keys.CapsLock))
{
    BFS.Input.SendKeys("{VK_20}");
}</pre><textarea id="code019e3aea1a5276dcb48165fe09ebfaac" name="code019e3aea1a5276dcb48165fe09ebfaac" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: ▓ Input.SendKeys &amp; [Caps-Lock]</title>
<link>https://www.displayfusion.com/Discussions/View/inputsendkeys-caps-lock/?ID=018c5e3a-e39c-7618-a960-0a256f6ff8ff#2</link>
<pubDate>Tue, 12 Dec 2023 13:51:14 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/inputsendkeys-caps-lock/?ID=018c5e3a-e39c-7618-a960-0a256f6ff8ff#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[BTW, I have also tried, BFS.Input.SendKeys("@Allp");
[Caps-Lock] state affects it, too.   The @ symbol will require the + & ASC code, +({VK_50}.
OFF:2allp
ON: 2ALLP]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
BTW, I have also tried, BFS.Input.SendKeys("@Allp");<br/>
<br/>
[Caps-Lock] state affects it, too.   The @ symbol will require the + & ASC code, +({VK_50}.<br/>
<br/>
OFF:2allp<br/>
ON: 2ALLP
</div>
]]></content:encoded>
</item>
<item>
<title>▓ Input.SendKeys &amp; [Caps-Lock]</title>
<link>https://www.displayfusion.com/Discussions/View/inputsendkeys-caps-lock/?ID=018c5e3a-e39c-7618-a960-0a256f6ff8ff</link>
<pubDate>Tue, 12 Dec 2023 13:32:47 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/inputsendkeys-caps-lock/?ID=018c5e3a-e39c-7618-a960-0a256f6ff8ff</guid>
<category>DisplayFusion</category>
<description><![CDATA[When using .Sendkeys to stuff the keyboard buffer, I noticed the "+" modifier is the same as holding the [Shift] key and the modifier respects the [Caps-Lock] state: Caps On, Lowecase; Caps Off, Uppercase.
For example, BFS.Input.SendKeys("+({VK_50}{VK_65}){VK_76}{VK_76}+({VK_80})") results:
Cap...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
When using .Sendkeys to stuff the keyboard buffer, I noticed the "+" modifier is the same as holding the [Shift] key and the modifier respects the [Caps-Lock] state: Caps On, Lowecase; Caps Off, Uppercase.<br/>
<br/>
For example, BFS.Input.SendKeys("+({VK_50}{VK_65}){VK_76}{VK_76}+({VK_80})") results:<br/>
<ul class="ListBullet">Caps OFF: @AllP<br/>
Caps  ON: @aLLp</ul>
<br/>
Since this is a case-sensitive password I am stuffing, I need the case to be persistant, regardless of the [Caps-Lock] state.  I have tried adding 32 to each ASCII value to stuff with lowercase alphas, but that did not work.   <br/>
<br/>
So, is there a modifier I can prefix with to force a lowercase ASC char?   Or, is there a way to force [Caps-Lock] Off within a custom script?
</div>
]]></content:encoded>
</item>
</channel>
</rss>