Limit Time of Speak Text

matigro

New member
Hello...For the 'Speak Text', is there a way to limit the length of time spoken? For example, is there a way to limit all spoken texts to a maximum 2 seconds?

Sometimes, I receive long texts and I don't need to hear the whole text.

I've tried the attached idea, using a stopwatch and while/do loop, and an additional constraint, but this is not working.

The whole text is always spoken.

Thank you in advance.
 

Attachments

  • Screenshot_20230204_142415_MacroDroid.jpg
    Screenshot_20230204_142415_MacroDroid.jpg
    776.1 KB · Views: 7
  • Screenshot_20230204_142440_MacroDroid.jpg
    Screenshot_20230204_142440_MacroDroid.jpg
    755.6 KB · Views: 8

Jacob L

Moderator (Lawsonator)
You can just use a wait before next action and set a speak text after it but leave it blank or put a space or .
 

Dimlos

Well-known member
This macro will stop in 2 seconds.
 

Attachments

  • macro.jpg
    macro.jpg
    528.9 KB · Views: 9
  • speak_text_2sec.macro
    3.6 KB · Views: 2

Dimlos

Well-known member
If it were simpler, it would look like this.
You do not need to use a stopwatch.
 

Attachments

  • macro2.jpg
    macro2.jpg
    357.9 KB · Views: 12

matigro

New member
I like this approach. Simple.

So, I just tried this method.

If I did it correctly, at the 1st "Speak Text", the whole text is spoken before the "Wait" is invoked.
 

matigro

New member
Well.....that is fantastic!!!!

I had fun working all the wrong things, but, glad to find out how to do this.

Many thanks!!!! 😁
 
Top