Sign in to follow this  
Followers 0
Batman

Sniffles im dumb =\

7 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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")

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

#5 ·  Posted (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 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]

Share this post


Link to post
Share on other sites

$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}")

Share this post


Link to post
Share on other sites

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 =)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0