• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

i need a compliacted task help me

is there a text triger varible
for exmpale
if i will write yes for a trigger
or no for not doing it
for exmpale a birthday of my sister
in this day i want tasker 2 ask me like this
its your sister birth day do you want 2 send an sms?
if i will say yes it will send an sms
if i will say no he wont do it
help me:)
 
Upvote 0
This profile reads all incoming test messages out loud …

Profile: ReadMessage
Event: Received Text [ Type:SMS Sender:* Content:* ]
Enter: Anon
A1: Say [ Text:Message from
%SMSRN
%SMSRB Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]

This task sends a message if the answer to %answer is yes …

Dev4
A1: Variable Set [ Name:%answer To:yes Recurse Variables:Off Do Maths:Off Append:Off ]
A2: Send SMS [ Number:1231231234 Message:happy birthday sis Store In Messaging App:Off ] If [ %answer ~ yes ]

… Thom
 
Last edited:
Upvote 0
Dev4
A1: Variable Set [ Name:%answer To:yes Recurse Variables:Off Do Maths:Off Append:Off ]
A2: Send SMS [ Number:6033577567 Message:happy birthday sis Store In Messaging App:Off ] If [ %answer ~ yes ]

---------------

Profile: ReadMessage
Event: Received Text [ Type:SMS Sender:* Content:* ]
Enter: Anon
A1: Say [ Text:Message from
%SMSRN
%SMSRB Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]


Thom

---------------


Tom, in regards to your last statement..why does it keep answering back to my own number I'm am responding from?, can't seen to pass that issue..I've tried a thousand different ways
 
Upvote 0
Dev4
A1: Variable Set [ Name:%answer To:yes Recurse Variables:Off Do Maths:Off Append:Off ]
A2: Send SMS [ Number:6033577567 Message:happy birthday sis Store In Messaging App:Off ] If [ %answer ~ yes ]

---------------

Profile: ReadMessage
Event: Received Text [ Type:SMS Sender:* Content:* ]
Enter: Anon
A1: Say [ Text:Message from
%SMSRN
%SMSRB Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]


Thom

---------------


Tom, in regards to your last statement..why does it keep answering back to my own number I'm am responding from?, can't seen to pass that issue..I've tried a thousand different ways
tom how can make tasker ask me for the data the yes or no question ?
what is the command ?
 
Upvote 0
When learning Tasker most people start with Tasks. After a few months they investigate Profiles. After a year they investigate Scenes.

Scenes can contain a wide variety of elements.

The way to ask a question and process the response is a to post a question in an element (like a Text or Button) and then process a response in a Tap or Long Tap action associated with that element.

Posting the code here from a scene is not really possible.

An alternative might be to use aPopup Task Buttons …

Code:
Dev (586)
A1: Popup Task Buttons [ Text: Mode:Text Task:A Task:B Task: Background Image: Layout:popup Task Buttons Timeout (Seconds):10 Show Over Keyguard:On ]

A (583)
A1: Flash [ Text:A Long:On ]

B (584)
A1: Flash [ Text:B Long:On ]

… Thom
 
Last edited:
Upvote 0
When learning Tasker most people start with Tasks. After a few months they investigate Profiles. After a year they investigate Scenes.

Scenes can contain a wide variety of elements.

The way to ask a question and process the response is a to post a question in an element (like a Text or Button) and then process a response in a Tap or Long Tap action associated with that element.

Posting the code here from a scene is not really possible.

An alternative might be to use aPopup Task Buttons …

Dev (586)
A1: Popup Task Buttons [ Text: Mode:Text Task:A Task:B Task: Background Image: Layout:popup Task Buttons Timeout (Seconds):10 Show Over Keyguard:On ]

A (583)
A1: Flash [ Text:A Long:On ]

B (584)
A1: Flash [ Text:B Long:On ]

… Thom
thanks tom u r great thx for the patience:)
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones