KB-37021: Opening different screens for Viewers connected to the same Domain.

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
Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *