You can create or edit a script to call the specific instance of Synergy you are working with on your machine.
Each instance of Synergy is assigned an instance ID, which can be found in the About box. This changes every time Synergy is launched, but can be used to check against your script to ensure that the correct instance of Synergy has been called.
'%RunPerInstance
Take a look at the API example script: The first lines of a script, to see an example of how to script for a specific instance of Synergy.
Option Explicitto reduce programming errors.
SetLocale("en-us")to force your system to interpret numerical values as they are in the US.
Dim SynergyGetter, Synergy On Error Resume Next Set SynergyGetter = GetObject(CreateObject("WScript.Shell").ExpandEnvironmentStrings("%SAInstance%")) On Error GoTo 0 If (Not IsEmpty(SynergyGetter)) Then Set Synergy = SynergyGetter.GetSASynergy Else Set Synergy = CreateObject("synergy.Synergy") End Ifto create an OLE automation object which starts the specific instance Synergy that you are working in.
MsgBox "Script Complete"
Wscript.Quit