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
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.
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
Re: Plugin for MeediOS
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
Brett
Re: Plugin for MeediOS
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:
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
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)
Brett
Re: Plugin for MeediOS
Shawn,
Did you ever get it working?
Brett
Did you ever get it working?
Brett