multiple instances or passwords - BTW how to open the applica tion menu with keyboard?

Stiglmair Erich Erich.Stiglmair "at" sbawm.bayern.de
Mon, 17 Apr 2000 16:23:39 +0000


With vbscript you can automate this and check machines for valid IP's.

Also you should encode and make a *.vbe script with
"C:\Programme\Windows Script Encoder\SCRENC.EXE"

BTW is it possible to open the application menue with the keyboard???
or why Alt + F4 does not work to close vncviewer - it is in the menu?

________________________________ example _____________________________
' vnc.VBS
set wshshell = CreateObject("WScript.Shell")
Set WS = CreateObject("MSWinsock.Winsock")

    IPAddress = WS.LocalIP

if IPAddress = "10.10.10.3" then
    ' open vnc
    wshshell.Run "c:\Programme\Orl\Vnc\vncviewer.exe"
    WScript.Sleep 1000

    ' Input server and port
    wshshell.Sendkeys("name:0")
    wshshell.Sendkeys("{TAB}")
    wshshell.SendKeys("{ENTER}")

    'Send password
    wshshell.Sendkeys("password")
    WScript.Sleep 1000
    wshshell.SendKeys("{ENTER}")
    WScript.Sleep 1000

    'Send ctrl + alt + del to vncviewer
    wshshell.Sendkeys("%^+{DEL}")
else
' nothing
end if


Mit freundlichen Gr|_en

Dipl.-VwW(FH)
Erich Stiglmair
Stra_enbauamt Weilheim
M|nchener Str. 39
82362 Weilheim
erich.stiglmair "at" sbawm.bayern.de
Tel.	0881-645-0 Zentrale
	0881-645-148 Durchwahl
Fax	0881-645-100

____________________________________________________

	- -----Original Message-----
	From: Doug Smith [mailto:doasmith "at" bgcs.k12.in.us]
	Sent: 12 April 2000 17:58
	To: VNC Listserve
	Subject: multiple instances or passwords


	I use VNC throughout my building and have the same password on
all the
	machines.  I'd like to be able to set a few users to interact
with each
	other but don't want to give out the currently installed
password.  Any
	suggestions?
	_________________________________________________
	Douglas A. Smith
	Technology Coordinator
	Beech Grove High School
	5330 Hornet Ave.
	Beech Grove, IN  46107
	317.786.1447
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------