layer Posted January 14, 2005 Share Posted January 14, 2005 when i do this regread, and put it in a msgbox, it returns NOTHING.. $readreg= RegRead ("HKEY_CURRENT_USER\Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\Users\" & $readin & "\Login\", "Password1") MsgBox (0, "test", $readreg) and yes, ive even added a value to the "Password1"... still, no results, any reason why?? thanks FootbaG Link to comment Share on other sites More sharing options...
layer Posted January 14, 2005 Author Share Posted January 14, 2005 hmmm... maybe AIM doesn't allow you to read from the registry with a program?from helpfile..Failure: Returns "" and sets the @error flag: 1 if unable to open requested key -1 if unable to open requested value -2 if value type not supported FootbaG Link to comment Share on other sites More sharing options...
CyberSlug Posted January 14, 2005 Share Posted January 14, 2005 (edited) Try the following: $username = "aimusernamealllowercasewithoutspaces" $key = "HKEY_CURRENT_USER\Software\America Online\AOL Instant Messenger (TM)\CurrentVersion\Users\" & $username & "\Login" $data = RegRead($key, "Password1") MsgBox(4096,"Results", $data) Edit: I think the trailing backslash caused the problem. Edited January 14, 2005 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
layer Posted January 14, 2005 Author Share Posted January 14, 2005 (edited) an input of a screename... thats defined up at the top of the script.. P.S another question too, before i g2g... wan't there a way to make how many arrays you can have to like infiniti??? i remeber someone saying just use blablabla and then Valki was like, congrats, youve learned the secret of C programming or w/e... thanks EDIT: the above code you posted works great!!! thanks! now how about the unlimited arrays? Edited January 14, 2005 by layer FootbaG Link to comment Share on other sites More sharing options...
CyberSlug Posted January 14, 2005 Share Posted January 14, 2005 See above post (modified). I remember something regarding multi-dimensional arrays. It discussed the techinque of treating a single flat array as a a two-dimensional one. Off the top of my head (calculations might be a bit off ,but you get the idea): flat array: ABCDEFGHIJKL matrix (3 x 4): ABCD EFGH IJKL Letter G is the 7th element. 1+Int(7/4) == row 2 Mod(7, 4) == column 3 Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
layer Posted January 14, 2005 Author Share Posted January 14, 2005 i was thinking more along the line of 37, 000 arrays? i know, a ton of em', but thats about how much data i have to read... any ideas? P.S. @CS: i didn't quite understand what you meant, could you explain a little more? thanks FootbaG 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