<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Press the Down Arrow key (or any other key)]]></title><description><![CDATA[<p dir="auto">You could use this to advance your Powerpoint slides for instance, if you had something like <a href="https://www.triggercmd.com/forum/topic/26/run-remote-commands-with-an-old-vcr-remote-and-a-raspberry-pi-zero-w">this</a> setup.</p>
<p dir="auto">Save this text to c:\scripts\key.vbs:</p>
<pre><code>Dim Wsh
Set Wsh = Wscript.CreateObject("Wscript.Shell")
Wsh.SendKeys "{" + WScript.Arguments.Item(0) +"}"
</code></pre>
<p dir="auto">Then create a command that runs this:</p>
<pre><code>wscript c:\scripts\key.vbs down
</code></pre>
<p dir="auto">You could also make a batch file script that types things like this:</p>
<pre><code>wscript d:\scripts\key.vbs T
wscript d:\scripts\key.vbs R
wscript d:\scripts\key.vbs I
wscript d:\scripts\key.vbs G
wscript d:\scripts\key.vbs G
wscript d:\scripts\key.vbs E
wscript d:\scripts\key.vbs R
wscript d:\scripts\key.vbs c
wscript d:\scripts\key.vbs m
wscript d:\scripts\key.vbs d
</code></pre>
<p dir="auto">Or you could use a vbs script like this:</p>
<pre><code>Dim Wsh
Set Wsh = Wscript.CreateObject("Wscript.Shell")
Wsh.SendKeys "{T}{R}{I}{G}{G}{E}{R}{c}{m}{d}"
</code></pre>
<p dir="auto"><a href="http://www.icpug.org.uk/national/features/030316fe.htm" rel="nofollow ugc">This article</a> has more info about special keys.<br />
Also this article is helpful:<br />
<a href="https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/sendkeys-statement" rel="nofollow ugc">https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/sendkeys-statement</a></p>
<p dir="auto">EDIT 3/28/2021:  I've since learned about <a href="http://nircmd.nirsoft.net/" rel="nofollow ugc">nircmd</a>'s <a href="http://nircmd.nirsoft.net/sendkeypress.html" rel="nofollow ugc">sendkeypress</a> feature which is nice and easy to use.  For example you could send ctrl s with this command:</p>
<pre><code>nircmd sendkeypress ctrl+s
</code></pre>
]]></description><link>https://www.triggercmd.com/forum/topic/52/press-the-down-arrow-key-or-any-other-key</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 00:50:27 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/52.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Aug 2017 20:55:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Mon, 01 Aug 2022 13:24:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/16605">@marcos-ibarra</a><br />
I'm not into AU3 that much (while knowing AHK better), what about triggering OBS's Control(s) directly, instead of Send(ing) a key in a less reliable way?</p>
<p dir="auto"><a href="https://www.autoitscript.com/autoit3/docs/functions/ControlCommand.htm" rel="nofollow ugc">https://www.autoitscript.com/autoit3/docs/functions/ControlCommand.htm</a></p>
<p dir="auto">That way the window wouldn't even have to be active, only existing!</p>
]]></description><link>https://www.triggercmd.com/forum/post/6126</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/6126</guid><dc:creator><![CDATA[aaaaa12345]]></dc:creator><pubDate>Mon, 01 Aug 2022 13:24:19 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Sun, 31 Jul 2022 23:59:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@russ</a> Thanks! the hotkeys works, but i still having problems when i trigger the script, i think the script is the problem , because i use obs Lioranboard and triggercmd to change source visibility in my obs thorugh my voice, lioranboard is like a streamdeck, so i acitive buttons thorugh hotkeys than change sources visibility in my obs and i trigger the hot key from the script and sometimes works and sometimes dont, when i use the hotkye directly from my keyboard works all the time, i dont know what is happening. dont worry thanks for your help i will trigger my deck from ifttt and use triggercmd to run anything else, thanks Russ, ill be here, learning more about it. <img src="/forum/assets/uploads/files/1659311883237-captura-de-pantalla-85.png" alt="Captura de pantalla (85).png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://www.triggercmd.com/forum/post/6125</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/6125</guid><dc:creator><![CDATA[Marcos Ibarra]]></dc:creator><pubDate>Sun, 31 Jul 2022 23:59:05 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Sun, 31 Jul 2022 11:59:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/16605">@marcos-ibarra</a> , check out this post.  I did what you seem to be doing with OBS here:<br />
<a href="https://www.triggercmd.com/forum/topic/1063/start-and-stop-obs-recording-or-streaming?_=1659268705659">https://www.triggercmd.com/forum/topic/1063/start-and-stop-obs-recording-or-streaming?_=1659268705659</a></p>
]]></description><link>https://www.triggercmd.com/forum/post/6124</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/6124</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sun, 31 Jul 2022 11:59:51 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Sun, 31 Jul 2022 04:54:10 GMT]]></title><description><![CDATA[<p dir="auto">Hello, i just have one question, i made an script with AutoIT to trigger some hotkeys like ALT+NUMPAD1, but sometimes is working and sometimes dont, and i can see the script running in windows processes, What could be happening or what im doing wrong? i tried different ways to define the same action like winactive in first line, and using sleep command thinking maybe than is too fast, i let you screenshots, hoping you can help me guys, thanks. <img src="/forum/assets/uploads/files/1659243209023-captura-de-pantalla-82.png" alt="Captura de pantalla (82).png" class=" img-fluid img-markdown" /> <img src="/forum/assets/uploads/files/1659243219582-captura-de-pantalla-84.png" alt="Captura de pantalla (84).png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://www.triggercmd.com/forum/post/6123</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/6123</guid><dc:creator><![CDATA[Marcos Ibarra]]></dc:creator><pubDate>Sun, 31 Jul 2022 04:54:10 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Sat, 19 Feb 2022 23:27:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@russ</a> Would it be possible to press FN key? Cant find information about it, since its not a key present in every keyboard, but mine actually have 2 FN keys and most of my shortcuts needs both of them to be pressed on first. Any thoughts?</p>
]]></description><link>https://www.triggercmd.com/forum/post/5577</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5577</guid><dc:creator><![CDATA[raquel]]></dc:creator><pubDate>Sat, 19 Feb 2022 23:27:25 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Mon, 24 Jan 2022 13:00:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13718">@teo-castrejon-escamilla</a> , no.  On Mac you could use applescript.</p>
<p dir="auto"><a href="https://apple.stackexchange.com/questions/36943/how-do-i-automate-a-key-press-in-applescript" rel="nofollow ugc">https://apple.stackexchange.com/questions/36943/how-do-i-automate-a-key-press-in-applescript</a></p>
]]></description><link>https://www.triggercmd.com/forum/post/5362</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5362</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Mon, 24 Jan 2022 13:00:30 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Sun, 23 Jan 2022 22:47:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@russ</a> said in <a href="/forum/post/3025">Press the Down Arrow key (or any other key)</a>:</p>
<blockquote>
<p dir="auto">wscript c:\scripts\space.vbs</p>
</blockquote>
<p dir="auto">does it work on mac?</p>
]]></description><link>https://www.triggercmd.com/forum/post/5357</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5357</guid><dc:creator><![CDATA[Teo castrejon escamilla]]></dc:creator><pubDate>Sun, 23 Jan 2022 22:47:42 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Mon, 15 Nov 2021 03:34:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/12102">@Antonio-Leaños</a>, when I tried a command like this, it worked for me.</p>
<pre><code>start /min /wait timeout 5 &amp; calc
</code></pre>
<p dir="auto">It waited 5 seconds, then ran calculator.</p>
<p dir="auto">Does that work for you?  If not, can you tell me what command you're trying?</p>
]]></description><link>https://www.triggercmd.com/forum/post/4843</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/4843</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Mon, 15 Nov 2021 03:34:35 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Sun, 14 Nov 2021 20:01:28 GMT]]></title><description><![CDATA[<p dir="auto">Hey I used this and it works just fine, but I want to use the start /wait timeout command to give some space in between a couple key presses but it just ignores them and say "access denied" does anyone know why is that?<br />
Thanks</p>
]]></description><link>https://www.triggercmd.com/forum/post/4842</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/4842</guid><dc:creator><![CDATA[Antonio Leaños]]></dc:creator><pubDate>Sun, 14 Nov 2021 20:01:28 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Tue, 26 Jan 2021 23:46:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/6433">@Arthur-Neufeld</a>, I'm glad you mentioned OBS.  I had no luck using wscript to send hot keys to OBS, so I made <strong><a href="https://www.triggercmd.com/forum/topic/1063/start-and-stop-obs-recording-or-streaming">this post</a></strong> where I made two AutoIT .exe files - one for start recording, and one for stop recording, but you could use them for start and stop streaming too.</p>
<p dir="auto">I use them and it works great.</p>
]]></description><link>https://www.triggercmd.com/forum/post/3488</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/3488</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Tue, 26 Jan 2021 23:46:08 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Tue, 26 Jan 2021 18:29:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> Hi Russ, no unfortunately it doesn't rund the command from a cmd prompt. This happens if I copy and paste it in cmd:</p>
<p dir="auto"><a href="https://www.dropbox.com/s/se4b59gxgk43su2/Screenshot%202021-01-26%2019.25.19.png?dl=0" rel="nofollow ugc">https://www.dropbox.com/s/se4b59gxgk43su2/Screenshot 2021-01-26 19.25.19.png?dl=0</a></p>
<p dir="auto">The command looks exactly like yours:</p>
<p dir="auto"><a href="https://www.dropbox.com/s/a1b2parwrkjf848/Screenshot%202021-01-26%2019.20.48.png?dl=0" rel="nofollow ugc">https://www.dropbox.com/s/a1b2parwrkjf848/Screenshot 2021-01-26 19.20.48.png?dl=0</a></p>
<p dir="auto">The F7 Button is a Hotkey for a Streaming Software called OBS to change the Scene. Does that matter?</p>
<p dir="auto">Thanks for your help already</p>
]]></description><link>https://www.triggercmd.com/forum/post/3485</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/3485</guid><dc:creator><![CDATA[Arthur Neufeld]]></dc:creator><pubDate>Tue, 26 Jan 2021 18:29:54 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Thu, 21 Jan 2021 15:51:29 GMT]]></title><description><![CDATA[<p dir="auto">Haven't tried this feature myself but Nirsoft's NirCMD has a "sendkeypress" ability.<br />
<a href="https://www.nirsoft.net/utils/nircmd2.html#using" rel="nofollow ugc">https://www.nirsoft.net/utils/nircmd2.html#using</a></p>
<p dir="auto">Here's my question though -- how does your VBS script send the keypress to the right window or, on your PC, is F7 being recognized by one program no matter what program is in the foreground?</p>
<p dir="auto">Nircmd has a WIN feature which lets you activate a window so you could use it twice in a new script, once to activate the window and again to send the keypress.</p>
]]></description><link>https://www.triggercmd.com/forum/post/3468</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/3468</guid><dc:creator><![CDATA[Xander]]></dc:creator><pubDate>Thu, 21 Jan 2021 15:51:29 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Wed, 20 Jan 2021 23:08:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/6433">@Arthur-Neufeld</a>, that should work.  It worked for me.  Can you show me a screenshot of your command?</p>
<p dir="auto">Mine looks like this:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1611183994261-4b240459-5018-466b-be24-fa912d50231b-image.png" alt="4b240459-5018-466b-be24-fa912d50231b-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Also, does it work if you run the command from a cmd prompt?</p>
]]></description><link>https://www.triggercmd.com/forum/post/3467</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/3467</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Wed, 20 Jan 2021 23:08:22 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Wed, 20 Jan 2021 21:41:09 GMT]]></title><description><![CDATA[<p dir="auto">I really don't know what I did wrong.</p>
<p dir="auto">They only thing I want is to let Triggercmd press F7.</p>
<p dir="auto">I created a vbs file with</p>
<pre><code>Dim Wsh
Set Wsh = Wscript.CreateObject("Wscript.Shell")
Wsh.SendKeys "{F7}"
</code></pre>
<p dir="auto">in it. Safed it at</p>
<pre><code>c:\scripts\key.vbs
</code></pre>
<p dir="auto">Then I wrote this into the "Command" line: in TRIGGERcmd</p>
<pre><code>wscript c:\scripts\key.vbs
</code></pre>
<p dir="auto">Even if I ope the File manually it doesn't press F7. I have to say, I'm really new to this topic.<br />
What did I do wrong?</p>
<p dir="auto">Cheers<br />
Arthur</p>
]]></description><link>https://www.triggercmd.com/forum/post/3465</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/3465</guid><dc:creator><![CDATA[Arthur Neufeld]]></dc:creator><pubDate>Wed, 20 Jan 2021 21:41:09 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Fri, 23 Oct 2020 22:14:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/5031">@Tribo</a>, with AutoIT you can compile an EXE, and when you run the exe via TRIGGERcmd, the keys will be pressed in whatever the current application happens to be.  You can also have AutoIT activate a particular Window first.</p>
<p dir="auto"><a href="https://www.autoitscript.com/autoit3/docs/functions/WinActivate.htm" rel="nofollow ugc">https://www.autoitscript.com/autoit3/docs/functions/WinActivate.htm</a></p>
]]></description><link>https://www.triggercmd.com/forum/post/3056</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/3056</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 23 Oct 2020 22:14:27 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Fri, 23 Oct 2020 19:22:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> said in <a href="/forum/post/2633">Press the Down Arrow key (or any other key)</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/4228">@Gerfesson-Alves-de-Oliveira</a>, for this one I'd use <a href="https://www.autoitscript.com" rel="nofollow ugc">AutoIT</a>.</p>
<p dir="auto">I like AutoIT because it can do almost anything in Windows, and it allows you to compile your script to a stand-alone .EXE file.  After you install it, look for <strong>SciTE Script Editor</strong>, that's the actual AutoIT script editor.</p>
<p dir="auto">You can see here how simple it is to make an AutoIT script that presses Windows+P:</p>
<pre><code>Send("{LWINDOWN}") ; Holds the Windows key down
Send("{p}")       ; Presses the p key
Send("{LWINUP}") ; Releases the Windows key
</code></pre>
<p dir="auto">This is a good reference page for pressing keys:  <a href="https://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm" rel="nofollow ugc">https://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm</a></p>
</blockquote>
<p dir="auto">I added:</p>
<p dir="auto">Send("{LWINDOWN}") ; Holds the Windows key down<br />
Send("{p}")       ; Presses the p key<br />
Send("{LWINUP}") ; Releases the Windows key<br />
Send("{DOWN}")<br />
Send("{DOWN}")<br />
Send("{ENTER}")</p>
<p dir="auto">but it didn't happen as expected (using AutoIt's F5), it applies the three commands in AutoIt's own window.</p>
<p dir="auto">it's the first time I've seen and dealt with it, so sorry for any silly question.</p>
]]></description><link>https://www.triggercmd.com/forum/post/3052</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/3052</guid><dc:creator><![CDATA[Tribo]]></dc:creator><pubDate>Fri, 23 Oct 2020 19:22:14 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Mon, 19 Oct 2020 22:06:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/5061">@Andoni-Cantón</a> said in <a href="/forum/post/3020">Press the Down Arrow key (or any other key)</a>:</p>
<blockquote>
<p dir="auto">space</p>
</blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/5061">@Andoni-Cantón</a>, for <strong>space</strong>, you can use this script:</p>
<pre><code>Dim Wsh
Set Wsh = Wscript.CreateObject("Wscript.Shell")
Wsh.SendKeys " "
</code></pre>
<p dir="auto">You can run the script with this command:</p>
<pre><code>wscript c:\scripts\space.vbs
</code></pre>
]]></description><link>https://www.triggercmd.com/forum/post/3025</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/3025</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Mon, 19 Oct 2020 22:06:09 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Mon, 19 Oct 2020 15:02:33 GMT]]></title><description><![CDATA[<p dir="auto">how can I make it press the spacebar? I'm trying to get it to play or pause netflix or youtube</p>
]]></description><link>https://www.triggercmd.com/forum/post/3020</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/3020</guid><dc:creator><![CDATA[Andoni Cantón]]></dc:creator><pubDate>Mon, 19 Oct 2020 15:02:33 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Sat, 08 Aug 2020 12:31:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/4228">@Gerfesson-Alves-de-Oliveira</a>, nice job!</p>
<p dir="auto">I hope you do a youtube video showing it off.</p>
]]></description><link>https://www.triggercmd.com/forum/post/2639</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2639</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sat, 08 Aug 2020 12:31:31 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Sat, 08 Aug 2020 02:58:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> , I found a way thru your guidence!! Thanks a lot!</p>
<p dir="auto">The whole au3 document was this:</p>
<p dir="auto">Send("{LWINDOWN}") ; Holds the Windows key down<br />
Send("{p}")       ; Presses the p key<br />
Send("{LWINUP}") ; Releases the Windows key<br />
sleep (500)<br />
Send("{UP}") ; Presses Up arrow<br />
Send("{ENTER}") ; Presses Enter<br />
sleep(500)<br />
ShellExecute("C:\Users\nosse\AppData\Local\Programs\Opera GX\launcher.exe")<br />
ShellExecute("<a href="https://www.primevideo.com" rel="nofollow ugc">https://www.primevideo.com</a>")<br />
ShellExecute("<a href="https://www.netflix.com" rel="nofollow ugc">https://www.netflix.com</a>")<br />
sleep (2000)<br />
Send("^{TAB}") ; Presses Shift + Tab<br />
Send("{CTRLDOWN}") ; Holds the CTRL key down<br />
Send("{w}") ; Presses the w key<br />
Send("{CTRLUP}") ; Releases the CTRL key<br />
sleep (300)<br />
Send("{ENTER}") ; Presses Enter<br />
Send("{LWINDOWN}") ; Holds the Windows key down<br />
Send("{SHIFTDOWN}") ; Holds the Left Shift key down<br />
Send("{RIGHT}") ; Presses Right arrow<br />
Send("{SHIFTUP}") ; Releases the Shift key<br />
Send("{LWINUP}") ; Releases the Windows key</p>
<p dir="auto">With this code I change the screen mode to extend the for my projector, open up a new opera window with netflix and prime video, close the opera's welcome window and finally put this new openned window to the second screen!</p>
<p dir="auto">Now I'm going to do the reverse engineering! Thanks a lot once again</p>
]]></description><link>https://www.triggercmd.com/forum/post/2638</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2638</guid><dc:creator><![CDATA[Gerfesson Alves de Oliveira]]></dc:creator><pubDate>Sat, 08 Aug 2020 02:58:21 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Fri, 07 Aug 2020 20:20:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/4228">@Gerfesson-Alves-de-Oliveira</a>, for this one I'd use <a href="https://www.autoitscript.com" rel="nofollow ugc">AutoIT</a>.</p>
<p dir="auto">I like AutoIT because it can do almost anything in Windows, and it allows you to compile your script to a stand-alone .EXE file.  After you install it, look for <strong>SciTE Script Editor</strong>, that's the actual AutoIT script editor.</p>
<p dir="auto">You can see here how simple it is to make an AutoIT script that presses Windows+P:</p>
<pre><code>Send("{LWINDOWN}") ; Holds the Windows key down
Send("{p}")       ; Presses the p key
Send("{LWINUP}") ; Releases the Windows key
</code></pre>
<p dir="auto">This is a good reference page for pressing keys:  <a href="https://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm" rel="nofollow ugc">https://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm</a></p>
]]></description><link>https://www.triggercmd.com/forum/post/2633</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2633</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 07 Aug 2020 20:20:08 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Fri, 07 Aug 2020 00:07:32 GMT]]></title><description><![CDATA[<p dir="auto">How could I press windows key + "P" so I can open up the projection options?</p>
]]></description><link>https://www.triggercmd.com/forum/post/2625</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2625</guid><dc:creator><![CDATA[Gerfesson Alves de Oliveira]]></dc:creator><pubDate>Fri, 07 Aug 2020 00:07:32 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Sat, 25 Jul 2020 13:38:01 GMT]]></title><description><![CDATA[<p dir="auto">FYI, I found that Wsh.SendKeys can't do ALT+1 (or any other digit), but I was able to make it work with this AutoHotKey script.</p>
<pre><code>Send, !1
</code></pre>
<p dir="auto">! means hold the ALT key (while pressing 1).  You can see examples like this in the Tutorial page in AutoHotKey's help.</p>
<p dir="auto">My TRIGGERcmd command is this:   <strong>start d:\tools\AutoHotKey\pressAlt1.ahk</strong></p>
<p dir="auto">Let me know if you need me to do a video on this.</p>
]]></description><link>https://www.triggercmd.com/forum/post/2552</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2552</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sat, 25 Jul 2020 13:38:01 GMT</pubDate></item><item><title><![CDATA[Reply to Press the Down Arrow key (or any other key) on Tue, 30 Jun 2020 22:29:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/3842">@João-Paulo-Pugialli</a>, according to this article, {F9} is correct, so maybe your keyboard is doing something in hardware to toggle its own light off.<br />
<a href="https://social.technet.microsoft.com/wiki/contents/articles/5169.vbscript-sendkeys-method.aspx" rel="nofollow ugc">https://social.technet.microsoft.com/wiki/contents/articles/5169.vbscript-sendkeys-method.aspx</a></p>
]]></description><link>https://www.triggercmd.com/forum/post/2420</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/2420</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Tue, 30 Jun 2020 22:29:56 GMT</pubDate></item></channel></rss>