BulletMonk Posted October 18, 2005 Share Posted October 18, 2005 What is the code that makes the script wait some time before executing the next line? Link to comment Share on other sites More sharing options...
Rick Posted October 18, 2005 Share Posted October 18, 2005 What is the code that makes the script wait some time before executing the next line?sleep (1000) will wait for 1 second, but wait is it your waiting for? a window? a process to start? Who needs puzzles when we have AutoIt!! Link to comment Share on other sites More sharing options...
BulletMonk Posted October 18, 2005 Author Share Posted October 18, 2005 (edited) I want to make ir wait for a window to stop loading and then chnage it's title.But since the window is a browser and everyone will have a different homepage I though it would be easier to just let it load for 4 seconds and then continue with the script. Also since I just downloaded autoit could you show me how to chnage the title of a window? Edited October 18, 2005 by BulletMonk Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 18, 2005 Share Posted October 18, 2005 (edited) opt ("WinTitleMatchMode", 2) sleep (4000) winsettitle("Internet Explorer", "", "Something else") that should do the job if you're using IE Edited October 18, 2005 by Nuffilein805 my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Rick Posted October 18, 2005 Share Posted October 18, 2005 (edited) Darn it - beated lol tho a WinWait ("Internet Explorer") may be handy to give time for the window to be displayed before setting the title. Edited October 18, 2005 by Rick Who needs puzzles when we have AutoIt!! Link to comment Share on other sites More sharing options...
BulletMonk Posted October 18, 2005 Author Share Posted October 18, 2005 Thanks a lot.Could you please also explain the script? Does anyone know a link to autoit glossary? Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 18, 2005 Share Posted October 18, 2005 here is your explanation opt ("WinTitleMatchMode", 2); set the titlematch to match any position in the title-string sleep (4000); waits 4 seconds winsettitle("Internet Explorer", "", "Something else"); rename the window-title 'google.com - Microsoft Internet Explorer' -becomes- 'Something else' @rick: sry for being faster my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
BulletMonk Posted October 18, 2005 Author Share Posted October 18, 2005 Thankyou. How did you people learn autoit? I looked for tutorials and explanations but found only this forum and the tutorials on the website which don't explain anything. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 18, 2005 Share Posted October 18, 2005 the only thing you need to learn autoit3 is a good idea some imagination and the helpfile you should try to do some simple programms first try to read some other topics as well to learn more about how things work together, there are lots of really good scripts around here and maybe you can use some of their ideas to make some own programms my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
buzz44 Posted October 18, 2005 Share Posted October 18, 2005 RTFM < Read the fluffy manual, nice version. In otherwords, read the helpfile. It contains EVERYTHING you need to know. It lists all the functions available to AutoIt and more importantly it has an example for EVERYONE.Should be located at Start > Programs > AutoIt > AutoIt Help File qq Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 18, 2005 Share Posted October 18, 2005 some examples arent that good and i had a hard time as i started autoit with just the helpfile i think the forum is much more a help than the helpfile except maybe for little progs my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
buzz44 Posted October 18, 2005 Share Posted October 18, 2005 We encourage you to use the helpfile first before trying to forums. The helpfile is very good and has working example that even the noobest of AutoIters can understand -______-. qq Link to comment Share on other sites More sharing options...
seandisanti Posted October 18, 2005 Share Posted October 18, 2005 the only thing you need to learn autoit3 is a good idea some imagination and the helpfileyou should try to do some simple programms firsttry to read some other topics as well to learn more about how things work together, there are lots of really good scripts around here and maybe you can use some of their ideas to make some own programmsagreed. it's always easiest to learn with direction though (can't just memorize the helpfile) so think of something you want to do, and then learn how to do that... bots for games are good (sometimes frustrating) practice, or anything that you find yourself doing that kind of annoys you, automate it. the first gui program i made was to make my job easier, automatically stepping through screens and adding notes in a command line driven program. and the forum is great for helping you learn. if someone has a problem that you think you could help solve, try to write out a working solution, researching whatever you get hung up at. you'll be making very quick progress i promise. 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