Call out to script to stop with attribute in wWWHomePage
Posted
by Steven Maxon
on Super User
See other posts from Super User
or by Steven Maxon
Published on 2010-06-09T06:24:32Z
Indexed on
2010/06/09
6:32 UTC
Read the original article
Hit count: 323
new
I'm getting an error when I try and call out the script to stop in line 8
'Bind to the user object using the current user
Set objSysInfo = CreateObject("ADSystemInfo") strUserDN = objSysInfo.UserName Set objUser = GetObject("LDAP://" & strUserDN)
strwWWHomePage = objItem.Get("wWWHomePage") If wWWHomePage <> 6 Then wscript.quit Else Set ppt = CreateObject("PowerPoint.Application") ppt.Visible = True ppt.Presentations.Open "\abngan01\tracking\ppt.pptx" End If
© Super User or respective owner