How to programmatically join a room?

You can talk about VB programming here

How to programmatically join a room?

Postby ChicagoDavid52 » Mon Nov 01, 2010 1:46 pm


I have a bot in a room which never crashes but occasionally Paltalk crashes and throws the bot out. I'd like to restart Paltalk when it crashes and reenter the room -- all done by program. I can figure out everything up to logging Paltalk back in, but I don't know anything about getting into a room once logged in. Is the only way to get into a room programmatically to issue menu commands to Paltalk? I've never sent menu commands to another process so I don't know if it is difficult or easy to do. Any pointers?
ChicagoDavid52
 
Posts: 6
Joined: Wed Jun 23, 2010 11:32 pm

Re: How to programmatically join a room?

Postby Departure » Mon Nov 01, 2010 7:39 pm

What about adding the room to your favorites, then WM_COMMAND menu ID for favorites, Then select item of the list in favorites, send virtual key "Enter"

Haven't actually tried this , its just an idea...
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Re: How to programmatically join a room?

Postby Chike » Tue Nov 02, 2010 9:17 am

I am uqite sure I once posted code that walk menu commands and finds one by name and send it. This code was for the room (or pal main window, not sure) but can be done with any window.
If you wish to join the room as admin than a bit more programing will be required.

EDIT: I've found this code, it just prints the command(s) ID
how-to-find-paltalk-commands-at-runtime-t30983.html?hilit=Menu
Image
Chike
imFiles Master
imFiles Master
 
Posts: 583
Joined: Sun May 13, 2007 6:20 pm

Re: How to programmatically join a room?

Postby ChicagoDavid52 » Wed Nov 03, 2010 9:30 am

Thanks so much both of you. That will get me started as I didn't know anything about issuing menu commands. I'll probably start with the favorites method although eventually I'd like to join as an admin. -David
ChicagoDavid52
 
Posts: 6
Joined: Wed Jun 23, 2010 11:32 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