Author Topic: How to send the 'windows key' with Sendkeys  (Read 3016 times)

0 Members and 1 Guest are viewing this topic.

cdburns123

  • Jr. Member
  • **
  • Posts: 8
  • Karma: 0
    • View Profile
How to send the 'windows key' with Sendkeys
« on: January 27, 2015, 08:08:45 PM »
I want to accomplish this:

windows key and the P key together. This will bring up the projector charm.

My idea is this:   "OnScreen"....sends keystroke combinations:  win P, down, down, down, enter.
I have miracast on my tv and this would be my next small project.

THANKS

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: How to send the 'windows key' with Sendkeys
« Reply #1 on: January 27, 2015, 08:48:15 PM »
This should be easy to accomplish with the InputKeys.Send action.

SendKeys does not allow for much in the way of key combinations.  You can only modify keys with Ctrl, Alt or Shift with SendKeys.

You could also use DxInput but it should not be necessary.