sulaiman-alqusaimi / whatsapp_enhansements

an nvda addon developed to offer some accessibility enhansements for whatsapp uwp for windows 10 and 11
6 stars 5 forks source link

Update #8

Closed lbk2907 closed 2 years ago

lbk2907 commented 2 years ago

I forgot to mention in the commit summary. The call UI has small improvement. Now it can read the participant name, microphone state (muted or unmuted) and the call time. The accept and reject button while people request to switch to video call and the cancel button when people press the request to switch to video call also been read now. I have comment out 2 line. If anybody can make sure that part is accessible for now, field to remove that line. if obj.name in ("WhatsApp.GroupParticipantsItemVm", "WhatsApp.ChatListMessageSearchCellVm", "WhatsApp.ChatListGroupSearchCellVm", "WhatsApp.Pages.Recipients.UserRecipientItemVm"): obj.name = ", ".join([m.name for m in obj.children])

lbk2907 commented 2 years ago

Help me to cut the string using join method. I use this method first to cut out the string. There has 2 line between name and the status like "online", "last sceen", etc etc etc. I want to remove the new line before the comma. I want to cut out the last 2 character from the name, not the status.

lbk2907 commented 2 years ago

I want to point out why I'm doing this. The reason I'm doing this is because currently I'm using IBM library, not the Eloquence library. I use IBM library is because I want to use IBMTTS in 22KhZ. Because this is an old library, it maybe have some problem. When the comma "," is separate from the line, it will read out. Example.: Muhammad Gagah , last seen today at 8:08 PM It will read Like: Muhammad Gagah comma last seen today at 8:08 PM. To avoid this issue, I make it to be in 1 line. Muhammad Gagah, last seen today at 8:08 PM Hope this can be accepted.