Omegle Auto Talker

Discussion in 'Programming General' started by i am foolish, Aug 30, 2010.

Omegle Auto Talker
  1. Unread Aug 30, 2010 at 8:00 AM
  2. i am foolish
    Joined:
    Mar 27, 2007
    Posts:
    481
    Referrals:
    1
    Sythe Gold:
    0
    Location:
    The Grand Exchange

    i am foolish Forum Addict
    Banned

    Omegle Auto Talker

    Ok, the idea of this project was to have the Omegle chat screen loaded in from the web and then 10 text boxes on the left of that with 2 buttons, start and stop. 5 text boxes would be for the messages, and the other 5 would be for intervals.

    When the start button is clicked, I have it as:
    Code:
    WebBrowser1.Document.GetElementById("textbutton").InvokeMember("click")
    I get an error:
    Not the best at debugging. Any help would be appreciated :]
     
  3. Unread Aug 30, 2010 at 11:23 AM
  4. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    6,640
    Referrals:
    15
    Sythe Gold:
    253
    Location:
    Canada
    Gohan has AIDS Extreme Homosex MushyMuncher

    Blupig ~
    Retired Global Moderator Zombie Technical Core

    Omegle Auto Talker

    There's no element in the webpage that has the name you're searching for

    NullReferenceException = No reference = You're talking to something that doesn't exist
     
  5. Unread Aug 30, 2010 at 3:39 PM
  6. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,277
    Referrals:
    6
    Sythe Gold:
    0
    Location:
    [+]

    cp an cat
    Banned

    Omegle Auto Talker

    I took a look at the page, and it seems it's in an iframe. The actual button is not on omegle.com, but on http://cardassia.omegle.com/ (that's the url for me, at least)

    Try running the same code on that url and you should be fine.
     
  7. Unread Aug 30, 2010 at 3:48 PM
  8. i am foolish
    Joined:
    Mar 27, 2007
    Posts:
    481
    Referrals:
    1
    Sythe Gold:
    0
    Location:
    The Grand Exchange

    i am foolish Forum Addict
    Banned

    Omegle Auto Talker

    Same thing. :/
     
  9. Unread Aug 30, 2010 at 3:58 PM
  10. blindkilla
    Joined:
    Jun 22, 2005
    Posts:
    1,887
    Referrals:
    0
    Sythe Gold:
    0
    Location:
    Canada

    blindkilla Guru
    $25 USD Donor New

    Omegle Auto Talker

    On the page cp suggested but button is done weirdly.

    Code:
    <td id="chattypetextcell"><img src="/static/textbtn.png" alt="" id="textbtn"></td> 
    Did you try:

    Code:
    WebBrowser1.Document.GetElementById("textbtn").InvokeMember("click")
    or

    Code:
    WebBrowser1.Document.GetElementById("chattypetextcell").InvokeMember("click")
     
  11. Unread Aug 30, 2010 at 4:41 PM
  12. i am foolish
    Joined:
    Mar 27, 2007
    Posts:
    481
    Referrals:
    1
    Sythe Gold:
    0
    Location:
    The Grand Exchange

    i am foolish Forum Addict
    Banned

    Omegle Auto Talker

    Bah, I think textbtn is correct. Testing now.
     
  13. Unread Aug 30, 2010 at 4:42 PM
  14. i am foolish
    Joined:
    Mar 27, 2007
    Posts:
    481
    Referrals:
    1
    Sythe Gold:
    0
    Location:
    The Grand Exchange

    i am foolish Forum Addict
    Banned

    Omegle Auto Talker

    Worked! :] thanks
     
< auto typer | Image Uploaders >

Users viewing this thread
1 guest

Elo boost lol