Go Back   Android Forums > Android Discussion > Android Applications > Tasker

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old October 9th, 2012, 05:20 AM   #1 (permalink)
Senior Member
Thread Author (OP)
 
CarsnGadgets's Avatar
 
Join Date: May 2010
Location: UK
Posts: 1,056
 
Device(s): Nexus 5 32GB White, Pebble KickStarter Edition, Nexus 7 16GB, MK808b MiniPc
Carrier: GiffGaff

Thanks: 63
Thanked 253 Times in 140 Posts
Default use tts to read random lines from a text file

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.

__________________
lose the task killer...!
CarsnGadgets is offline  
Reply With Quote
sponsored links
Old October 9th, 2012, 01:31 PM   #2 (permalink)
Senior Member
Thread Author (OP)
 
CarsnGadgets's Avatar
 
Join Date: May 2010
Location: UK
Posts: 1,056
 
Device(s): Nexus 5 32GB White, Pebble KickStarter Edition, Nexus 7 16GB, MK808b MiniPc
Carrier: GiffGaff

Thanks: 63
Thanked 253 Times in 140 Posts
Default

I asked on the tasker google group as well and got a working answer from Ben Randall

https://groups.google.com/forum/?fromgroups=#!topic/tasker/SSqD3FZeLk4

his first suggestion works fine for me, (I didnt understand the second one to be honest...lol).
CarsnGadgets is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:27 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.