use tts to read random lines from a text file


Last Updated:

  1. CarsnGadgets

    CarsnGadgets Well-Known Member

    I am trying to use tasker to read at random any 1 of 3 lines of text from a text file on my /SD when I ask it "how are you?"



    I have the lines set out like this in the text file:

    great, how are you
    ;;;

    fine thanks
    ;;;

    not so good
    ;;;

    I have tried using the "File" action and "Read Line", and know I have to put %VOICE ~ *how are you* in the bottom box, but dont know what to put in the other text fields (Line and to Var)?

    for the sake of this post assume my text file is called "responses.txt"

    can anyone talk me through step be step how to do this?
    (I am a complete beginner, so please assume I know nothing about tasker.)

    Thanks in advance.

    Advertisement
  2. CarsnGadgets

    CarsnGadgets Well-Known Member

Share This Page