Skip to content

How to programmatically join a room?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #187152
    Admin
    Administrator

    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?

    #187155
    Departure
    Member

    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…

    #187154
    Chike
    Member

    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
    http://www.imfiles.com/topic/how-to-find-paltalk-commands-at-runtime/

    #187153
    Admin
    Administrator

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.