# Output the "Win" key via serial (and key combos)

**URL:** <https://forum.arduino.cc/t/output-the-win-key-via-serial-and-key-combos/43485>\
**Category:** Syntax & Programs\
**Created:** [March 9, 2010, 2:20am UTC](https://forum.arduino.cc/t/output-the-win-key-via-serial-and-key-combos/43485 "2010-03-09T02:20:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![h4t](https://avatars.discourse-cdn.com/v4/letter/h/8edcca/32.png) [@h4t](https://forum.arduino.cc/u/h4t)\
**Post date:** [March 9, 2010, 2:20am UTC](https://forum.arduino.cc/t/output-the-win-key-via-serial-and-key-combos/43485/1 "2010-03-09T02:20:56Z")

</div>

I've got my Arduino outputting various text messages via serial to indicate the status of a few buttons and now I'd like to have my Arduino output key combinations such as Win+1, Win+2, ..., Win+n which will then be picked up by my PC as keyboard commands (thanks to a serial-\>key press translator program).

1. How do I output a single press of the Win key?
2. How might I have Arduino send a key combination like Win+1?

---

<div class="post-metadata">

**Author:** ![Coding\_Badly](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Coding\_Badly](https://forum.arduino.cc/u/Coding_Badly)\
**Post date:** [March 9, 2010, 3:23am UTC](https://forum.arduino.cc/t/output-the-win-key-via-serial-and-key-combos/43485/2 "2010-03-09T03:23:43Z")

</div>

Search for a program called Gobetwino or AACKeys.

This seems like a good place to start...  
[http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1258067608](http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1258067608)

---

<div class="post-metadata">

**Author:** ![h4t](https://avatars.discourse-cdn.com/v4/letter/h/8edcca/32.png) [@h4t](https://forum.arduino.cc/u/h4t)\
**Post date:** [March 9, 2010, 4:24am UTC](https://forum.arduino.cc/t/output-the-win-key-via-serial-and-key-combos/43485/3 "2010-03-09T04:24:25Z")

</div>

Oh snap, after reading a bit more about the GIDEI interface built into AAC keys it works great. I now have paper buttons on my desk that can launch GMail, Hulu and the local weather forecast when I tap them.

Yay! Thanks for the link.

---

<div class="post-metadata">

**Author:** ![Coding\_Badly](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Coding\_Badly](https://forum.arduino.cc/u/Coding_Badly)\
**Post date:** [March 9, 2010, 4:30am UTC](https://forum.arduino.cc/t/output-the-win-key-via-serial-and-key-combos/43485/4 "2010-03-09T04:30:08Z")

</div>

Paper buttons? What are those?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [March 9, 2010, 9:13am UTC](https://forum.arduino.cc/t/output-the-win-key-via-serial-and-key-combos/43485/5 "2010-03-09T09:13:55Z")

</div>

GoBetwino can not handle the Wndows button and the Print screen button

The reason for this is that the GoBetwino command that send keystrokes to Winodws uses the Windows sekdkeys API call, this call sends the keystrokes to a specific applications window.

The "Windows" key doesent work that way, it is sent to the operating system, not to a specific applications window.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 6, 2021, 8:07pm UTC](https://forum.arduino.cc/t/output-the-win-key-via-serial-and-key-combos/43485/6 "2021-05-06T20:07:51Z")

</div>


