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

Help TEXT MESSAGES WITH TASKER

Hello
I have been trying for days to accomplish creating a profile to perform the following and am looking for an assist or to hire someone to create this. I have read through the manual, I have watched tutorials and I cannot get this to work.

I receive 3 specific types of texts
#1 JOB #1 TEXTS
#2 JOB #2 TEXTS
#3 ALL OTHER TEXTS NOT FROM #1 OR 2

I would like to create a profile(s) that will allow me to assign each type of text a unique sound.

I also be able to have any combination of the above on or off.

For instance, sometimes I only want #1 to be active.
Other times #1 and #3 only
Maybe #1 and #2 but not number
Also, I want the option to silence all 3 types.

From watching videos it seems like it should be simple, but simple or not, I cannot get it to work.

Any help would be greatly appreciated

randy
 
The trigger for JOB #1 is the that the first 3 numbers in the sender is 777 so I was trying #SMSRF *777*

For JOB #2, again it is based on the contents of the sender however there are a couple of different ones but one would be that it contains *.phs.* . I believe there may be another string as well for JOB#2 but am not sure what it is since I cleared my messages so it was deleted, but for the sake of a sample lets say the other string contains *xyz123*

Thank you for responding...
 
In both cases the string appears in the address of the sender

In case of JOB#1 when I receive a text, it is from 77712345678 meaning 777 followed by 8 numbers
In the case of JOB#2 then sender is an email address that will contain the string "phs" sender@1phs.net so the phs is always there
Same with the xyz123, i.e. it will contain a specific string xyz123, i.e. sender@abcxyz123.com the abc part may vary but the xyz123 is always there

Randy.
 
My latest attempt is just a profile on a phone event with %SMSRF 777* and a task that sets a special notification sound.
It does not work.
Based on some of the tutorials and videos I have tried much more involved solutions but have had no luck

Randy
 
You can zero in on it by pumping it through a Say command.

My guess is that you are using "equals" instead of "matches"

You are matching a string.

%SMSRF ~ 603*

will trigger a message from my area code.

My working task ...

tla-Read-SMS
A1: Say [ Text:%SMSRF Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ] If [ %SMSRF ~ 603* ]

... Thom















`
 
Not that I am aware of.

It is simply a Say command from the Alert section with text of ...
%SMSRF
Scroll to bottom and the if statement is ...
%SMSRF ~ 603*

... Thom
 
Thank you...I got that to work, i.e. it beeped, which I guess I can get rid of by setting SMS APP notification to SILENT and then it spoke the sender...
Something else I was doing that may have been part of problem was putting the string comparison right in the profile..

Now that I know it can talk to me... another idea pops up in my head.... can i make it repeat indefinitely every 5 minutes until I read the message?

Again, thanks a lot...I believe this has me going in the right direction
 
I use Nova Launcher Prime and it has ... Shortcuts ... that permit me to do exactly that. I don't know hat is available with other launchers.

... Thom
 
Well I thought I had this settled. In fact, I like the SAY so much that I just added a PROFILE called JOB1 which had a task JOB1 PAGING.
So, since pages can arrive with from starting with 777 as well as coming in as computer1@job1.com i added an OR to my task which said %SMSRF ~ *job1.com* , it would not work. Since "computer1 could be one of hundreds I wanted it to find *job1.com*.
I tried many variations and did not get the OR to work.

So I left that problem sit a while and proceeded to JOB#2. I set it up just like JOB1 profile, calling it JOB2 profile with a task containing the SAY with text JOB2 PAGING. The if statement needed to recognize the string "job2.com" from the sender node1931@job2.com same problem .. I cannot get it to work.

So is it a fact that I can only recognize the string if I know what it starts with as in the "starts with 777" ?

Recognizing 777* and announcing works great....but that's where it ends at the moment.

Thoughts?

Randy..
 
Back
Top Bottom