OK, here's the situation. I have an html page split into 2 frames. The left frame has 2 input boxes, one for a delay in seconds and one for a message. In the right frame, I have another html page load that redirects to a Facebook page. What I am trying to do is access the first wall post on the page, select the box that says "Write a comment...", paste the message from the left frame, submit the comment, then refresh the page and then repeat the process after the set delay specified from the first frame. I am a very new programmer and everything I know, I have taught myself so after an hour and a half of trial and error today, I finally stumbled across a website that had the answer to my problem. Javascript does not access/change html data from a page not on my server. Obviously Facebook is not on my server so the solution isn't found in Javascript. I don't even know what language to do this in. Can someone point me in the right direction please?
You can write an application (using VB6/.net, C#, VC++ or whatever) and do following steps. 1. Open the FB site in a browser. (API function) 2. Get process ID and focus to the browser (You may use AppActivate straight away) 3. Send TAB keys until you reach the box. (It should be a constant number of TAB to reach the box) 4. Send text using the same method 5. Send TAB to focus on the button, then send ENTER key I have written a similar app a long time ago. I used VB6, the only functions I had to use was AppActivate and SendKeys. I think these two functions are avilable for both VB.net and C# as well.