Updated code for Chatsend for the New paltalk 8

You can talk about VB programming here

Updated code for Chatsend for the New paltalk 8

Postby locohacker » Fri Apr 01, 2005 12:04 am


Here for you newbies lol :) this the code to send text to the new paltalk 8.0 :)

Code: Select all
Public Sub RoomSend(Text As String)
Dim mywindowclass As Long
Dim wtlsplitterwindow As Long
Dim atlf As Long
Dim atlaxwin As Long
Dim x As Long
Dim richedita As Long
Dim Button As Long
mywindowclass = FindWindow("my window class", vbNullString)
wtlsplitterwindow = FindWindowEx(mywindowclass, 0&, "wtl_splitterwindow", vbNullString)
wtlsplitterwindow = FindWindowEx(wtlsplitterwindow, 0&, "wtl_splitterwindow", vbNullString)
wtlsplitterwindow = FindWindowEx(wtlsplitterwindow, 0&, "wtl_splitterwindow", vbNullString)
atlf = FindWindowEx(wtlsplitterwindow, 0&, "atl:004f7660", vbNullString)
atlaxwin = FindWindowEx(atlf, 0&, "atlaxwin71", vbNullString)
x = FindWindowEx(atlaxwin, 0&, "#32770", vbNullString)
richedita = FindWindowEx(x, 0&, "richedit20a", vbNullString)
richedita = FindWindowEx(x, richedita, "richedit20a", vbNullString)
Call SendMessageByString(richedita, WM_SETTEXT, 0&, Text$)

If richedita = 0 Then
 
    Exit Sub
End If

Do
    DoEvents
   mywindowclass = FindWindow("my window class", vbNullString)
wtlsplitterwindow = FindWindowEx(mywindowclass, 0&, "wtl_splitterwindow", vbNullString)
wtlsplitterwindow = FindWindowEx(wtlsplitterwindow, 0&, "wtl_splitterwindow", vbNullString)
wtlsplitterwindow = FindWindowEx(wtlsplitterwindow, 0&, "wtl_splitterwindow", vbNullString)
atlf = FindWindowEx(wtlsplitterwindow, 0&, "atl:004f7660", vbNullString)
atlaxwin = FindWindowEx(atlf, 0&, "atlaxwin71", vbNullString)
    x = FindWindowEx(atlaxwin, 0&, "#32770", vbNullString)
    richedita = FindWindowEx(x, 0&, "richedit20a", vbNullString)
    richedita = FindWindowEx(x, richedita, "richedit20a", vbNullString)
    Call SendMessageLong(richedita, WM_KEYDOWN, 13, 0&)
Loop Until richedita <> 0
End Sub


nice :)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4364
Joined: Fri Dec 31, 2004 6:59 pm

Postby sk8er » Fri Apr 01, 2005 7:23 am

i see basicaly alls u do is rename some shit to go from pt 7 to 8 lol
you dont know who i am, and i would rather keep it that way.
sk8er
Co-Admin
Co-Admin
 
Posts: 541
Joined: Thu Nov 25, 2004 1:23 pm
Location: here

Postby locohacker » Fri Apr 01, 2005 10:15 am

Yeps is just a line change lol, but one thing I couldn't make work you know the get window title I think it was by hellbound, it doesnt work for paltalk 8, at list with me,

You know the program that gets the paltalk room title and stuff, :( I need the code to work, if i am goign to upgrade the greeter to paltalk 8 :(
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4364
Joined: Fri Dec 31, 2004 6:59 pm

Postby sk8er » Fri Apr 01, 2005 11:36 am

yah it was for me age checker, i had label1.caption = strwindowtitle, then that was mousemove(x as integer, y as integer, shift as variable) or something like that lol. so ima have to look at that for a lil while and try toupdate it, cause it looks like the room name is just a simple thing to be formnroom.caption = formcreateroom.text.text, causde u can create room in buddy list, so it may run liek that, idk though, illl look at it
you dont know who i am, and i would rather keep it that way.
sk8er
Co-Admin
Co-Admin
 
Posts: 541
Joined: Thu Nov 25, 2004 1:23 pm
Location: here

Postby locohacker » Fri Apr 01, 2005 1:15 pm

please :) i need that for the greeter big time ):
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4364
Joined: Fri Dec 31, 2004 6:59 pm


Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests