That’s interesting Nicolas, by batch file I guess you mean something like a VBS file.
Perhaps a command sequence like this could be used:
set safety = CreateObject(“ASCOM.Script.SafetyMonitor”)
safety.IsSafe = false
That needs a safetymonitor which has multiple connections and the IsSafe property can be set.
Or perhaps your batch file could write to a file, rather like the Boltwood does, then a generic SafetyMonitor could read that file:
Dim fso, safetyFile
Set fso = CreateObject(“Scripting.FileSystemObject”)
Set safetyFile = fso.CreateTextFile(“c:\safety.txt”, True)
safetyFile.WriteLine(“Unsafe.”)
safetyFile.Close
I’ll think about this, there could be a way through without a lot of effort.