[Android Apps and Games] maxamaxamaxa:
To add missed texts/e-mails/calls to Minimalistic Text from Tasker.

(sorry for the swedish in the screenshots)

Ett nytt sms = One new text

Fem missade samtal = Five missed calls

Två nya mail = Two new mails

So here is a step by step guide to get the new sms-text. At the bottom there is descriptions how to make the calls and mails too.

Tasker > New > Name it "Newsms"

Event > Phone > Recieved Text

"Type" is set to sms and mms as default, change if you only want notification for one of them

"Done"

Click: New Task

Name: "smscount"

Click: + > Variable > Variable Set

Name; "%SMSCOUNT"

To; "%SMSCOUNT +1"

Check: Do Maths

Click: Done

Click: Done once more to get back out to tasker menu where you see "Newsms"

Click: smscount > Add Task > New task

Name: "Output"

Click: + > Variable > Variable Clear

Name; "%SMSNUMBER"

Done

Click: + > Variable > Variable Clear

Name; "%SMSTEXT"

Done

Click: + > Variable > Variable Set

Name; "%SMSNUMBER"

To; "ONE"

If; "%SMSCOUNT"

Click: ~ and choose Maths: Equals

In nex box toy write; "1"

Done

Click: + > Variable > Variable Set

Name: "%SMSNUMBER"

To "TWO"

If: "%SMSCOUNT"

Click the ~ and choose Maths: Equals

In the box after that you write "2"

Done

..Continue like this until you are happy. I did up to five for sms and phone, and up to ten for mails. Not that it take a lot more system power to do to ten on all, but its just so damn boring :D

So lets say you make "FIVE" the last number in the sequence, then you should input this one AFTER the "FIVE".

Klicka på + > Variable > Variable Set

Name: "%SMSNUMBER"

To "FIVE+"

If: "%SMSCOUNT"

Click the ~ and choose Maths: Greater Than

In the box after that you write "5"

Done

Click + > Variable > Variable Set

Name: "%SMSTEXT"

To "NEW TEXT"

If: "%SMSCOUNT"

Click the ~ and choose Maths: Equals

In the box after that you write "1"

Done

Click + > Variable > Variable Set

Name: "%SMSTEXT"

To "NEW TEXTS"

If: "%SMSCOUNT"

Click the ~ and choose Maths: Greater Than

In the box after that you write "1"

Done

Click + > Plugin > Minimalistic Text variable > Edit

Variable namn: "%MINTSMSNUMBER"

Variabel content: "%SMSNUMBER"

OK

Done

Click + > Plugin > Minimalistic Text variable > Edit

Variable name: "%MINTSMSTEXT"

Variabel content: "%SMSTEXT"

OK

Done

Done once more to get out to the ground menu of tasker where you see "Newsms"

click New

Name it "cleansms"

Now you need to choose when the counter should be resetted. I choose Application > GO SMS. And in that way the counting of new texts will be resetted when I enter that app. Choose what's best for your needs.

Click New task and name it "clean"

Click + > Variable > Variable Clear

Name: "%SMSCOUNT"

Done

Click + > Variable > Variable Clear

Name: "%SMSNUMBER"

Done

Click + > Variable > Variable Clear

Name: "%SMSTEXT"

Done

Click + > Variable > Variable Clear

Name: "%MINTSMSNUMBER"

Done

Click + > Variable > Variable Clear

Name: "%MINTSMSTEXT"

Done

Click + > Plugin > Minimalistic Text variable > Edit

Variabel name: "%MINTSMSNUMBER"

Variabel content: " " (blankspace)

OK

Done

Done once more to get out to the ground menu of tasker where you see "Newsms" and "Cleansms"

Apply

Long-press the background of your homescreen > Widgets > Minimalistic Text 2x1 (Or some other size that suits your layout)

Click Predefined layout > Custom...

Click Custom layout

Remove the three blocks (long-press and drag to garbage can)

Click + > Misc > Locale variable (longpress and drag to the row above).

Click Locale variable

Variable name: "%MINTSMSNUMBER"

Style: Accend

Click Locale variable

Click + > Misc > Static text (longpress and drag to the row above).

Click Static text

Static text: " " (blankspace)

Style: Not-Accend

Click Static text

Click + > Misc > Locale variable (longpress and drag to the row above).

Click Locale variable (the second one)

Variable name: "%MINTSMSTEXT"

Style: Normal

Click Locale variable (the second one) > back-button

Set your layout with the rest of the settings in minimalistic text and then you hit "OK"

Remember that you wont see anything on your screen until you get an sms so the widget might be hard to put in right place. Ask some one to send an text to you or send one to your self, but if you have your sms app as count-clearer you will need to exit the app before you receive the sms ofc :D

To show missed calls you do the same thing as above, but you need to repace

Event, Recieved Text with Event, Missed Call

And then you replace the word "SMS" with "TEL"

everywhere

!

You will also have to set a short delay for this! When you expand the "Newtel" from taskers ground menu, you see a edit-icon and a check-icon. Hit the edit icon and click properties. Set the Cooldown Time to 5 secounds. Otherwise the count wont work (it will count one call as 2-3 without this setting)!!

E-mail is almost the same, but it depends on what mail app you are using.

I use K9 and in the first step where you choose what to make the count trigger, you still choose event but after that you press "3rd Party" > "K9 Email Received"

And then you replace the word "SMS" with "MAIL"

everywhere

!

I hope this help any one

PS: I know I accidentally moved the right hand side text of my clock before the screenshots hehe

Best regards

/Max