I tried the following script. the purpose
start a programm. before that the user
should enter a 4 digit number that has
to appear in the following window
where he types in the digits.
can this be done with the following?
;============================================================================
$VNCSERVER = "server5:" ; VNCServer festlegen
;$port ="1"
$cl = chr(10) + chr(13)
$wide = " "
+ " "
+ " "
+ " "
$hs = $cl + $cl
$a1 = ""
$a2 = ""
$a3 = ""
$a4 = ""
$a5 = ""
$a6 = ""
$a7 = ""
$a8 = ""
$a9 = ""
$a10 = ""
$a11 = ""
$a12 = ""
$a13 = ""
$a14 = ""
$a15 = ""
$a16 = ""
$a17 = ""
$a18 = ""
$a19 = ""
$a20 = ""
$a14 = " " ;AT (14,12) " "
$a15 = " " ;AT (15,12) " "
$a16 = "Druecken Sie JA, nachdem Sie ihre PortNummer eingegeben haben " ;AT (16,12) " "
$a17 = "Druecken Sie NEIN, wenn Sie abbrechen wollen " ;AT (18,12) "NEIN, wenn Sie abbrechen wollen "
$a20 = $wide + $cl + $cl + "INTERNETZUGANGSKONTROLLSYSTEM fuer BENUTZER" + UCASE("@USERID") + $CL
+ "Fehler-Nr:" + $cl + $cl + " : $a1 $a2"
+ $cl + " : $a3 $a4" + $cl + " : $a5 $a6"
+ $cl + " : $a7 $a8" + $cl + " : $a9 $a10"
+ $cl + " : $a11 $a12" + $cl + "$a13" + $cl + $cl + "$a14" + $cl
+ "$a15" + $cl + "$a16" + $cl + "$a17" + $hs + $hs
+ " "
+ " "
messagebox("$a20","KIX Logonscript ",68)
; ??? errorlevel druecken?
if @error = 6
run "%comspec% /c e:\programme\orl\vnc\vncviewer.exe server5:1"
endif