Page 2 of 2

Re: DVB Dream

Posted: Tue Dec 11, 2007 10:54 pm
by Bitmonster
No, I mean the window "class". Every GUI element in windows has two named properties: the name and the class. The user will never see the class and Delphi (which they are using) uses the window class "Tfmain" by default for toplevel windows, but this can be changed by the developer to another name with win32api function RegisterClass().

Re: DVB Dream

Posted: Tue Dec 11, 2007 11:20 pm
by Bitmonster
As a temporary workaround you can try to call SendMessage on all found windows. Something like:

Code: Select all

for hwnd in myWindowMatcher.Enumerate():
    SendMessageTimeout(hwnd,...)
But find out first if commands are not processed multiple times, because DVBDream receives them through more than one window.

Re: DVB Dream

Posted: Wed Dec 12, 2007 12:17 am
by townkat
Using "for" fixed the problem, thnx for writing the syntax, in am really new to Python (and programing in general)

I didnt found any other problems untill now.
I hope everything will be ok.

I atached version 4 of dvbdream plugin.

thnx

Re: DVB Dream

Posted: Wed Dec 12, 2007 5:41 pm
by Bitmonster
I had to implement some changes on the WindowMatcher and refactored your plugin accordingly:
http://www.eventghost.org/forum/viewtop ... 4165#p4165

So grab the latest beta and use this as the source of further development.

Re: DVB Dream

Posted: Thu Jan 17, 2008 8:53 pm
by stressed
Hello,

I cannot make this plugin work.

It appears in the "other" section but I simply cannot add the plugin to the configuration tree once the OK button is disabled.

Can you please explain what I am doing wrong.

I have sucessfully installed the HID Plugin for Playstation 3 remote.

Regards,

Re: DVB Dream

Posted: Sun Jan 20, 2008 3:51 pm
by stressed
I have figured out what was wrong.

I was using an old version of EventGhost (0.3.5). After installing the new version everything is ok.

Thanks anyway.

Regards