[Galaxy S 4 Themes and Apps] KaszasM:
if i remember well you cant capture whatsapp message only with tasker ,but this is my old profile made that for 1 year about can use that to understand whats happening thats why the txt file /to chck what is in there ,you need to learn how to use tasker there are millions of tutorials on youtube either mate

SO this 1 is gonna read only the name how sent message by whatsapp , and ask if you want to hear it or not or answer it(but thats a another profile/task )but worked for every other app name ,and message:

oh yes and profile is event -ui-notifications -

A1: Write File [ File:Tasker/whatsapp.txt Text:%NTITLE Append:eek:ff Add Newline:eek:n ]

A2: Write File [ File:Tasker/whatsapp.txt Text:%NTEXT Append:eek:n Add Newline:eek:n ]

A3: Read Line [ File:Tasker/whatsapp.txt Line:1 To Var:%sender ]

A4: Read Line [ File:Tasker/whatsapp.txt Line:2 To Var:%msg ]

A5: Variable Clear [ Name:%NTITLE Pattern Matching:eek:ff ]

A6: Variable Clear [ Name:%NTEXT Pattern Matching:eek:ff ]

A7: Say [ Text:Message from %sender : do you wont to listen say yes or no Engine:Voice:com.svox.classic:deu-DEU-Petra Stream:3 Pitch:5 Speed:4 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]

A8: Get Voice [ Title:Yes Or No Language Model:Free Form Maximum Results:1 Timeout (Seconds):30 ]

A9: If [ %VOICE ~ *yes* ]

A10: Say [ Text:%uzenet Engine:Voice:com.svox.classic:deu-DEU-Petra Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]

A11: End If

A12: Say [ Text:eek:kay forget it Engine:Voice:com.svox.classic:deu-DEU-Petra Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ] If [ %VOICE ~ *no* ]

A13: Variable Clear [ Name:%sender Pattern Matching:eek:ff ]

A14: Variable Clear [ Name:%msg Pattern Matching:eek:ff ]

A15: Variable Clear [ Name:%answer Pattern Matching:eek:ff ]

A16: Stop [ With Error:eek:ff Task: ]

and this is my new profile ,is asking also if i want to hear it or not ,and if i wont to answer it or not and sending answer automaticly too .but with autonotification/<---is a must have for that / and autovoice /just repleaced tasker voice,more function and i need those for correct my spelling on hungarian/ you need to buy those from playstore,but as i sad i think only whatsapp is where i couldnt capture the message part ,worked for viber and by other apps without autoapps too

A1: Variable Set [ Name:%promt To:say "answer" or "refuse" Do Maths:eek:ff Append:eek:ff ]

A2: Say [ Text:you got a new message from %antitle. %antext. %promt Engine:Voice:com.svox.classic:hun-HUN-Mariska Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]

A3: AutoVoice Recognize [ Configuration:Hide Dialog: true

Prompt Text: %promt

Voice command without headset

Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]

A4: If [ %avcomm ~ *answer* ]

A5: AutoNotification Actions [ Configuration:Intercept Action ID: %antouchaction Package:com.joaomgcd.autonotification Name:AutoNotification Actions Timeout (Seconds):0 ]

A6: Variable Set [ Name:%promt To:What do you want to answer? Do Maths:eek:ff Append:eek:ff ]

A7: Say [ Text:%promt Engine:Voice:com.svox.classic:hun-HUN-Mariska Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]

A8: AutoVoice Recognize [ Configuration:Hide Dialog: true

Prompt Text: %promt

Voice command without headset

Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]

A9: Set Clipboard [ Text:%avcomm Add:eek:ff ]

A10: AutoInput Action [ Configuration:Type: Focus

Action : Paste Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]

A11: AutoInput Action [ Configuration:Type: Id

Value: com.whatsapp:id/send

Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]

A12: Say [ Text:Answer sent Engine:Voice:com.svox.classic:hun-HUN-Mariska Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]

A13: AutoInput Global Action [ Configuration:Action: Back Package:com.joaomgcd.autoinput Name:AutoInput Global Action Timeout (Seconds):20 ]

A14: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]

A15: AutoInput Global Action [ Configuration:Action: Back Package:com.joaomgcd.autoinput Name:AutoInput Global Action Timeout (Seconds):20 ]

A16: Else If [ %avcomm ~ *refuse* ]

A17: AutoNotification Cancel [ Configuration:eek:ther Id: %anid

Package: %anpackage

Tag: %antag Package:com.joaomgcd.autonotification Name:AutoNotification Cancel Timeout (Seconds):0 ]

A18: Say [ Text:Refused Engine:Voice:com.svox.classic:hun-HUN-Mariska Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]

A19: End If

A20: Stop [ With Error:eek:ff Task: ]

can chck that sorry but its hungarian imade it for some freands as intro XD

https://www.youtube.com/watch?v=HZxUPBnV8VA&index=1&list=UUv-gdP9bPyhs6EilxLx-Q8A <---jsut a youtube search with variable

https://www.youtube.com/watch?v=Twl5mYg-LuY&index=2&list=UUv-gdP9bPyhs6EilxLx-Q8A <---voice call ,auto answer whatsapp

i make a new 1 soon with remote controll -devices and smarthome automatic

PS: srry i just edited both from hungarian fast so if you find something what you cant understand its my fault im in run atm XD