Hi all,
I have some trouble with my script, no variable will be written and also there is no Auto-Close, only a blank screen after press the button?
Here is my script:
<html>
<head>
<title>Additional Applications SAG</title>
<HTA:APPLICATION
APPLICATIONNAME="AddApp"
SCROLL="yes"
SINGLEINSTANCE="yes"
BORDER="dialog"
BORDERSTYLE="complex"
MinimizeButton="No"
MaximizeButton="No"
Scroll="No"
</head>
<body onload="window.resizeTo(520, 390)">
<SCRIPT LANGUAGE="VBScript">
Set ProgressUI = CreateObject("Microsoft.SMS.TsProgressUI")
ProgressUI.CloseProgressDialog
Sub ButtonFinishClick
dim notes
SET Env = CreateObject("Microsoft.SMS.TSEnvironment")
If notes.Checked Then
notes = "Y"
else notes = "N"
End If
Env("notes") = notes
window.Close
End Sub
</SCRIPT>
<body>
<input type="checkbox" name="notes"> Lotus Notes 8.5 Installation<p>
<button accesskey=N type=submit id=buttonFinish onclick=ButtonFinishClick >Installation</button>
</body>
</html>
Please tell me if there is some stupid error in it! :-)
Thanks a lot!!!