home *** CD-ROM | disk | FTP | other *** search
- // LANutil.SCP - Sample Script for use with LANutil
- // Copyright (c) 2000, Vector Networks Limited
- // All Rights Reserved
- //
- // Revision History:
- // 0.0 15-Jun-00 DB - Created, using STEST.SCP 09-Jun-00.
-
- // The Script attempts to connect to the Client named in variable Client,
- // using the username (and encrypted password) in variable Username.
- //
- // Script requirements:-
- // Predefined variables:
- // Client = "TEST"
- // Username = "USER/GBBLLYDGKK"
-
- Function Main ()
- Dim Client as String, Username as String
- Dim Handle, Status
-
- SetTransport (T_TCPIP)
-
- If Connect (Client, Username) = TRUE Then
- Print "Opening View"
- Control ()
- SetWindowMode (2)
- WaitEndView ()
- Print "Closing View"
- Wait (2)
- Print "Disconnecting..."
- Disconnect (Client)
- EndIf
- End Function
-
-