lyledg Posted October 30, 2005 Share Posted October 30, 2005 I am trying to determine what site a computer exists in using a LDAP query, and was wondering if Autoit can do this? Thus far, I have this in VBS: Set oADsSysInfo = CreateObject("ADSystemInfo") sSiteName = oADsSysInfo.SiteName ' use only lowercase text in the site names tests Select Case LCase(sSiteName) Case "Site1" MapDrive "k:", "\\server1\share" Case "Site2" MapDrive "k:", "\\server2\share" Case "Site3" MapDrive "k:", "\\server3\share" End Select Am I able to convert this into a Autoit script? Cheers Link to comment Share on other sites More sharing options...
GaryFrost Posted October 30, 2005 Share Posted October 30, 2005 Yes, but you would need the beta at this time, also you might want to check out this thread http://www.autoitscript.com/forum/index.ph...opic=12143&st=0 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now