Batman Posted October 30, 2004 Share Posted October 30, 2004 Send("#r") Send("iexplore.exe aboutblank{ENTER}") WinWaitActive("Cannot find server - Microsoft Internet Explorer","Done") Send("^o") WinWaitActive("Open") Send("http://www.weebls-stuff.com/toons/21/{Enter}") WinWaitActive("Weebls Stuff - Toons - Microsoft Internet Explorer","Done") Send("{VOLUME_UP}") WinWaitActive("Weebls Stuff - Toons - Microsoft Internet Explorer","Done") While 1 Sleep(120000) Send("{SPACE}") Wend Ok... it opens IE and stuff then it won't go to the site... I have read the readme, but im stupid War does not determine who is right, it determines who is left. Link to comment Share on other sites More sharing options...
Batman Posted October 30, 2004 Author Share Posted October 30, 2004 Was i meant to post this in the scipt and thingy place. Or is it alright here? *Gulp* War does not determine who is right, it determines who is left. Link to comment Share on other sites More sharing options...
Developers Jos Posted October 30, 2004 Developers Share Posted October 30, 2004 Was i meant to post this in the scipt and thingy place.Or is it alright here?*Gulp*<{POST_SNAPBACK}>you posted at the right spot.you probably need to pause a bit after the ^o:Send("#r") sleep(500) Send("iexplore.exe aboutblank{ENTER}") WinWaitActive("Cannot find server - Microsoft Internet Explorer","Done") Send("^o") sleep(500) WinWaitActive("Open") Send("http://www.weebls-stuff.com/toons/21/{Enter}") WinWaitActive("Weebls Stuff - Toons - Microsoft Internet Explorer","Done") Send("{VOLUME_UP}") WinWaitActive("Weebls Stuff - Toons - Microsoft Internet Explorer","Done") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
the_lord_mephy Posted October 30, 2004 Share Posted October 30, 2004 Well I'm not sure because there's a WinWaitActive for open right after it =\ My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote] Link to comment Share on other sites More sharing options...
the_lord_mephy Posted October 30, 2004 Share Posted October 30, 2004 (edited) This works for me: Opt("WinTitleMatchMode", 2) Send("#r") Sleep(100) Send("iexplore.exe aboutblank{ENTER}") Sleep(5000) Send("^o") WinWaitActive("Open") Send("http://www.weebls-stuff.com/toons/21/{Enter}") WinWaitActive("Weebls Stuff - Toons - Microsoft Internet Explorer","Done") Send("{VOLUME_UP}") WinWaitActive("Weebls Stuff - Toons - Microsoft Internet Explorer","Done") While 1 Sleep(120000) Send("{SPACE}") Wend PS: Why don't you save yourself some lines and just do: Send("#r") Sleep(100) Send("iexplore.exe http://www.weebls-stuff.com/toons/21/{ENTER}") WinWaitActive("Weebls Stuff - Toons - Microsoft Internet Explorer","Done") Send("{VOLUME_UP}") WinWaitActive("Weebls Stuff - Toons - Microsoft Internet Explorer","Done") While 1 Sleep(120000) Send("{SPACE}") Wend Edited October 30, 2004 by the_lord_mephy My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote] Link to comment Share on other sites More sharing options...
SlimShady Posted October 30, 2004 Share Posted October 30, 2004 $Title = "Weebls Stuff - Toons - Microsoft Internet Explorer" Run("explorer http://www.weebls-stuff.com/toons/21") WinWait($Title, "") Send("{VOLUME_UP}") WinWait($Title, "Done") WinActivate($Title) Sleep(120000) Send("{SPACE}") Link to comment Share on other sites More sharing options...
Guest Py7|-|[]/\/ Posted October 30, 2004 Share Posted October 30, 2004 It's always a good idea to sleep between Send commands. Send types the words VERY fast and sometimes the window does not receive it as quick as you would think =). Also try putting a slwwp after you do the winwaitactive's to give it a little more time =) 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