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.

Plugin for MeediOS

Got a good idea? You can suggest new features here.
Shawn Bass
Posts: 8
Joined: Tue Apr 07, 2009 1:04 pm

Re: Plugin for MeediOS

Post by Shawn Bass »

Brett,

Not sure what I'm doing wrong here, but it still won't target MeediOS. I keep getting the message that says Application not found/active or whatever it says.

Any other ideas?

Shawn
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Plugin for MeediOS

Post by stottle »

I can install MeediOS on a test VM and see if I can get it working. Is there any particular version or setup instructions I need?

Brett
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Plugin for MeediOS

Post by stottle »

Shawn,

Ok, sorry I didn't catch it. There is no eg.FindWindow. That will throw, which I'm guessing leads to the message as not finding a window. That's one of the hazards of EG development, the messages can be deceiving.

Try:

Code: Select all

#Put this outside any classes near the top of the plugin:
findMeedios = eg.WindowMatcher(None, u'H3-WM-COMMAND', None, None, None, None, True, 0.0, 0)
#In the action class:
hWnds = findMeedios()
if len(hWnds) != 0:
    SendMessageTimeout(hWnds[0], WM_COMMAND, self.value, 0)
I don't know what values to use to do anything, but I tested the above commands in a python shell (from the help menu) and they didn't throw.

Brett
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Plugin for MeediOS

Post by stottle »

Shawn,

Did you ever get it working?

Brett
olivvvv
Posts: 3
Joined: Fri Oct 02, 2009 9:10 am

Re: Plugin for MeediOS

Post by olivvvv »

hi all,

no news ?
Post Reply