Question:
How can I open different screens for two Viewers connected to the same Domain?
Solution:
To do so, create a script with the names of the computers opening each Viewer. For example:
‘gets computer name
Set WshNetwork = CreateObject(“WScript.Network”)
‘WshNetwork.ComputerName
‘WshNetwork.UserDomain
‘WshNetwork.UserName
‘opens screen1 or screen2, according to the computer name loaded in the previous script
If WshNetwork.ComputerName = “computer1” then
‘opens screen1
Elseif WshNetwork.ComputerName = “computer2” then
‘opens screen2
End if
Set WshNetwork = CreateObject(“WScript.Network”)
‘WshNetwork.ComputerName
‘WshNetwork.UserDomain
‘WshNetwork.UserName
‘opens screen1 or screen2, according to the computer name loaded in the previous script
If WshNetwork.ComputerName = “computer1” then
‘opens screen1
Elseif WshNetwork.ComputerName = “computer2” then
‘opens screen2
End if