Dim isLocked
isLocked = RegRead(Stuff)
Dim ssTimeout
ssTimeout = RegRead(MoreStuff)
If (isLocked = 0) or (CInt(ssTimeout) 900) Then
Do Stuff
End If
This helps?
Thanks,
Brian Desmond
[EMAIL PROTECTED]
c -
312.731.3132
From: [EMAIL PROTECTED]
Desmond
Sent: Tuesday, December 13, 2005
12:05 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] If, and,
or in .vbs
Dim isLocked
isLocked = RegRead(Stuff)
Dim ssTimeout
ssTimeout = RegRead(MoreStuff)
If (isLocked = 0) or (CInt(ssTimeout) 900)
Then
Do Stuff
End
The only problem I have is that I cant
get it to auto logoff after 20 Seconds.
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding,
Devon
Sent: Tuesday, December 13, 2005
2:49 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] If, and,
or in .vbs
I seem to getting a syntax error on the comma
or space after the username.
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Crawford, Scott
Sent: Thursday, October 13, 2005
11:49 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir]
Authenticated drive
Sorry, username and password need to be in
quotes.
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon
Sent: Thursday, October 13, 2005
12:04 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir]
Authenticated drive mapping via .vbs
I seem
a syntax error on the comma
or space after the username.
From:
[EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]] On Behalf Of Crawford, Scott
Sent: Thursday, October 13, 2005
11:49 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir]
Authenticated drive mapping via .vbs
Set
Of Crawford, Scott
Sent: Thursday, October 13, 2005
1:59 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir]
Authenticated drive mapping via .vbs
Sorry, username and
password need to be in quotes.
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding,
Devon
] On Behalf Of Harding,
DevonSent: Thursday, October 13, 2005 3:24 PMTo:
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Authenticated
drive mapping via .vbs
Quotes work.
Now I just need to be able to sync time with my local DC via
.vbs.
In my batch file, I
have