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?
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…
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
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/