AWilliams 0 Posted September 13, 2018 Share Posted September 13, 2018 (edited) I have lots of custom key locations for different applications. Right now I am trying to assign the ContextMenu key on my laptop to be another windows key solely in Synergy So I have effectively Ctrl(mac control) Windows(Cmd on mac) alt(alt on mac) on both sides. My idea was to do this with Autohotkey but it doesn't appear to be a way to detect if keys are being sent to Synergy or another application. This is a simplified example of what I am try to do but illustrates that they appears to be no way to detect Synergy. #IfWinActive ahk_class NotebookFrame Shift::Send shift #IfWinActive Return:: WinGetClass, class, A MsgBox, The active window's class is "%class%". return Edited September 13, 2018 by AWilliams Link to post Share on other sites
Kelvin Tran 142 Posted September 19, 2018 Share Posted September 19, 2018 (edited) Synergy works at the driver level to simulate the I/O bus on the other computer. Hence, software such as AHK won't necessarily be able to detect when a particular piece of data is being sent to Synergy because it will be intercepted by the Synergy service before AHK has a chance to. Developers, please correct me if I am incorrect @Nick Bolton, but I believe Synergy works at the driver level. Edited September 19, 2018 by Kelvin Tran Link to post Share on other sites
AWilliams 0 Posted September 20, 2018 Author Share Posted September 20, 2018 I would like to add autohotkey does work for reassigning limit versions of keys. I would very much support a window or something that gets focused to be able to detect which key to use with autohotkey. Link to post Share on other sites
Synergy Team Nick Bolton 405 Posted October 19, 2018 Synergy Team Share Posted October 19, 2018 On 9/19/2018 at 7:33 AM, Kelvin Tran said: Developers, please correct me if I am incorrect @Nick Bolton, but I believe Synergy works at the driver level. Actually, it works at the OS API level (this is less low level than talking to drivers) Link to post Share on other sites
Kelvin Tran 142 Posted October 19, 2018 Share Posted October 19, 2018 Just now, Nick Bolton said: Actually, it works at the OS API level (this is less low level than talking to drivers) Ah. I thought it talked to drivers. Sorry! Link to post Share on other sites
AWilliams 0 Posted November 1, 2018 Author Share Posted November 1, 2018 For anyone that sees this page this is an idea that I have been unable to test yet. https://autohotkey.com/board/topic/61428-detect-different-computer-with-synergy-and-ahk/ Essentially it detects mouse position using autohotkey. Link to post Share on other sites
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now