|I was doing backups at a clients location today and I noticed one of his staff sitting at the computer repeatedly entering their own web site, immediately exiting and then entering again.|
The member did this for about 1/2 an hour.
I eventually asked what she was doing and she advised that the boss gets her to do this at least once a week so that their company name and web site come up on the first page of any one doing a google search for their particular range of products.
I thought to my self,
"Surely Self, there is a way for us to automate this?"
If all that is required is a staff member logging on and off repeatedly surely a little batch or script file could do the same thing?
Anyone have any ideas ??
or am I way off the track and the staff member has it all wrong
I attempted to create something using this little scripting package CLRScp1 - Clr Script but I get a function error trying to shut the web browser
void Browse(string url)
if (!BrowseURL(url, TRUE))
MessageBox("There was an error closing the browser.", "BrowserClose", MB_OK);
The bit where it attempts to close is where the error is
The idea was that it sets up the void paraameter waits 5 seconds, shuts the page down then reloads the page, you would just put 100 or so odd hits in the 'Void" - ideally I would like to not even see the the pages open, just have it run in the background.
Any and all help will be appreciated