Sparrowlord Posted March 2, 2006 Share Posted March 2, 2006 (edited) Hello, I have tryed for the last few hours to make a script that makes a wordlist. a-z A-Z I was hoping I could get a 6 or 7 character wordlist. ( Like a 7 letter word ) If someone could help me quick I would love that. Thanks, Sparrow Edited March 2, 2006 by Sparrowlord Link to comment Share on other sites More sharing options...
Sparrowlord Posted March 2, 2006 Author Share Posted March 2, 2006 Heres what I can get, but its only 3 letters long, I need like 7 letters long. HotKeySet("{ESC}", "quit") HotKeySet("{HOME}", "start") While 1 Sleep("10") Wend Func start() $OpenFile = FileOpen ("YourFile.txt", 2); open the file in write mode, erasing old contents For $i = 65 To 90 For $j = 65 To 90 For $k = 65 To 90 FileWriteLine($OpenFile, Chr ($i) & Chr ($j) & Chr ($k)) Next Next Next FileClose ($OpenFile) EndFunc Func quit() Exit EndFunc Link to comment Share on other sites More sharing options...
herewasplato Posted March 2, 2006 Share Posted March 2, 2006 You could continue to expand the code that you have or use the code in this post:http://www.autoitscript.com/forum/index.ph...indpost&p=74476Just be warned about how long scripts like this might take:http://www.autoitscript.com/forum/index.ph...indpost&p=30596 [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 2, 2006 Moderators Share Posted March 2, 2006 These aren't words, but it looks like what your trying to do '7 characters long':Local $New = '' For $x = 1 To 7 $Rdm = Random(65, 90, 1) $New = $New & Chr($Rdm) Next MsgBox(0, '', $New) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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