tsherr Posted January 10, 2008 Share Posted January 10, 2008 I'm trying to write a program that will allow me to open multiple Windows applications (WordPad, Firefox, and Thunderbird) and then simulate multitasking between them (opening webpages saved on the hard drive, open emails, create documents) for benchmarking purposes. From what I've read, AutoIt should allow me to do this, but I'm not sure where to start. Is there a tutorial or manual somewhere I can read? Thanks, T Link to comment Share on other sites More sharing options...
weaponx Posted January 10, 2008 Share Posted January 10, 2008 There is a basic tutorial in the help file under "Tutorials". Looks like this: Run("notepad.exe") WinWaitActive("Untitled - Notepad") Send("This is some text.") WinClose("Untitled - Notepad") WinWaitActive("Notepad", "Do you want to save") Send("!n") Link to comment Share on other sites More sharing options...
MisterPseudonym Posted January 10, 2008 Share Posted January 10, 2008 I'm trying to write a program that will allow me to open multiple Windows applications (WordPad, Firefox, and Thunderbird) and then simulate multitasking between them (opening webpages saved on the hard drive, open emails, create documents) for benchmarking purposes. From what I've read, AutoIt should allow me to do this, but I'm not sure where to start. Is there a tutorial or manual somewhere I can read?Thanks,T:^/ I suggest starting with the help file AutoIt.chm, and poking through all of the example files in the folder Example/Helpfile. They are there to illustrate how to do just about anything autoit can do. Most of the example files consist of just enough code to open a widow with whatever feature is being demonstrated. What little code there is has ample comments to explain what most lines do. Look through them and try writing your own variations on them, incorporating stuff you've read about earlier into whatever you're tinkering with now.In short, just play aroung making scripts for the fun of it; the best way to learn is by doing. Link to comment Share on other sites More sharing options...
tsherr Posted January 10, 2008 Author Share Posted January 10, 2008 :^/ I suggest starting with the help file AutoIt.chm, and poking through all of the example files in the folder Example/Helpfile. They are there to illustrate how to do just about anything autoit can do. Most of the example files consist of just enough code to open a widow with whatever feature is being demonstrated. What little code there is has ample comments to explain what most lines do. Look through them and try writing your own variations on them, incorporating stuff you've read about earlier into whatever you're tinkering with now.In short, just play aroung making scripts for the fun of it; the best way to learn is by doing.Sounds good. That's the way I learned just about everything. Good thing I don't do brain or heart surgery. T 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