Is there an advanced parameter for changing the color of Rich Text when you get a new SMS or missed call?
If I have a widget that reads "You have 4(#SUSMS#) unread messages", is there a way to change the color of it from white, when 0, to green or transparent when >0?
I am trying to have it transparent when zero. I already know how to hide bitmaps just not text.
Thanks.
Put this in adv parameters and the text goes transparent when sms = 0
$#SUSMS#=0?[c]#00000000[/c]$
An other option would be to place the text off screen with [ox]
jimlahey said:
Put this in adv parameters and the text goes transparent when sms = 0
$#SUSMS#=0?[c]#00000000[/c]$
An other option would be to place the text off screen with [ox]
Click to expand...
Click to collapse
That gave the opposite effect
But with that I figured it out
Setting the color of the text to "00FFFFFF" - transparent
Then in adv parameters add $#SUSMS#!=0?[c]#FFFFFF[/c]$
Thank you so much man!
Actually any six numbers with #00 in front of them are transparent, (as long as there's no text shadow if I remember correct)
I'm glad I could help!
Why the ! in the equation? should it not be =? but this did not work for me.
mistere372002 said:
Why the ! in the equation? should it not be =? but this did not work for me.
Click to expand...
Click to collapse
No. $#SUSMS#=?...$ will never be true because #SUSMS# will never be blank since it will always be a number equal to or greater than 0.
Does anyone know the formula for changing the colour on a rectangle when a notification appears and then disappears once read
Related
I like the standard black homescreen of manila tf3d and dont want to change the look. But i would like if the incoming call button on homescreen (under the big clock) would change its colour. So i could see with only 1 short look if a phonecall arrived. Now only the text change, but letters and symbol stay in same white letters. How could i change this? (similar as the SMS or mailbutton: if message arrive symbol change to green colour).
Dont know, maybe already a new theme exist with this feature, but i dont want to change the complete theme. (checked the manila editor thread but could not find solution)
hear, hear
year that would be great
How to indicate when I have a missed call by changing colour of missed call button? Which manila file is responsible for this?
Who knows?
where are the manila experts?
andreasfuntastic said:
Which manila file is responsible for this?
Who knows?
Click to expand...
Click to collapse
its home.mode9 aka 1c684cd8_manila
Thanks, man.
And how to change to get what i want?
With your new tool? Pls. advice.
Hey all I had a question about text threading on the Tilt 2. i know i can change the font size when opening text messages under system settings. but i wanted to be able to change the font size for threading. Can it be adjusted without tweaks? If not what tweaks are out there? Thanks!
inuanimefreak said:
Hey all I had a question about text threading on the Tilt 2. i know i can change the font size when opening text messages under system settings. but i wanted to be able to change the font size for threading. Can it be adjusted without tweaks? If not what tweaks are out there? Thanks!
Click to expand...
Click to collapse
You can change your text size if you go to Settings > Screen > "Text Size" tab and adjust the slider. Alternatively, while you have your text message open, you can slide your finger along the zoom slider at the bottom of the LCD screen and it will adjust the size of the text font, real-time. Sliding in one direction makes the text smaller and sliding in the other makes it larger.
Yes i know i can do that. im talking about when i use my slider to go to the text message option. i want to be able to read the text before i tap on it to see it in the other format where i can make the changes. for example, on the tilt two all the text is white before you open up the area to see all messages. i just want to make the white text in the threaded area bigger. if i cant do that. how to i just make the font black or any other color, or bold instead.
inuanimefreak said:
Yes i know i can do that. im talking about when i use my slider to go to the text message option. i want to be able to read the text before i tap on it to see it in the other format where i can make the changes. for example, on the tilt two all the text is white before you open up the area to see all messages. i just want to make the white text in the threaded area bigger. if i cant do that. how to i just make the font black or any other color, or bold instead.
Click to expand...
Click to collapse
I see. Your original message didn't clearly indicate that you were referring to the Manila Messages text font size. From what I can gather, you can't easily modify the Manila text size without changing everything else in the system's font settings. This has been discussed in this thread.
Thanks. I'll check it out
I'm a newbie at this and I don't know how to set this up. I want to make the rich text disappear and reappear with my email counts. Is that possible?
GTRN34 said:
I'm a newbie at this and I don't know how to set this up. I want to make the rich text disappear and reappear with my email counts. Is that possible?
Click to expand...
Click to collapse
yes it is, copy and paste the following code into the "Edit text manually" section. It will display "1 UNREAD" or "2 UNREAD" etc depending on how many new notifications you have. If you dont have any notifications, it wont display anything at all.
$#SUG#>=1?#SUG# UNREAD$
#SUG# is the call method for a Gmail notification count. #SUG# can be swapped out for any other call methods too. such as
#SUSMS# which is SMS unread count etc.
so what the code says is;
Is the Gmail notification count (#SUG#), greater than (>) or equal (=) to 1 (#SUG#, or Gmail count), if the answer returns true (?)
display #SUG# (gmail count) and some text (UNREAD). the dollar signs are simply used to start and complete a method call for every code.
If you would like to show something even when you have no new you can take that code and add the : (or else) to it.
eg.
$#SUG#>=1?#SUG# UNREAD:all read$ = "1 UNREAD" or "all read"
$#SUG#>=1?you got #SUG# mail!:better luck next time$ = "you got 1 mail!" or "better luck next time".
Ya dig?
hope this helps, dont forget to hit the thanks if it does.
Thanks
Thanks for the reply.
:good:
Mv101 said:
yes it is, copy and paste the following code into the "Edit text manually" section. It will display "1 UNREAD" or "2 UNREAD" etc depending on how many new notifications you have. If you dont have any notifications, it wont display anything at all.
$#SUG#>=1?#SUG# UNREAD$
#SUG# is the call method for a Gmail notification count. #SUG# can be swapped out for any other call methods too. such as
#SUSMS# which is SMS unread count etc.
so what the code says is;
Is the Gmail notification count (#SUG#), greater than (>) or equal (=) to 1 (#SUG#, or Gmail count), if the answer returns true (?)
display #SUG# (gmail count) and some text (UNREAD). the dollar signs are simply used to start and complete a method call for every code.
If you would like to show something even when you have no new you can take that code and add the : (or else) to it.
eg.
$#SUG#>=1?#SUG# UNREAD:all read$ = "1 UNREAD" or "all read"
$#SUG#>=1?you got #SUG# mail!:better luck next time$ = "you got 1 mail!" or "better luck next time".
Ya dig?
hope this helps, dont forget to hit the thanks if it does.
Click to expand...
Click to collapse
Mv101 said:
yes it is, copy and paste the following code into the "Edit text manually" section. It will display "1 UNREAD" or "2 UNREAD" etc depending on how many new notifications you have. If you dont have any notifications, it wont display anything at all.
$#SUG#>=1?#SUG# UNREAD$
#SUG# is the call method for a Gmail notification count. #SUG# can be swapped out for any other call methods too. such as
#SUSMS# which is SMS unread count etc.
so what the code says is;
Is the Gmail notification count (#SUG#), greater than (>) or equal (=) to 1 (#SUG#, or Gmail count), if the answer returns true (?)
display #SUG# (gmail count) and some text (UNREAD). the dollar signs are simply used to start and complete a method call for every code.
If you would like to show something even when you have no new you can take that code and add the : (or else) to it.
eg.
$#SUG#>=1?#SUG# UNREAD:all read$ = "1 UNREAD" or "all read"
$#SUG#>=1?you got #SUG# mail!:better luck next time$ = "you got 1 mail!" or "better luck next time".
Ya dig?
hope this helps, dont forget to hit the thanks if it does.
Click to expand...
Click to collapse
hi, this reply of yourself above is quite helpful! thank you for that...I am dealing a little different problem, hope you can help:
I have this zooper gmail count widget... mine is very simple has one email icon and next to the icon has text field where number of new email count displayed. So it looks like this:
email icon image 0
if new email
email icon image 1
how can I make it 01, 02, 03....and when have more than 9, it will show as 10, 11? i meant zero leading from 1 thru 9...
also have any idea say if there's new email, change the email icon to say blue email icon?
jazzespresso said:
hi, this reply of yourself above is quite helpful! thank you for that...I am dealing a little different problem, hope you can help:
I have this zooper gmail count widget... mine is very simple has one email icon and next to the icon has text field where number of new email count displayed. So it looks like this:
email icon image 0
if new email
email icon image 1
how can I make it 01, 02, 03....and when have more than 9, it will show as 10, 11? i meant zero leading from 1 thru 9...
also have any idea say if there's new email, change the email icon to say blue email icon?
Click to expand...
Click to collapse
Glad to help.
As for the 01,02,03 count setup, you can do the following
$#SUG#>=0&&#SUG#<=9?0#SUG#$$#SUG#>=10?#SUG#$
as for the icon colour change, you would do something like the following. (assuming you are using an icon font set like themer icons revised font) otherwise this wont work if its a bitmap obviously
keep this in mind; lets say an email icon is assigned to the letter "k"
$#SUG#=0?[c=#fff0000]k[/c]:k$
So to break it down
$ = start and finish your code
#SUG# = Gmail count variable. if you make a rich text module and type #SUG# by itself, it will show you how many UNREAD emails you have, if none, it will count 0 etc
"=0? " = asks the question, is your gmail count (#SUG#) equal to 0? if so do the following.
[c=#ffff0000] = start the colour markup and make the Following text #ffff0000 which is the colour you want the text to be in hex value, in this case #ffff0000 = red
k = the text you want to show and change colour too, in this an email icon.
[/c] = closes the colour markup
: = or else do this, eg
gmail = 0 unread? k : (otherwise) show blah blah blah
this means if the value returned back from #SUG# is 0, k will show in red, otherwise if the value returned back from #SUG# is anything other than 0, like 1/2 etc, show k. (just remember it will show k in the default colour from the colour picker.
I needed this.
How do I make it so my Zooper Widget hides when I have zero missed calls and shows only when it has one or more missed calls?
Did a bit of browsing and found I would need Tasker for this, and that's where I stopped since its a lot to take in.
--------
Edit - After more browsing it seems I didn't actually need tasker. So instead Ill ask for help on how to hide an entire widget only when I have 1+ missed calls and hide when I have none. Didn't know about the advanced parameter section.
----------
Edit - At the moment I'm using a " $#SUSMS#<1?[oy]999[/oy]$ " to "hide" at the moment. Is there a better way to hide widgets than this? I need to still.be able to widget click them when hidden.
Shintroy said:
How do I make it so my Zooper Widget hides when I have zero missed calls and shows only when it has one or more missed calls?
Did a bit of browsing and found I would need Tasker for this, and that's where I stopped since its a lot to take in.
--------
Edit - After more browsing it seems I didn't actually need tasker. So instead Ill ask for help on how to hide an entire widget only when I have 1+ missed calls and hide when I have none. Didn't know about the advanced parameter section.
----------
Edit - At the moment I'm using a " $#SUSMS#<1?[oy]999[/oy]$ " to "hide" at the moment. Is there a better way to hide widgets than this? I need to still.be able to widget click them when hidden.
Click to expand...
Click to collapse
Is the module you are using to display the notification a Text/Rich text module or a bitmap module?
kwerdenker said:
Is the module you are using to display the notification a Text/Rich text module or a bitmap module?
Click to expand...
Click to collapse
Text. I have one for calls.and sms notifications. Here's an attachment to show what I have so far. The call widget is adjacent to the sms one and hidden correctly. I'm asking if there's a better way to hide the widgets. Maybe change the opacity instead of the x, y positions?
Shintroy said:
Text. I have one for calls.and sms notifications. Here's an attachment to show what I have so far. The call widget is adjacent to the sms one and hidden correctly. I'm asking if there's a better way to hide the widgets. Maybe change the opacity instead of the x, y positions?
Click to expand...
Click to collapse
Yes, use Advanced Parameters for color with Text, and write 00ffffff for example ( 00 is alpha level ).
Inviato dal mio GT-N7000 con Tapatalk 2
Shintroy said:
Text. I have one for calls.and sms notifications. Here's an attachment to show what I have so far. The call widget is adjacent to the sms one and hidden correctly. I'm asking if there's a better way to hide the widgets. Maybe change the opacity instead of the x, y positions?
Click to expand...
Click to collapse
Yes, controlling the opacity is the other possibility. For (Rich) Text and Rect modules you can control the color via the [c][/c] tags in advanced parameters. The color is defined via a 8 character string where the first two control the opacity of the color. So the modified version of the conditional you posted could look like this:
$#SUSMS#<1?[c]00ffffff[/c]$
Hmmm, It didn't work. Is there a issue with this? I have put it in advanced parameters and in the text area.
$#SUSMS#<1?[c]00ffffff[/c]$ <-- This shows this ---> [c]00ffffff[/c] in the preview window below. And the with nothing in the widget.
mistere372002 said:
Hmmm, It didn't work. Is there a issue with this? I have put it in advanced parameters and in the text area.
$#SUSMS#<1?[c]00ffffff[/c]$ <-- This shows this ---> [c]00ffffff[/c] in the preview window below. And the with nothing in the widget.
Click to expand...
Click to collapse
This conditional only controls the color of the module and should be put in the Advanced Parameter option. You then have to put the actual content of the module (i.e. #SUSMS#) into the Text option so there is anything on which the opacity can be controlled.
I'm trying to use tasker to alter the font for some items. I have a popup widget that has email, gmail, sms, phone,etc. on it that I want to change font color and become bold when I have a missed call or new message. I've set up tasks and profiles for sms, and gmail so they will change color. I cannot seem to get them to become bold though. They are made as Rich Text if that matters. I can't figure out how to write the parameter where the [c][/c] and take effect together. Can somebody tell me how to write the advanced parameter to get this to work?
Also, I can't seem to figure out the code to use for email or phone. I've tried %COUNTEMAIL, %COUNTMSG, %MISSEDCALL but they don't seem to work. This is the tutorial I used for this: https://seo-michael.co.uk/change-text-colour-in-zooper-widget-with-tasker (sorry can't post a link yet). Can I make this work with the Email App and the Phone?
Thanks!
From what I've read you are trying to display a count rather than the actual text/phonecall details? In which case you would be better off using Zooper's built in variables #SMCALLS# for missed calls and so on. To change the colour of the font in rich text format you can use a conditional like this:
[c=$#SMCALLS#>0?#ffff0000:#ff00ff00$]#SMCALLS#[/c]
This will display missed call count in red when you have missed calls and green when you don't.
Then to change to bold for missed calls as well you can wrap the above in a conditional like this:
HTML:
$#SMCALLS#>0?[b]$[c=$#SMCALLS#>0?#ffff0000:#ff00ff00$]#SMCALLS#[/c]$#SMCALLS#>0?[/b]$
Hope this helps.
ps Sorry about the HTML tags but I don't know how to stop it from rendering the bold tags in the code instead of displaying them
Thanks. Are there built in variables for gmail, email, and sms? I'm trying that code but it doesn't seem to do anything on my phone...
Yes there are functions for sms , gmail etc. You can find them under the system heading when you enter your text.
The code I wrote should work fine. Are you entering it in the advanced parameters screen of the manual text edit screen?
I used the manual screen when I wrote it. When you enter it does nothing happen at all? Or only part of what you want?
Torgadden said:
Yes there are functions for sms , gmail etc. You can find them under the system heading when you enter your text.
The code I wrote should work fine. Are you entering it in the advanced parameters screen of the manual text edit screen?
I used the manual screen when I wrote it. When you enter it does nothing happen at all? Or only part of what you want?
Click to expand...
Click to collapse
I'm putting it into the advanced parameters because the manual text area is what is labeling the shortcut I have. It doesn't nothing when I enter it. I've written it, copy and pasted from the site, and still nothing. I can modify it and get the color I want to change but it will not turn bold.
I think that it needs to be written in the text area because the bold tags will need to go round your text in the same way they do if you use the bold function when writing a post here.
Torgadden said:
I think that it needs to be written in the text area because the bold tags will need to go round your text in the same way they do if you use the bold function when writing a post here.
Click to expand...
Click to collapse
Hmm ok. How do I write the paramater and still keep the text I have then? So for example, I have one line that says "gmail". Clicking the word opens gmail and when I have a new email it changes from white to green based on the #COUNTGMAIL task I have in Tasker. How do I write in the code in the manual field to keep the "gmail" and still make it change? I'll be playing with this shortly when I get a chance.
You can mix text in with your functions so if you just want the word Gmail displayed and for that word to change colour and bold when you have unread mail you would lay it out like this:
HTML:
$#SUG#>0?[b]$[c=$#SUG#>0?#ff00ff00:#ffffffff$]Gmail[/c]$#SUG#>0?[/b]$
So going through it one step at a time, the first conditional (between $ $) if unread gmail count is greater than 0 then write the open bold tag.
Then open the colour tag, if unread gmail count is greater than 0 then set font colour to green, otherwise colour is set to white.
Next the text you want to display is written, "Gmail" in this case but you could add other zooper variables or text if you needed.
Close the colour tag.
Finally the last conditional writes the close bold tag in the same way as for the first conditional.
Zooper will then render the text code as you needed it.
Hope this helps
Torgadden said:
You can mix text in with your functions so if you just want the word Gmail displayed and for that word to change colour and bold when you have unread mail you would lay it out like this:
HTML:
$#SUG#>0?[b]$[c=$#SUG#>0?#ff00ff00:#ffffffff$]Gmail[/c]$#SUG#>0?[/b]$
So going through it one step at a time, the first conditional (between $ $) if unread gmail count is greater than 0 then write the open bold tag.
Then open the colour tag, if unread gmail count is greater than 0 then set font colour to green, otherwise colour is set to white.
Next the text you want to display is written, "Gmail" in this case but you could add other zooper variables or text if you needed.
Close the colour tag.
Finally the last conditional writes the close bold tag in the same way as for the first conditional.
Zooper will then render the text code as you needed it.
Hope this helps
Click to expand...
Click to collapse
Thank you. That code works perfectly. If only I could get the zooper widget to update quicker.
So my next question is, do you have the parameter code for regular email? I know the #SUG# is gmail but I don't have the code for email, or phone, or sms. I think those are the only ones I need to do this. Although I would like to have the "music" line change color when poweramp is running....
If you go to edit text you will see the list of available fields. SMS counts, etc are under system. Looking at them I could have sworn that there was a regular email count but I can't see it now, you should be able to capture that in Tasked and pass it to zooper as a variable though.
As for the media, use Media Utilities to get the player state. It gives you a whole set of variables which will let you work with media states in Zooper