







'Send Text To Paltalk
Public Function Palsend(Sendit As String)
Dim X As Long
Dim xx As Long
Dim xxx As Long
Dim xxxx As Long
Dim xxxxx As Long
Dim xxxxxx As Long
Dim xxxxxxx As Long
Dim xxxxxxxx As Long
Dim xxxxxxxxx As Long
Dim xxxxxxxxxx As Long
X = FindWindowWild("*Voice Room", False) 'I use my FindWindowWild Function To search For - Voice room
If X = 0 Then
Exit Function
End If
xx = FindWindowEx(X, 0&, "wtl_splitterwindow", vbNullString)
xxx = FindWindowEx(xx, 0&, "wtl_splitterwindow", vbNullString)
xxxx = FindWindowEx(xxx, 0&, "wtl_splitterwindow", vbNullString)
xxxxx = GetWindow(xxxx, GW_CHILD) 'This will get the next control after wtl_splitterwindow, the next control is also knowen as Atl:####### what ever...
xxxxxx = FindWindowEx(xxxxx, 0&, "atlaxwin71", vbNullString)
xxxxxxx = FindWindowEx(xxxxxx, 0&, "#32770", vbNullString)
xxxxxxxx = FindWindowEx(xxxxxxx, 0&, "richedit20a", vbNullString)
xxxxxxxx = FindWindowEx(xxxxxxx, xxxxxxxx, "richedit20a", vbNullString)
Call SendMessageByString(xxxxxxxx, WM_SETTEXT, 0&, Sendit$)
Do
DoEvents
xxxxxxxxx = FindWindowEx(xxxxxxx, 0&, "toolbarwindow32", vbNullString)
xxxxxxxxxx = FindWindowEx(xxxxxxxxx, 0&, "wtl_bitmapbutton", vbNullString)
Call SendMessageLong(xxxxxxxxxx, WM_LBUTTONDOWN, 0&, 0&)
Call SendMessageLong(xxxxxxxxxx, WM_LBUTTONUP, 0&, 0&)
Loop Until xxxxxxxxxx <> 0
End Function







Return to Visual Basic Programming
Users browsing this forum: No registered users and 0 guests