I hope I am posting this in the correct forum area. Frankly what you guys do is mesmerizing and boggles my mind. I know enough to be dangerous. If This is not the correct area... Please let me know.
I am in sales. I work for a lender that does business with car dealers. My job is to sign them up, get them to use our company for financing and show them how to sell more cars! I do a pretty good job but I had an idea that would make me a king and help grow my portfolio. Here's the idea...
I have been telling my dealers who use a certain website that lists all their inventory that they need to log on once per hour and update their inventory. This website runs sort of like Craigslist in that their "feeds" (inventory) go in once per day and then spend the rest of that time sinking all the way to the bottom. BUT... If they log in and click on "Refresh Inventory"... It puts their inventory above everyone else like it had just been fed in! This is open knowledge to both the website and dealers... But most forget to log in and click refresh and sometimes they don't have the time.
What I wanted to do was to write a script... Maybe a batch file that would log in, click refresh, log out and then time itself for 1 hour and then repeat the process.
So far I have written a batch file that will log on... But that is about it. I have the following in a batch file.
Set IE = CreateObject("InternetExplorer.Application")
IE.navigate "http://www.website.com"
IE.Visible = True
While IE.Busy
WScript.Sleep 50
Wend
Set ipf = IE.document.all.username
ipf.Value = "Login ID"
Set ipf = IE.document.all.password
ipf.Value = "password"
Set ipf = IE.document.all.login
ipf.Click
IE.Document.getElementById("href="./inventory.php").Click
I need some help if at all possible.
Any suggestions? Any and all help would be greatly appreciated.
I am in sales. I work for a lender that does business with car dealers. My job is to sign them up, get them to use our company for financing and show them how to sell more cars! I do a pretty good job but I had an idea that would make me a king and help grow my portfolio. Here's the idea...
I have been telling my dealers who use a certain website that lists all their inventory that they need to log on once per hour and update their inventory. This website runs sort of like Craigslist in that their "feeds" (inventory) go in once per day and then spend the rest of that time sinking all the way to the bottom. BUT... If they log in and click on "Refresh Inventory"... It puts their inventory above everyone else like it had just been fed in! This is open knowledge to both the website and dealers... But most forget to log in and click refresh and sometimes they don't have the time.
What I wanted to do was to write a script... Maybe a batch file that would log in, click refresh, log out and then time itself for 1 hour and then repeat the process.
So far I have written a batch file that will log on... But that is about it. I have the following in a batch file.
Set IE = CreateObject("InternetExplorer.Application")
IE.navigate "http://www.website.com"
IE.Visible = True
While IE.Busy
WScript.Sleep 50
Wend
Set ipf = IE.document.all.username
ipf.Value = "Login ID"
Set ipf = IE.document.all.password
ipf.Value = "password"
Set ipf = IE.document.all.login
ipf.Click
IE.Document.getElementById("href="./inventory.php").Click
I need some help if at all possible.
Any suggestions? Any and all help would be greatly appreciated.