PerryRaptor 1 Posted May 17, 2005 Nope, doesn't filter...The example nor setting $Array[0] = "user" and no difference. I get the entire namespace contents. I tried version 3.1.1.31 against Win XP SP-2 and Win2000 SP-4; same results Share this post Link to post Share on other sites
MSLx Fanboy 0 Posted May 17, 2005 filter by the array $Array not an element... Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Share this post Link to post Share on other sites
SvenP 0 Posted May 17, 2005 Another problem with another script$objUser = ObjGet("WinNT://" & @ComputerName & "/Matthew, user") MsgBox(0, "test", $objUser) ;;need to fix .SetPassword With $objUser .SetPassword = "testpassword" .SetInfo EndWithErrors on .SetPassword = ...Error function says "Member not found."<{POST_SNAPBACK}>That is because you are NOT working with a user-object. Also .SetPassword is not a property, but it's a Method. See also: http://www.microsoft.com/technet/scriptcen...04/hey1015.mspxThe working code should be:$objUser = ObjGet("WinNT://" & @ComputerName & "/Matthew") MsgBox(0, "test", $objUser) With $objUser .SetPassword("testpassword") .SetInfo EndWithI also want to point out that, when working with COM in AutoIt, most issues are not AutoIt-related. The best resources for help are VBscript examples. For many of these examples see Microsoft's Script Center: http://www.microsoft.com/technet/scriptcenter/default.mspxRegards,-Sven Share this post Link to post Share on other sites
MSLx Fanboy 0 Posted May 17, 2005 Ok, thanks. I'm not quite fond of COM, in fact, this is the first time I've actually had to deal with it. Any suggestions on reading material, online or print? Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Share this post Link to post Share on other sites
PerryRaptor 1 Posted May 21, 2005 FINALLY....It works!!! "Stupid Me" was at fault again. I had figured that DL and installing the latest Beta would overwrite the old...NOT...I was trying all of my ADSI Interface calls using version 3.1.1.7... So I deleted/uninstalled everything and only installed 3.1.1.37...Now I need to figure out how the GUI stuff changed since one of my projects isn't working now. Share this post Link to post Share on other sites
MSLx Fanboy 0 Posted May 22, 2005 The thread for the beta has a changelog in it, just search for the faulty command(s) Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Share this post Link to post Share on other sites