inSpeak GetText and SendText?

General Talk about Paltalk

inSpeak GetText and SendText?

Postby Johnny5 » Wed Jun 29, 2005 12:24 pm


Hello is anyone able to do GetText and SendText, please help me out :lol:
Departure or Syxx can you guys help?
Johnny5
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Wed Dec 29, 2004 7:16 pm

Postby Departure » Wed Jun 29, 2005 6:19 pm

hey johhny, I have'nt tryed doing it with inspeak but its really not that hard, I will do an example for you when i get some free time (busy at the momment) maybe by the weekend i will post the source code example for you :O)
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby Johnny5 » Wed Jun 29, 2005 7:31 pm

Great!! Departure, as you've discussed inSpeak code in Delphi not like Paltalk, so I do not know how to, anyway I'll look at the example when you have it and learn from there. Thank you in advance
Johnny5
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Wed Dec 29, 2004 7:16 pm

Postby Departure » Fri Jul 01, 2005 11:45 am

hey johhny inspeak is going to have wait a little while longer as i just got my self baned from inSpeak. It took me over 3 hours to unpack there modifyed ASProtector, then after loggin on with the the unpacked version of inSpeak.exe i was kicked off and banned :O(
But dont worry i am looking into how there bans works so i can get myself out of it. :O)
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby NVYE » Fri Jul 01, 2005 3:21 pm

Congrats :) Departure, When you found out ... don't forget to share it with me. Thanks bro !!



Well I'm not into inSpeak yet ... their sound quality is kidda low ... so I don't like it much ... but here is some hints ... I thought I may be helpful to you



' get HWND text chat

Function GetMyWindow() as long


'Variables
Dim lParent as long
Dim lChild(1 to 8) as long


'Get Parent Window
lParent = FindWindow("TChatRoom", "inSpeak Help Lobby - Help Voice Room")
'Get Child Window(s)
lChild(1) = FindWindowEx(lParent, 0, "TSPanel", "")
lChild(2) = FindWindowEx(lChild(1), 0, "TSPanel", "")
lChild(3) = FindWindowEx(lChild(2), 0, "TSPanel", "")
lChild(4) = FindWindowEx(lChild(3), 0, "TSPanel", "")
lChild(5) = FindWindowEx(lChild(4), 0, "TSPanel", "")
lChild(6) = FindWindowEx(lChild(5), 0, "TSPanel", "")
lChild(7) = FindWindowEx(lChild(6), 0, "THTMLViewer", "")
lChild(8) = FindWindowEx(lChild(7), 0, "TPaintPanel", "")


GetMyWindow = lChild(8)


End Function
' This function will return the handle to insPeak text chat

after that you need to do the API thinggy to get the TEXT ... :)
If this hint is not enough tell me i'll put more next time :) ...
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm

Postby Departure » Sat Jul 02, 2005 8:27 am

that sound pretty much it NVYE, you just

TL = SendMessageLong(GetMyWindow&, WM_GETTEXTLENGTH, 0&, 0&)
TheText = String(TL + 1, " ")
Call SendMessageByString(GetMyWindow&, WM_GETTEXT, TL + 1, TheText)
TheText = Left(TheText, TL)

then if you want to see what you have collected just copy whats in the string to richtext box or you could just send it directly to a textbox

RTBox1.text = TheText <----- richtextbox
or change "TheText = Left(TheText, TL)" to "Text1.text = Left(TheText, TL)" <----- normal textbox
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby Departure » Sat Jul 02, 2005 8:40 am

Johhny NOTE: im guessing NVYE has already checked the tree structure of the controls to get what he posted, if not just use an API spy (easyest way) to get the structure

oh and what he seems to have is the lobby help desk room
:O)
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

does not work

Postby vuongthacsi » Fri Jul 22, 2005 4:22 am

Seem that we cannot copy text from inspeak chatroom, i tried but did not work, anyone here tested out?
vuongthacsi
 
Posts: 2
Joined: Fri Jul 22, 2005 4:21 am


Return to Paltalk General

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests