Kagedmaniak Posted April 1, 2007 Posted April 1, 2007 I was wondering if it would be possible, in autoit, to give a variation a a word. The word is AABBCCDD, and making all the 256 combinations out of it using upper and lowercase letters. such as AABBCCDD aABBCCDD aaBBCCDD so on and so fourth. Thanks.
FuryCell Posted April 1, 2007 Posted April 1, 2007 (edited) ;AABBCCDD ;this needs to be run in scite For $1 = 0 To 1 For $2 = 0 To 1 For $3 = 0 To 1 For $4 = 0 To 1 For $5 = 0 To 1 For $6 = 0 To 1 For $7 = 0 To 1 For $8 = 0 To 1 ConsoleWrite(X("A",$1)&X("A",$2)&X("B",$3)&X("B",$4)&X("C",$5)&X("C",$6)&X("C",$7)&X("C",$8)&@LF) Next Next Next Next Next Next Next Next Func X($L,$C) Switch $C Case 1 Return StringUpper($L) Case 0 Return StringLower($L) EndSwitch EndFunc Edited April 1, 2007 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
Kagedmaniak Posted April 1, 2007 Author Posted April 1, 2007 (edited) awesome, thanks, ill download scite and try it out Ok, i dled scite and copied it in, now how do i execute it or anything? Edited April 1, 2007 by Kagedmaniak
Paulie Posted April 1, 2007 Posted April 1, 2007 awesome, thanks, ill download scite and try it out Ok, i dled scite and copied it in, now how do i execute it or anything?Save it as "*whatever*.au3" and then press F5
Kagedmaniak Posted April 1, 2007 Author Posted April 1, 2007 (edited) Ok i did that, but the go and stuff like that are greyed out still.should i have a language selected?I downloaded from http://scintilla.sourceforge.net/SciTEDownload.htmlthe windows exe full download thats 780K, and copy and pasted the code into it, then saved it as aabbccdd.au3, but the tools>go compile,etc are all greyed out. Edited April 1, 2007 by Kagedmaniak
Paulie Posted April 1, 2007 Posted April 1, 2007 Ok i did that, but the go and stuff like that are greyed out still.should i have a language selected?I downloaded from http://scintilla.sourceforge.net/SciTEDownload.htmlthe windows exe full download thats 780K, and copy and pasted the code into it, then saved it as aabbccdd.au3, but the tools>go compile,etc are all greyed out.try this one.http://www.autoitscript.com/autoit3/scite/downloads.php
Kagedmaniak Posted April 1, 2007 Author Posted April 1, 2007 awesome, that worked. Thanks for everything!!
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