How to Distinguish "Send Text" button?

You can talk about VB programming here

How to Distinguish "Send Text" button?

Postby Johnny5 » Mon Aug 08, 2005 2:16 am


Hello does anyone have any idea how to click "Send Text" button on public room instead of PM window?
Johnny5
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Wed Dec 29, 2004 7:16 pm

Postby Guest » Mon Aug 08, 2005 11:51 am

not sure i understand what your talking about but if your talking about sending the text into the paltalk room this is what i use....

Code: Select all
Call SendMessageLong(richedita, WM_KEYDOWN, 13, 0&)

has no problems like using the LButton ect..
Guest
 

Postby Johnny5 » Mon Aug 08, 2005 7:29 pm

no Syxx, I mean 2 instance:

you play music bot in public room, also PM with others, the "Send Text" button on both window is the same, I'm trying to click on public room.
Johnny5
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Wed Dec 29, 2004 7:16 pm

Postby Crashypoo » Mon Aug 08, 2005 9:54 pm

make it find window handle n focus on that window n then send text
User avatar
Crashypoo
NINJA PALTALK GOD
NINJA PALTALK GOD
 
Posts: 470
Joined: Sun Jan 02, 2005 7:53 am

Postby Departure » Tue Aug 09, 2005 7:26 am

hmmm johhny its funny that you post code that does what you want but you dont understand it, If you go and read the case about the stolen mic holder source code, you your self has written the code that included my FindWindowWild function but yet you seem to not understand thats excatly what you need to "Distinguish "Send Text" button"

read the first line of code where is says
Code: Select all
mywindowclass = FindWindowWild("*- Voice Room", False)

you wrote this your self on how you would make a mic holder!!!
that means it will find only the controls for that window, which is the Voice Room window not the - IM window and 1 + 1 = a window. anyway if you still have problems working it out just yell out and ill write an example.
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby Johnny5 » Tue Aug 09, 2005 12:29 pm

I know, it settext to the room that i wanted to

but when it got into the Do While Loop some how it not able to click the button.


OK. the bot i made when people runs AND ALSO trying to type in PM it switch the window to public room and settext but not able to click sent button.

this happen to later version of paltalk, but Old Paltalk version 5xx is ok

Basicly I trying to find a way so that the program runs (send text to room) without any dirruption while PM.
Johnny5
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Wed Dec 29, 2004 7:16 pm

Postby Departure » Wed Aug 10, 2005 10:17 am

try adding a pause or change the setting of your timer (if you have one). im guessing its running the code to fast and by the time you have set focus on the voice room window it has already ran your function...
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby Johnny5 » Wed Aug 10, 2005 10:46 am

I think so too, what i do is add add sendmsg leftclick one more time, so it click twice instead of once. it works keke, but it focus on the public room and send pm to back
Johnny5
imFiles Junior
imFiles Junior
 
Posts: 72
Joined: Wed Dec 29, 2004 7:16 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