i downloaded that little applet (wherezt) and it said I had several applications running with the title of Media Center. while Media Center allows direct launching within several of its sections (i.e. you can have it launch directly into MyTV instead of going through the top menu) it does not allow for direct launching of its Play DVD menu item.
Media Center also allows you to play a DVD from its remote and from keystrokes, but only after the program has launched. What I (and others) am trying to do is have HomeSeer launch Media Center and then send the keystrokes to Play DVD (Ctrl/Shft/M).
Here is the script I've put together from the help file and posts I've found elsewhere on here:
sub main()
dim I
i=hs.launch("C:\WINDOWS\eHome\ehshell.exe","")
hs.waitsecs 3
hs.keys "","Media Center",1
hs.waitsecs 3
hs.keys "^(+m)","Media Center",1
end sub
It launches Media Center fine but never accesses the Play DVD button. I've checked the logs and there are no errors. I've substituted other keystrokes {enter} to see if Media Center would respond to those, same result.
I found a page where it talks about MCE Keyboard shortcuts and it says something about Hip Command (Keystroke or SendMessage Commands) for Ctrl/Shft/M is ^!m, not ^+m.... but I have no idea if those are even talking about the same thing. I tried it both ways and neither work.
Anyone have any pointers?
Media Center also allows you to play a DVD from its remote and from keystrokes, but only after the program has launched. What I (and others) am trying to do is have HomeSeer launch Media Center and then send the keystrokes to Play DVD (Ctrl/Shft/M).
Here is the script I've put together from the help file and posts I've found elsewhere on here:
sub main()
dim I
i=hs.launch("C:\WINDOWS\eHome\ehshell.exe","")
hs.waitsecs 3
hs.keys "","Media Center",1
hs.waitsecs 3
hs.keys "^(+m)","Media Center",1
end sub
It launches Media Center fine but never accesses the Play DVD button. I've checked the logs and there are no errors. I've substituted other keystrokes {enter} to see if Media Center would respond to those, same result.
I found a page where it talks about MCE Keyboard shortcuts and it says something about Hip Command (Keystroke or SendMessage Commands) for Ctrl/Shft/M is ^!m, not ^+m.... but I have no idea if those are even talking about the same thing. I tried it both ways and neither work.
Anyone have any pointers?
Comment