Hi,
I'm trying to create a logon script and have my mappings and everything working, but struggling with the Greetings.
I have this at the moment
' let's display a welcome message
dim sTime, sDate, strUser
sTime = Hour (now)
sDate = Now
strUser = objnetwork.UserName
If sTime <=11 Then
GreetingTime = "Morning"
ElseIf sTime <=18 Then
GreetingTime = "Afternoon"
Else
GreetingTime = "Evening"
End If
msgbox "Good " & GreetingTime & " " & strUser & "!"
msgbox "You are now being logged into the system"
Dim t
For t = 1 To 100
next
I want it to stop asking the user to click ok and just prompt that it's happening and not require input.
Thanks
I'm trying to create a logon script and have my mappings and everything working, but struggling with the Greetings.
I have this at the moment
' let's display a welcome message
dim sTime, sDate, strUser
sTime = Hour (now)
sDate = Now
strUser = objnetwork.UserName
If sTime <=11 Then
GreetingTime = "Morning"
ElseIf sTime <=18 Then
GreetingTime = "Afternoon"
Else
GreetingTime = "Evening"
End If
msgbox "Good " & GreetingTime & " " & strUser & "!"
msgbox "You are now being logged into the system"
Dim t
For t = 1 To 100
next
I want it to stop asking the user to click ok and just prompt that it's happening and not require input.
Thanks