3 Replies - 1455 Views - Last Post: 17 October 2012 - 03:15 PM Rate Topic: -----

#1 LilGhost  Icon User is offline

  • D.I.C Head

Reputation: 8
  • View blog
  • Posts: 98
  • Joined: 12-October 12

See Text On A Webbrowser

Posted 12 October 2012 - 06:51 PM

Hi, so I'm working on some software that's supposed to read in data from an in browser im (instant message) client. The issue I'm facing is seeing text that's on the webpage. Obviously if it's a chat client, without reloading the page for every comment, the new comments wont appear in the webpage source. How could I set up the program to check for text on the webpage that's not in the source?

My original attempt:
if webbrowser1.documenttext.contains(commandString) then
' commands to execute go here
end if


I've searched around for an answer with no luck.
Any help/guidance would be appreciated.

Best Regards,
LilGhost

Is This A Good Question/Topic? 0
  • +

Replies To: See Text On A Webbrowser

#2 raymai97  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 27
  • Joined: 16-November 11

Re: See Text On A Webbrowser

Posted 14 October 2012 - 08:35 AM

"How could I set up the program to check for text on the webpage that's not in the source?"

If it's not in the webpage source, then why you want to check the webpage?
What do you want actually??

"Obviously if it's a chat client, without reloading the page for every comment, the new comments wont appear in the webpage source."
How about WebBrowser1.Refresh every 5 seconds?

This post has been edited by raymai97: 14 October 2012 - 08:36 AM

Was This Post Helpful? 0
  • +
  • -

#3 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 224
  • View blog
  • Posts: 1,505
  • Joined: 16-March 11

Re: See Text On A Webbrowser

Posted 14 October 2012 - 06:40 PM

Show us some code, give us a reference to the chat client. Something to work off, not every chat client works the same. We'll give you some ideas, and hopefully point you in the right direction.
Was This Post Helpful? 0
  • +
  • -

#4 LilGhost  Icon User is offline

  • D.I.C Head

Reputation: 8
  • View blog
  • Posts: 98
  • Joined: 12-October 12

Re: See Text On A Webbrowser

Posted 17 October 2012 - 03:15 PM

View Postraymai97, on 14 October 2012 - 08:35 AM, said:

"How could I set up the program to check for text on the webpage that's not in the source?"

If it's not in the webpage source, then why you want to check the webpage?
What do you want actually??

"Obviously if it's a chat client, without reloading the page for every comment, the new comments wont appear in the webpage source."
How about WebBrowser1.Refresh every 5 seconds?

issue is that everytime the webpage is relaunched you must login again and no history from the previous session is loaded.

To answer the other question, I have no code except that simple code that was my attempt.

I'm trying to interact with http://www.palringo.im/ for this.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1