Jump to content

Recommended Posts

Posted

I spent 7hrs writing my first script, and everything is working well. I wrote a script that allows me to automatically log-in, add a comment, and press ok to submit it.

It works! Should have only taken 1hrs, but I'm a noob and spent hours reading the help file, searching the forum, and wasting time reading about all the functions that deal with excel, which ended up not using.

Here's my problem--- I own 200 blogs! My script works perfectly on the one blog I tested it out on, but I need to be able to surf to all 200 blogs and run my script.

I'm using this function to surf to the URL--- _IECreate ("blogurl.com")

The help file gives an example where you can use a list of URLs like this:

_IECreate ()

_IECreate ()

_IECreate ()

OO

That seems easy enough, but I have 200 urls and growing... Is there an easier and less laborious way to do this?

I've been thinking about saving all of my URLs in a text file and creating a script that will copy each url, paste it into the browser, and then running the rest of my script.

Does the help file explain how to copy from notepad line by line (url-by-url)?

Thanks for reading

Mike

My script:

#include <IE.au3>

$oIE = _IECreate ("www.BLOG SITE I USE.com")

Sleep (2000)

WinActivate ("[CLASS:Windows Internet Explorer]","")

MouseMove (480, 165)

Sleep (20)

MouseClick ("Left")

Sleep (20)

Send ("USERNAME")

Sleep (20)

MouseMove (613, 165)

Sleep (20)

MouseClick ("Left")

Sleep (20)

Send ("PASSWORD")

Sleep (20)

MouseMove (820, 164)

Sleep (20)

MouseClick ("Left")

Sleep (20)

#include <IE.au3>

$oIE = _IECreate ("www.MY BLOG PAGE.com")

Sleep (20)

MouseMove (590, 346)

Sleep (2000)

MouseClick ("Left")

Sleep (2000)

MouseMove (569, 427)

Sleep (2000)

MouseClick ("Left")

Send (" Blog Comment--- What a great story...Idea BLAH BLAH BLAH")

Sleep (20)

MouseMove (657, 487)

Sleep (20)

MouseClick ("Left")

Sleep (20)

MouseMove (584, 414)

Sleep (20)

MouseClick ("Left")

Sleep (20)

Send ("!F4")

Sleep (20)

Send ("x")

Posted

That is insane, what about using an RSS ticker or a PHP fetch on your blogs and use one as a main feeding the rest? It'll save on your bandwidth as well as the servers you post to.

:blink: What just happened?

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...