Sparrowlord Posted February 24, 2006 Share Posted February 24, 2006 I have tired for close to 4 hours now, to have a script type every 3 letter combination in a txt file. Like having it send the 3 keys then hit enter and send 3 more keys ( All letters though, no numbers or symbols. ) If you could please help I would love that. Thanks, Lord Link to comment Share on other sites More sharing options...
greenmachine Posted February 24, 2006 Share Posted February 24, 2006 You might want to look at the Notepad tutorial in the helpfile for starters. I found it by using the search and typing in "notepad". You can also use the helpfile for most other questions - it has very detailed information on every function available to AutoIt. It would also be handy to post the code you currently have - it is much easier for the other members to debug your code that way. If there aren't any errors and you just can't figure out how to do it, that's a little different. The following code may be what you're looking for: $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) 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