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.

Search found 21 matches

by magao
Sun Jun 26, 2011 1:36 am
Forum: Bug Reports
Topic: [PATCH] WindowMatcher.Find() - hwnd too large
Replies: 7
Views: 5024

Re: [PATCH] WindowMatcher.Find() - hwnd too large

Bah - just found that WindowMatcher.py didn't import from eg.WinApi but directly from eg.cFunctions. I've added both fixed files to the first post.
by magao
Sat Jun 25, 2011 9:56 pm
Forum: Bug Reports
Topic: [PATCH] WindowMatcher.Find() - hwnd too large
Replies: 7
Views: 5024

Re: [PATCH] WindowMatcher.Find() - hwnd too large

I've contributed a few things to EG over the years (PS3 remote SNIFF mode, some stuff to the Broadcaster plugin). In general I just scratch my itches, but I might contribute more if I could find the bug tracker ...
by magao
Fri Jun 24, 2011 10:04 pm
Forum: Bug Reports
Topic: [PATCH] WindowMatcher.Find() - hwnd too large
Replies: 7
Views: 5024

Re: [PATCH] WindowMatcher.Find() - hwnd too large

OK - not exactly the same - looks like another place that needs patching:

Traceback (most recent call last) (1529):
File "C:\Program Files (x86)\EventGhost\plugins\Window\FindWindow.py", line 512, in OnSelectionChanged
GetClassName(hwnd) == targetWinClass and
OverflowError: long int too large to ...
by magao
Fri Jun 24, 2011 9:49 pm
Forum: Bug Reports
Topic: [PATCH] WindowMatcher.Find() - hwnd too large
Replies: 7
Views: 5024

Re: [PATCH] WindowMatcher.Find() - hwnd too large

Win7 64-bit, though I don't know if it's specifically the 64-bit part. I left raising an exception in the patch to see if it ever raised after the fix, and it never has.

I used to get it quite frequently before I patched it. I almost never reboot my machine, so it's got time for very large numbers ...
by magao
Thu Jun 23, 2011 8:57 pm
Forum: Bug Reports
Topic: [PATCH] WindowMatcher.Find() - hwnd too large
Replies: 7
Views: 5024

[PATCH] WindowMatcher.Find() - hwnd too large

Since at least r1486 (probably earlier - I expect the change to python 2.6 was the cause) hwnds are always returned in EventGhost as a positive integer, resulting in a "hwnd too large" exception from WindowMatcher.Find().

<EDIT>Changes needed to both eg.WinApi.__init__.py and eg.Classes ...
by magao
Sun Sep 12, 2010 12:45 am
Forum: Plugin Support
Topic: Network Broadcast Sender / Listener
Replies: 134
Views: 71993

Re: Network Broadcast Sender / Listener

jitterjames wrote:Magao says that this won't work, but I think it is worth a try.
I'm not saying it won't work for many purposes - when it might not work is any time that no broadcasts are sent for the increased idle period.
by magao
Sat Sep 11, 2010 9:35 pm
Forum: Plugin Support
Topic: Network Broadcast Sender / Listener
Replies: 134
Views: 71993

Re: Network Broadcast Sender / Listener

I had a similar issue, and just configured it to send a "test" broadcast periodically. The sending EventGhost needs to be listening to its own broadcasts if you need to keep its receiver awake.

EG goes idle after like 10 seconds. Are you saying that you send a test every 10 seconds to wake up the ...
by magao
Sat Sep 11, 2010 8:33 pm
Forum: Plugin Support
Topic: Network Broadcast Sender / Listener
Replies: 134
Views: 71993

Re: Network Broadcast Sender / Listener

I had a similar issue, and just configured it to send a "test" broadcast periodically. The sending EventGhost needs to be listening to its own broadcasts if you need to keep its receiver awake.
by magao
Thu Dec 31, 2009 7:25 am
Forum: Plugin Support
Topic: Network Broadcast Sender / Listener
Replies: 134
Views: 71993

Re: Network Broadcast Sender / Listener

It should be considerably faster to use a python script, since it will be running in the same process - no startup time. Also python is a much nicer language than Java (from someone who uses both daily, but unfortunately Java considerably more ...).

<edit>Oops - didn't see there was an essentially ...
by magao
Sat Nov 21, 2009 11:09 pm
Forum: Plugin Support
Topic: Network Broadcast Sender / Listener
Replies: 134
Views: 71993

Re: Network Broadcast Sender / Listener

I have multiple IPv4 interfaces on my machines, which mean that I might receive each broadcast multiple times to the same machine (e.g. if listening to self broadcasts).

I've added a drop-down choice of the available IPv4 addresses on the machine. This means each configured broadcaster will only ...
by magao
Sun Jul 19, 2009 12:01 am
Forum: Plugin Support
Topic: PlayStation 3 Bluetooth Remote
Replies: 267
Views: 180384

Re: PlayStation 3 Bluetooth Remote

It's been a while (as I said earlier in the thread, I no longer have a PS3) - I've had to go back to the source.

It takes effect on HID.Hibernate (and I just realise it only takes effect on HID.Hibernate - it doesn't bind to the correct event if you change the event prefix). So if you're not seeing ...
by magao
Mon Jul 13, 2009 3:51 am
Forum: Plugin Support
Topic: PlayStation 3 Bluetooth Remote
Replies: 267
Views: 180384

Re: PlayStation 3 Bluetooth Remote

3.0.0 does indeed have sniff mode - IIRC I implemented it to automatically go into sniff mode when one of the eventghost events occurs - the one that's either 30 or 60 seconds after no user input.

There's currently no way to manually put the remote into sniff mode, but if you hold down the PS ...
by magao
Thu Apr 30, 2009 11:13 pm
Forum: Plugin Support
Topic: PlayStation 3 Bluetooth Remote
Replies: 267
Views: 180384

Re: PlayStation 3 Bluetooth Remote

I'm glad people are obviously using it. I no longer have a PS3, so I won't be able to help out with any further updates.
by magao
Tue Nov 11, 2008 6:03 am
Forum: Plugin Support
Topic: PlayStation 3 Bluetooth Remote
Replies: 267
Views: 180384

Re: PlayStation 3 Bluetooth Remote - 3.0.1

Updated to 3.0.1 - ripped out the "repeat" events. Thanks for the pointer I needed - with that it became obvious. This version will continue to work with xml files from 2.0.2 and 3.0.0 despite removing the "repeat" config option - I've left a dummy parameter in.

<edit>I should note that the low ...
by magao
Tue Nov 11, 2008 1:18 am
Forum: Bug Reports
Topic: [FIXED] Error re-opening configuration of mouse MoveRelative
Replies: 3
Views: 2311

[FIXED] Error re-opening configuration of mouse MoveRelative

EventGhost 0.3.6.1484, Windows XP SP3

Once the Move Relative (Change Mouse Position) action has created, it is not possible to re-open the configuration for it, getting the exception:

Error while configuring: Change Mouse position by x:None, y:-100
Traceback (most recent call last):
File "C ...