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.
Related
So while using the Greenly theme I noticed that the top Zooper widget bar has notifications popping up when I get Emails/Calls/Texts which I wasn't expecting to see but this gave me an idea.
Would it be possible to put the date on a widget and then once a notification comes for an email/missed call/text the date disappears and just shows those notifications? I am coding impaired so I wouldn't know if it possible and where to begin if it is.
Thanks!
On a somewhat unrelated note, is it possible to code it so if zooper reads that there is a notification of any sort in the notification bar it throws out a notification image to let you know that there is one there?
jonnyg1097 said:
So while using the Greenly theme I noticed that the top Zooper widget bar has notifications popping up when I get Emails/Calls/Texts which I wasn't expecting to see but this gave me an idea.
Would it be possible to put the date on a widget and then once a notification comes for an email/missed call/text the date disappears and just shows those notifications? I am coding impaired so I wouldn't know if it possible and where to begin if it is.
Thanks!
Click to expand...
Click to collapse
The following code as the content of a Text or Rich Text module should do what you want. I couldn't test it though, so there might be some errors. Please test it and tell me if anything isn't working
Code:
$#SMCALLS#=0 && #SUG#=0 && #SUSMS#=0?#Ddd/MM/YYYY#$$#SMCALLS#!=0?#SMCALLS#$ $#SUG#!=0?#SUG#$ $#SUSMS#!=0?#SUSMS#$
jonnyg1097 said:
On a somewhat unrelated note, is it possible to code it so if zooper reads that there is a notification of any sort in the notification bar it throws out a notification image to let you know that there is one there?
Click to expand...
Click to collapse
In general something like that is possible but Zooper currently only supports calls, mails and text notifications. If you want to extend it to use other apps you have to use Tasker. Here is a really good tutorial how to do that: http://www.jagwar.de/en/show-notification-counts-in-zooper-with-tasker/
kwerdenker said:
The following code as the content of a Text or Rich Text module should do what you want. I couldn't test it though, so there might be some errors. Please test it and tell me if anything isn't working
Code:
$#SMCALLS#=0 && #SUG#=0 && #SUSMS#=0?#Ddd/MM/YYYY#$$#SMCALLS#!=0?#SMCALLS#$ $#SUG#!=0?#SUG#$ $#SUSMS#!=0?#SUSMS#$
In general something like that is possible but Zooper currently only supports calls, mails and text notifications. If you want to extend it to use other apps you have to use Tasker. Here is a really good tutorial how to do that: http://www.jagwar.de/en/show-notification-counts-in-zooper-with-tasker/
Click to expand...
Click to collapse
Thanks for doing the code for me, it didnt work I am getting an "ERR" message which I assume is a error message. I will look into Tasker for that then if Zooper cant do it on its own.
jonnyg1097 said:
Thanks for doing the code for me, it didnt work I am getting an "ERR" message which I assume is a error message. I will look into Tasker for that then if Zooper cant do it on its own.
Click to expand...
Click to collapse
I double checked the code and it was a simple mistake on my part. The code for year is not YYYY but yyyy. Change that and it should work
kwerdenker said:
I double checked the code and it was a simple mistake on my part. The code for year is not YYYY but yyyy. Change that and it should work
Click to expand...
Click to collapse
Cool. That did the trick! Thanks again kwerdenker!
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
I know there are separate apps for Word Clocks, but is there a #code# for word clocks or is this feature not yet implanted?
Do you have an example of what you want to see?
Nietx said:
I know there are separate apps for Word Clocks, but is there a #code# for word clocks or is this feature not yet implanted?
Click to expand...
Click to collapse
U don't need any special codes to make world clock.
As u know HH:mm (24h) or hh:mm (12h) in a text (or rich ) module shows the current time. Generally its for widget default location.
But, you can change the location with using "Override Widget Locality" option in each text module.
With this option u can show multiple times for different time zones in one widget.
Ciao
and what better
I know this info is a bit too late but here's the code you might be looking for:
[nt]#Dh#[/nt] [nt]#Dmm#[/nt]
Hello, Its possible to use bitmaps with conditioins, for example, if there's a missing call the bitmap change?
rogerhnn said:
Hello, Its possible to use bitmaps with conditioins, for example, if there's a missing call the bitmap change?
Click to expand...
Click to collapse
Define the premises of "bitmap change".
For example, as a part of my setup, whenever I receive a missed call, I have set a condition for my bitmap to "light up" like this:
- Add a Zooper widget to your homescreen > Add the Bitmap module you want for the missed call icon
- Set its normal opacity at 100
- Add this code to its Advanced Parameters:
Code:
$#SMCALLS#=0?[bo]#30ffffff[/bo]$
.
This will lead to the bitmap staying "dim" when there are no missed calls and "light up" when there are.
If you want to completely change the bitmap image, you can do that too within the Advanced Parameters. Here, for simplicity's sake, we will assume that you have a bitmap called "Image.png" in a folder called "Folder" on your Internal SD Card.
- Add a Zooper widget to your homescreen > Add the Bitmap module you want for the missed call icon
- In order to re-direct to a different bitmap when there are no missed calls, add this code to its Advanced Parameters: (without the space after /b)
Code:
$#SMCALLS#=0?[b]/storage/emulated/0/Folder/Image.png[/b ]$
- (Your path to your image on your device will be different so keep that in mind).
This will result in the no missed call icon and won't trigger any changes until you receive a missed call.
Let me know if I helped.
Rickav said:
Define the premises of "bitmap change".
For example, as a part of my setup, whenever I receive a missed call, I have set a condition for my bitmap to "light up" like this:
- Add a Zooper widget to your homescreen > Add the Bitmap module you want for the missed call icon
- Set its normal opacity at 100
- Add this code to its Advanced Parameters:
Code:
$#SMCALLS#=0?[bo]#30ffffff[/bo]$
.
This will lead to the bitmap staying "dim" when there are no missed calls and "light up" when there are.
If you want to completely change the bitmap image, you can do that too within the Advanced Parameters. Here, for simplicity's sake, we will assume that you have a bitmap called "Image.png" in a folder called "Folder" on your Internal SD Card.
- Add a Zooper widget to your homescreen > Add the Bitmap module you want for the missed call icon
- In order to re-direct to a different bitmap when there are no missed calls, add this code to its Advanced Parameters: (without the space after /b)
Code:
$#SMCALLS#=0?[b]/storage/emulated/0/Folder/Image.png[/b ]$
- (Your path to your image on your device will be different so keep that in mind).
This will result in the no missed call icon and won't trigger any changes until you receive a missed call.
Let me know if I helped.
Click to expand...
Click to collapse
Thanks for your help!
What I managed to do was to hide the icon if there's no calls using this:
[ox]$#SMCALLS#=0?500$[/ox]
So, if there's no calls it moves the icon 500 in the X axis, otherwise it will display it.
We need a thread only about advanced parameters! :laugh:
rogerhnn said:
Thanks for your help!
What I managed to do was to hide the icon if there's no calls using this:
[ox]$#SMCALLS#=0?500$[/ox]
So, if there's no calls it moves the icon 500 in the X axis, otherwise it will display it.
We need a thread only about advanced parameters! :laugh:
Click to expand...
Click to collapse
Sure, if it works for you, that's all you need. An alternative could be $#SMCALLS#=0?[bo]#00000000[/bo]$ which would achieve the same result except this one makes the bitmap transparent instead of moving it. Same difference, I guess you could say.
As far as the advanced parameters only thread goes, there is just so much potential and possibilities in the ways of using them that I don't think any thread could contain them all.
Having said that, this Q&A thread makes an attempt to fill a void in helping members at any level on their way to achieve their aim in Zooper.
Furthermore, this reference-only thread by the pretty awesome @kwerdenker lists a number of invaluable ready-made advanced parameters to be used as required.
Cheers.
Is it possoble to get me to press a bitmap and male ot shrink while making a different one grow?
Yes this can be achieved. With any type of toggle input you will need to create a Tasker task which will toggle a variable on or off. You can then output this variable to Zooper and use a conditional to act upon the variable state (in this case you would want to use the bitmap scaling function on each of the bitmaps) then set the module on tap element of both bitmaps to the task shortcut in order to activate it.
The speed at which this works would be dependant on your phone/tablet so it might not work particularly fast.
Is there a video for this? Im kinda confused but im understanding it a little more.
Sorry for not getting back to you sooner.
This isn't a video but should help you to create the toggle in Tasker: http://www.pocketables.com/2013/03/how-to-create-a-toggleable-task-in-tasker.html
After you have got that working you just need to add another action so press + in your task then select plugin, and then Zooper Widget Pro.
In configuration enter the Tasker variable in ZW Text (remember the %) and enter a name in ZW Variable which you want to use in zooper, this can be anything you want. The convention is to use all capitals for Zooper variables buy it is not necessary.
Once you have saved this you will see that Tasker has added #T to the start of your variable and another # at the end, this is what you will be using in zooper.
Exit from the task with the < icon in the top left corner until you are back at the task page. This is important as it saves your task and also you will not be able to access the task shortcut from Zooper (or any other app for that matter) as Tasker will still be in edit mode.
Right, in your zooper widget call up one of your Bitmaps and go to advanced parameters. Enter this code , changing the variable name to what you have chosen
PHP:
$#TTASK#=1?[s]50[/s]:[s]100[/s]$
This tells Zooper to display bitmap at 50% if #TTASK# is set to 1 or 100% otherwise
Go to module on tap, select the Task Shortcut from the shortcuts menu, then select your task from the list - It will probably prompt you to select an icon. Do that and you have finished that bitmap. Now repeat the parameters in the other bitmap but change =1 to =0 so it is reversed then you are done.
Hopefully I haven't missed anything but let me know if you encounter any problems.
I almost got it, when i tap the picture it just switches between hello and world its probly my tasker but ill show u a screenshot
Lstarz said:
I almost got it, when i tap the picture it just switches between hello and world its probly my tasker but ill show u a screenshot
Click to expand...
Click to collapse
You've misunderstood me a little there, probably my fault.
In Zooper configuration enter %Toggle as the ZWText. It need to be the variable you have already defined in tasker, otherwise you are telling tasker to output a variable that you are not setting.
Also, you can just put one zooper plugin activity after the End If instead of having two separate statements as Tasker will read this last and update then.
Dude the man it works now
When I'm done with the widget I'll tell you so u can see what I shud improve, ATM I have 2 five nights at Freddy's widgets posted if u wanna check them out
Yo, the doors work for the toggle, but I'm trying to make chika and bonnie pop up on screen after a certain time that they show up at the doors
So basically, can I make a timer that that is triggered by one bitmap showing up and when it goes to zero a different bitmap pops up?