Forum Replies Created
-
AuthorPosts
-
June 16, 2023 at 1:30 am #213181VNMember
To nguoi dau ten
bạn có thể vào trong này, con AI có thể giúp bạn. vui lòng cho nó biết bạn cần làm điều gì, mô tã rõ chi tiết, thì sẽ chính xác hơn, Hoặc nhóm có thể giúp bạn. nếu bạn muốn.
https://groups.google.com/g/developerpaltalk/c/WpoXtibgZhsJune 13, 2023 at 5:18 pm #213174VNMemberThe fix will be delivered with the next 29.3 build.Together with the fix, we added the ability to get the room member is asking for a microphone flag (Microphone queue flag). To get this flag…..
Please visit the group for more information
https://groups.google.com/g/developerpaltalkMay 24, 2023 at 9:10 am #213165VNMemberEveryone can come here to chat
https://groups.google.com/g/developerpaltalkMay 23, 2023 at 6:03 pm #213164VNMemberdownload file : paltalk_bot_example.py
https://drive.google.com/file/d/1wy5E9zgehrwQcjYh1dZaZDDtZxfNXRG0/view?usp=share_linkMay 23, 2023 at 6:02 pm #213163VNMemberTo spid3r: ( problem still send text in room )
Hi bro… Because there was no formatting to the code it was hard to understands it’s intent. but our development team came up with a snippet on how to send a message that you can pass alongimport win32gui, win32con hwnd_send = 0 room_list = [] def init_room_list_cb(hwnd, lparam): name = win32gui.GetClassName(hwnd) if name == "DlgGroupChat Window Class": global room_list room_list.append(win32gui.GetWindowText(hwnd)) def init_room_list(): win32gui.EnumWindows(init_room_list_cb, 0) if not room_list: print("No rooms found") def dlg_group_chat_cb(hwnd, lparam): name = win32gui.GetClassName(hwnd) global hwnd_send if name == "RichEdit20W": hwnd_send = hwnd def init_room_hwnd(room_name): window = win32gui.FindWindow("DlgGroupChat Window Class", room_name) win32gui.EnumChildWindows(window, dlg_group_chat_cb, 0) def send_text(text): win32gui.SendMessage(hwnd_send, win32con.WM_SETTEXT, 0, text.encode('ascii')) if __name__ == '__main__': init_room_list() print("Rooms:", room_list) init_room_hwnd(room_list[0]) send_text("Connected to the room: " + room_list[0])
download file : paltalk_bot_example.py
https://drive.google.com/file/d/1wy5E9zgehrwQcjYh1dZaZDDtZxfNXRG0/view?usp=share_linkMay 22, 2023 at 10:19 pm #213162VNMemberHello spid3r. What is your paltalk nickname?
April 8, 2023 at 5:07 pm #211073VNMemberThanks ChicagoDavid52 – we’ll take a look at this, right now we’re going to limit the scope to make existing bots work, so some of these new features may come later or in a new way some time in the future.
April 1, 2023 at 5:08 am #209462VNMemberThanks for your feedback. paltalk development team is always ready to help you and always listen to your opinion to provide a better timely solution.
April 1, 2023 at 12:00 am #209408VNMemberThis topic was created to help programmers, solve problems in creating bots for new paltalk.
Please describe the errors you have encountered, and what you want to be created in the next version of paltalk.
Download beta version, 1.29.89332: https://downloads.paltalk.com/download/beta/PaltalkSetup.exeThe answer from the paltalk development team:
>1. I need some way of sending text into the room. I can place text into “ui::controls::EmojiTextEdit”, but I don’t see >any way of sending that text into the room other than to send a newline character to the entire Paltalk application, >which isn’t ideal. Perhaps the “Invoke” of that automation element could send the line into the room.
This can be done using Win API on our latest build 1.29.0.89332.
1. Find “DlgGroupChat Window Class” window handler, FindWindowW can be used.
2. Find “RichEdit20W” window handler in the children list. EnumChildWindows can be used.
3. Send WM_SETTEXT message using SendMessage function to send a message to the room.>2. I need some way of reading who is on mic. Nowhere in the Talking Now/Mic Queue/Chatting column of users does it show >the name of the user, for example not shown in “ui::widgets::UsernameWidget”
This also can be done using Win API on our latest build 1.29.0.89332.
1. Find “DlgGroupChat Window Class” window handler, FindWindowW can be used.
2. Find “SysHeader32” window handler in the children list. EnumChildWindows can be used.
3. Send LVM_GETITEMCOUNT message using SendMessage function to get room users count.
4. Send LVM_GETITEMW message with the LVITEMW pointer for the each user index using SendMessage function to get room member mic status. LVITEMW::iImage will contains 10 if the mic is on.
5. Send LVM_GETITEMTEXTA message for the each user index using SendMessage function to get room member nickname.>3. emoji support. This is relatively minor, but limiting. Some emoji don’t show up in UI Automation elements. For >example, I can enter into the room and it won’t show up in QTextBrowser. QTextBrowser says there is a character >there, but it won’t show it and it isn’t in the text that I grab from that automation element.
We’ll try to resolve this issue in the future.
+ Please comment and see if this is useful or not
March 31, 2023 at 10:32 pm #209392VNMemberhi bro .. Please comment here and you will get an answer soon
Paltalk beta version supports programmers to create bots ( Paltalk NG )
March 31, 2023 at 6:41 pm #209351VNMember>3. emoji support. This is relatively minor, but limiting. Some emoji don’t show up in UI Automation elements. For >example, I can enter into the room and it won’t show up in QTextBrowser. QTextBrowser says there is a character >there, but it won’t show it and it isn’t in the text that I grab from that automation element.
We’ll try to resolve this issue in the future.
Guys remember the feedback and was this helpful? And what do you need to change? thanksMarch 31, 2023 at 6:40 pm #209350VNMember>2. I need some way of reading who is on mic. Nowhere in the Talking Now/Mic Queue/Chatting column of users does it show >the name of the user, for example not shown in “ui::widgets::UsernameWidget”
This also can be done using Win API on our latest build 1.29.0.89332.
1. Find “DlgGroupChat Window Class” window handler, FindWindowW can be used.
2. Find “SysHeader32” window handler in the children list. EnumChildWindows can be used.
3. Send LVM_GETITEMCOUNT message using SendMessage function to get room users count.
4. Send LVM_GETITEMW message with the LVITEMW pointer for the each user index using SendMessage function to get room member mic status. LVITEMW::iImage will contains 10 if the mic is on.
5. Send LVM_GETITEMTEXTA message for the each user index using SendMessage function to get room member nickname.March 31, 2023 at 6:40 pm #209349VNMemberthe answer from the group
>1. I need some way of sending text into the room. I can place text into “ui::controls::EmojiTextEdit”, but I don’t see >any way of sending that text into the room other than to send a newline character to the entire Paltalk application, >which isn’t ideal. Perhaps the “Invoke” of that automation element could send the line into the room.This can be done using Win API on our latest build 1.29.0.89332.
1. Find “DlgGroupChat Window Class” window handler, FindWindowW can be used.
2. Find “RichEdit20W” window handler in the children list. EnumChildWindows can be used.
3. Send WM_SETTEXT message using SendMessage function to send a message to the room.March 30, 2023 at 9:53 pm #209084VNMemberI think it’s a good idea to upgrade this program to a more professional version. have many choices. login nick automatically according to paltalk’s self-save password mode. right at the program window you should split into 2 parts. on the left is a list of nicks, and on the right is a list of rooms. in the list box of nicknames, when you click on nick A , then the rooms to enter of nick a will appear. and when you click on nick B, a list of nick B’s rooms will appear
add 2 buttons at the nick list frame. 1 disable button, 1 enable button, alias disable function doesn’t let it work. and add 2 buttons at room list frame + and – . when the user enters the room they click the + button it will add itself. and create a hand input text frame, when the user enters the path of the room they need to save, it will add itself to the room list. “Auto show room name”
March 28, 2023 at 9:56 pm #208778VNMemberHello everyone
Please check this out and let me know, we need feedback. added support into NG for CG bots
Ver 1.29.0.89227 GA
https://downloads.paltalk.com/download/beta/PaltalkSetup.exePs/ you can comment here or email me paltalk.mobile99@gmail.com
-
AuthorPosts