Synergy Screenshare Program

Talk about anything
User avatar
metacognition
Posts: 117
Joined: 22 Oct 2014, 05:57
Location: Alaska
Contact:

Synergy Screenshare Program

29 Oct 2014, 20:51

I just spent two days of my life madly trying to figure out why a "click" command wouldn't work. My program hinged on being able to click on this one control, an RaGrid in my GUI. It was only on this one computer.

I tried every trick in the book from and every combination, variation, sendmode, and method AHK has, even all the little tricks suggested in the forum. Even spent time on MSN to use PostMessage. No luck.

Turns out this computer had Synergy (free Mouse/Keyboard sharing program) running and that was somehow steeling the mouse click. I terminated "synergy_s" and "syernergy_d" processes ("show processes from all users") in taskman and the script worked.

I wonder what synergy is doing to hook the mouse at such a deep level and why it wasn't passing it forward?

Two days of my life, one line of code: "Click".

Cheers!
User avatar
joedf
Posts: 8977
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: Synergy Screenshare Program

29 Oct 2014, 21:56

What about the ahk mouse hook?
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
User avatar
metacognition
Posts: 117
Joined: 22 Oct 2014, 05:57
Location: Alaska
Contact:

Re: Synergy Screenshare Program

30 Oct 2014, 01:23

Yes, with #InstallMouseHook it still did not work until closing these processes:
2014-10-29_2218.png
Offending Processes
User avatar
joedf
Posts: 8977
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: Synergy Screenshare Program

30 Oct 2014, 01:54

hmm :( i dont know ....
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
lexikos
Posts: 9621
Joined: 30 Sep 2013, 04:07
Contact:

Re: Synergy Screenshare Program

03 Nov 2014, 21:02

Nitpick: Synergy is not a screen-sharing program. It does not share a screen, only the keyboard and mouse.

Any old keyboard/mouse hook like the one AutoHotkey uses could easily interfere with keyboard/mouse input, simulated or otherwise. It doesn't have to be at a lower level than AutoHotkey.
User avatar
metacognition
Posts: 117
Joined: 22 Oct 2014, 05:57
Location: Alaska
Contact:

Re: Synergy Screenshare Program

03 Nov 2014, 21:53

Dang, you're right, I don't know why I said that. Yes, it is not a screen sharing application by any means, I knew that, believe me I did! :)

Okay good to know on the mouse hooks. Thanks!

Return to “Off-topic Discussion”

Who is online

Users browsing this forum: No registered users and 37 guests