Results 1 to 2 of 2

Thread: MCE05 tricky key combination

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2005
    Posts
    1

    MCE05 tricky key combination

    I'm trying to write up a quick little script that sends the key combination for the "green button" in all Windows Media Center Edition setups.

    The combination is, interestingly enough, [WIN] + [ALT] + [ENTER].

    I tried using SendKeys(), but had no luck locating the windows key... is this key combination even possible to perform using a script? Basically I was trying this code in hopes that it can be done painlessly, but had no such luck.

    Code:
    dim oShell
    set oShell= Wscript.CreateObject("Wscript.shell")
    oShell.SendKeys "{ ......................? }"
    WScript.Sleep 100

  2. #2
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536

    Re: MCE05 tricky key combination

    The keycode for the Win key is 91. It's 18 for the ALT key and 13 for ENTER.

    Hope this helps? I'm not really familiar with what you want to achieve.
    This world is not my home. I'm just passing through.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width