I use [1]Synergy, the free/open source multi-platform software package
to share a single mouse and keyboard among multiple computers, to
control my work ThinkPad and my personal MacBook Air at the same time.
The server is the Windows 7 box.
A [2]bug in the Synergy code introduced some time ago broke the
handling of the right shift key in this setup. Basically, the server
ignores the right shift key when sent by the server. It is an annoying
bug.
While the patch is forthcoming I reached a point where the annoyance
pushed me to act. I use [3]AutoHotKey, (AHK) so a little addition to my
mouse wheel scroll script from the [4]HowTo Geek addresses the bug with
two lines:
#InstallKeybdHook
RShift::LShift
Add the first line at the top of your script and the other line
somewhere below. Exit AutoHotKey and relaunch your script.
UPDATE: If you lock your Windows 7 host that is your Synergy server,
when you unlock the host you have to restart the AHK script for it to
work until you lock the Synergy server's host again. Perhaps someone
else knows the fix?
Here's my complete script. It makes scrolling match on the two laptops,
too, by the way:
; Reverse Scrolling Script by How-To Geek modified by prjorgensen
#MaxHotkeysPerInterval 9999999 ; keep the alert popup from showing
#InstallKeybdHook
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey r
eleases.
SendMode Input ; Recommended for new scripts due to its superior speed and reli
ability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
WheelUp::
Send {WheelDown}
Return
WheelDown::
Send {WheelUp}
Return
RShift::LShift
__________________________________________________________________
My original entry is here: [5]Right shift broken in Synergy & a
work-around. It posted Tue, 29 May 2012 23:39:17 +0000.
Filed under: technology, Apple, autohotkey, foss, Mac OS X, synergy,
ThinkPad, Windows 7,
References
1.
http://www.synergy-foss.org/
2.
http://synergy-foss.org/tracker/issues/2842
3.
http://www.autohotkey.com/
4.
http://www.howtogeek.com/57542/how-to-get-the-worst-os-x-lion-feature-in-windows-reverse-scrolling/
5.
https://www.prjorgensen.com/2012/05/29/right-shift-broken-in-synergy/