Speak Text Numbers

Mike9761

New member
I want speak text to read variable containing 8998.
I set speak text to read numbers individually which it normally does eg. 8767 it speaks 8, 7, 6, 7
But for number 8998 it speaks 8, ninety nine, 8 or for 9108 it speaks ninety one thousand, 8.
I need each number spoken individually, how do you do this.
Thanks in advance 👍
 

hsurB

Well-known member
Weird that it works this way, maybe if your numbers aren't too long, you could use text manipulation to save each one number in different variable and just read them in different actions.
You could use dictionary/array and iteration to avoid creating too many actions manually
 

Mike9761

New member
Thanks👍
That was the quickest 💨 reply I have ever had ⚡🙂
I will try your first suggestion to start with, using text manipulation.
Thanks again 🙂
 

hsurB

Well-known member
Something like that should work but if it doesn't, let us know and we'll investigate it
 

Attachments

  • Screenshot_20240414_200013_MacroDroid.png
    Screenshot_20240414_200013_MacroDroid.png
    420.4 KB · Views: 7
  • Screenshot_20240414_200019_MacroDroid.png
    Screenshot_20240414_200019_MacroDroid.png
    164.5 KB · Views: 7

Dm114

Well-known member
I want speak text to read variable containing 8998.
I set speak text to read numbers individually which it normally does eg. 8767 it speaks 8, 7, 6, 7
But for number 8998 it speaks 8, ninety nine, 8 or for 9108 it speaks ninety one thousand, 8.
I need each number spoken individually, how do you do this.
Thanks in advance 👍
Very strange: same behavior in another language than English! 🤔

An even quicker suggestion than @hsurB's: insert a space between each digit with Text manipulation > Replace all > replace (\d) with $1 (don't forget to add a space after $1)
 
Top