Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Send key to application withouth focus => MCE problem :(

If you have a question or need help, this is the place to be.
Post Reply
Loli
Posts: 6
Joined: Wed Jan 02, 2008 12:56 am

Send key to application withouth focus => MCE problem :(

Post by Loli »

Is it possible to make eventghost send event to and application without focusing it?

It will be really usable because i can write something in eclipse on primary screen and control MCE on secondary seamlessly!

Thanks for your answer!

EDIT: i tried it now and IT WORK! But my problem is that vista MCE don't accept it - can you help me somehow? I'm trying to do it for about 4 hours without success, but this software is still best anyway! :)

EDIT2: i found this: http://msdn2.microsoft.com/en-us/library/bb188947.aspx ... but it is not full list and don't work for me :(

http://msdn2.microsoft.com/en-us/library/bb643809.aspx ... looks like maybe i can do it, but i it will need external aplication in .net that will send commands to MCE acording to what it receives in commandline(or something), it sure isn't clear way how to do it.

http://msdn2.microsoft.com/en-us/library/aa286546.aspx + http://www.microsoft.com/downloads/deta ... laylang=en ... or would it be better to write some plugin into mce directly? :(
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Re: Send key to application withouth focus => MCE problem :(

Post by CollinR »

What specifically are you tring to do?
User avatar
topix
Experienced User
Posts: 441
Joined: Sat May 05, 2007 3:43 pm
Location: Germany
Contact:

Re: Send key to application withouth focus => MCE problem :(

Post by topix »

Maybe you can do a FindWindow an then send a message. Something like this:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1256">
    <Macro Name="MCE: Goto My Music" Expanded="True">
        <Action Name="Finde Fenster:  MCE">
            Window.FindWindow(None, None, u'Media Center Tray Applet', None, None, 1, False, 0.0, 0)
        </Action>
        <Action>
            Window.SendMessage(793, 5, 0, 0)
        </Action>
    </Macro>
</EventGhost>
Helps this -> http://wiki.jrmediacenter.com/index.php ... e_Commands
Loli
Posts: 6
Joined: Wed Jan 02, 2008 12:56 am

Re: Send key to application withouth focus => MCE problem :(

Post by Loli »

CollinR wrote:What specifically are you tring to do?
I have PC that is used as MCE on secondary display and as normal pc at same time. I want to use MS MCE. I'm trying to have my remote dedicated to control MCE withouth having mce infront (have focus on it) so i can use it like normal pc and MCE part will be at same time controled with remote withouth any break to work on normal PC.

Hope that it is understandable. :)
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Re: Send key to application withouth focus => MCE problem :(

Post by CollinR »

You will need either an MCE plugin or a list of the MCE send messages.

The list you had found is only for direct page access, much more important is the Up/Down/Left/Right/OK as that plus home will allow you control.


SageTV will do this now without any trouble don't know how hooked on MCE you are. I use Sage on an MCE 05 box, it's actually the better deal as you can RDP into it and it's cheaper then Pro.
Loli
Posts: 6
Joined: Wed Jan 02, 2008 12:56 am

Re: Send key to application withouth focus => MCE problem :(

Post by Loli »

Well i like MCE music library most of all that i tried (only meedio had nice, but it is stoped now) and i really like its integration to WMP etc.

And i don't want spend more money on MCE software - i use if for music mostly and ocassionaly for some movie. I know it is really specific usage, but MCE (it is called WMC in vista) is best for me if i solve this remote controller issue . :(

I also experimented with media portal but it does not handle my music library on samba share - more like it made it accessible once and it is not accessible in it since first reboot of my pc from then. So it is useless for me. :( And i even don't liked it's music library views (but it can be changed probably).
Post Reply