home *** CD-ROM | disk | FTP | other *** search
- // Author : Andy Earp(NetSupport Ltd)
- // File name : Clientlist.scp
- // Date created : 17/08/00
- // Description :
- // This script will display a list of all the Clients that were found in the Client.nsm file. It will then display the number of Clients found.
-
- Print "**********************************************"
- Print " "
- Print " This is a sample script that will display"
- Print " in a list all of the Clients names and "
- Print " transport addresses stored in the Client.nsm "
- Print " file. "
- Wait (6)
-
- Dim Clientlist
- Dim Clientname
-
- // This next feature will find get all of the Clients found in the client.nsm file and place them into the Client list
-
- GetAllClients (Clientlist)
-
- Print " "
- Print "Below is a list of all known Clients:"
- Print "****************************************"
- Print " "
-
- Count = 0
-
- // This loop will print the name of each Client found in the Client list
-
- For each Clientname in Clientlist
-
- Print "Client name = ", Clientname
- Wait(3)
- count = Count + 1
- Next
- If count = 0 then
- Print " "
- Print " There were no Clients entered into the Client.nsm file."
- Print " Please connect to one or more Clients to see this "
- Print " script display the Client list."
- Wait (5)
- Else
- Print " "
- Print "There were ", Count, " Clients found in the Client List"
- Wait (5)
-
- Endif
-
- Print " "
- Print "****************************************************"
- Print " "
- Print "To edit or view the contents of this"
- Print "script right mouse button click"
- Print "on the Script icon and select Edit"
-
- //Copyright ⌐ 2000
-
-
-
-
-
-