Dealing with dollar signs in calendar titles? - Zooper Widget General

Ok, im having a fun problem with a custom calendar widget.
If i have a rich text layer that also contains a conditional, zooper throws an error when calendar items have $ in them.
Ive tested it pretty heavily, and this breaks the widget every time, and ive tried every formatting option i can find for the conditional...
Calendar item title: "calendar test $10"
Rich text: $2>1?yes:no$ #C1TITLE#
Alternate test: $(1+1)$ #C1TITLE#
This is the simplest conditional i can find.
Even with the conditional on a separate line, it still breaks.
If i remove the conditional, the variable displays properly
Is there a way to escape an entire variable so that the $ is ignored, or am i doing something wrong with the conditional itself?
Thanks in advance.

Instead of using a rich text module use a regular text module and see if that works.
As long as your rich text module contains a conditional there's no way to escape a dollar sign. However it looks like a regular text module doesn't have the problem with dollar signs in variables that rich text modules do.

Thanks for confirming that its not just my system.
Unfortunately, not being able to color code the calendar widget makes it almost completely useless.
On the plus side, apparently adding a conditional like this also causes zooper to process Bbcode passed in from tasker variables. So i can use tasker to process out/escape the offending characters, and generate the widget text there.
Its turning into a really ugly workaround though, since tasker doesnt handle calendar data well.
Is there an official place to make requests/bug reports, or should i just send the zooper devs an email?

Related

[Q] setting variables

So I was wondering if there is a way to set a variable to something, then change it dynamically based on an event. Here is an example of an end goal with what I mean. So you make a widget that shows the forecast and all items have some form of
[bo]$#TMU_ISPLAYING#=1?0:100$[/bo]
To hide if media is playing (when combined with media utilities). I would like to take this a bit further and say, if I have that same widget, a forecast widget and down in the corner is an icon, by clicking that icon(the event) it changes the value of a variable in zooper, and the widget can change based on that. Much like with the TMU_ISPLAYING, except with this, your click changes the variable and not an outside app. Does anyone know if this is possible at all, even just a very random workaround solution would be cool, I just want to be able to change a widget based on a click. Thanks in advance.
danwguy said:
So I was wondering if there is a way to set a variable to something, then change it dynamically based on an event. Here is an example of an end goal with what I mean. So you make a widget that shows the forecast and all items have some form of
[bo]$#TMU_ISPLAYING#=1?0:100$[/bo]
To hide if media is playing (when combined with media utilities). I would like to take this a bit further and say, if I have that same widget, a forecast widget and down in the corner is an icon, by clicking that icon(the event) it changes the value of a variable in zooper, and the widget can change based on that. Much like with the TMU_ISPLAYING, except with this, your click changes the variable and not an outside app. Does anyone know if this is possible at all, even just a very random workaround solution would be cool, I just want to be able to change a widget based on a click. Thanks in advance.
Click to expand...
Click to collapse
This is possible with Tasker. Zooper has a built-in Tasker plugin so you can send data from Tasker to Zooper and I have used it for the same thing you are trying to do. If you are used to work with Tasker it's really easy to setup but if you are new to Tasker, it might take you a bit to figure it out. Here is a link on how this generally works: http://www.jagwar.de/en/zooper-tasker-variables/. To get you started, you can find my task here. To use Tasker tasks from Zooper, you set them as a Module OnTap action via the Tasker shortcut action.
Hope this helps you out enough to get you going

[Q] Calculate GMail unread messages

Hi,
I have been using Zooper pro for the last few months on my stock Nexus 5 with Apex launcher and still have not managed to show a unread messages count from three different GMail "folders". While it seems to be working in general, displaying the resulting number of all unread messages count in a single number won't work:
[c=#FF0000][tl]$(#SUG#+#SUG^sq_ig_i_notification#+#SUG^sq_ig_i_social#)=1?1 E-Mail$$(#SUG#+#SUG^sq_ig_i_notification#+#SUG^sq_ig_i_social#)>1?(#SUG#+#SUG^sq_ig_i_notification#+#SUG^sq_ig_i_social#) E-Mails$$#SMCALLS#=1? #SMCALLS# Anruf$$#SMCALLS#>1? #SMCALLS# Anrufe$$#SUSMS#>0? #SUSMS# SMS$[/tl][/c]
Whenever there are more than one (1) unread messages - I had like 160 e-mails the other day - "(6+64+89) E-Mails" instead of "159 E-Mals". I tried to Google it and tested various formats but I could not find out how to display the sum...
Thanks so much in advance!
Cheers!
I invested another few hours on this and found out that using this calculation to display the value as in
$(#SUG#+#SUG^sq_ig_i_notification#+#SUG^sq_ig_i_social#)$
works pefectly returning a single number of unread e-mails, but if used in a conditional
1.) greater/equal or else expression results are wrong
2.) displaying the string above just displays "(0+1+1)" depending on the unread message counts
Does anyon know how to add the three variables and use the result in a conditional? Or is it possibe to assign the result of the calculation to a variable which I then use for the conditional?
Thanks so much in advance!
Cheers...
Because I could not stop looking for a solution I changed from a calculation of folders to the use of #SUG^all# instead.
Downside was/is the way GMail calculates "all" e-mails, I had to delete/mark all GMails read I had ever just deleted and I need to mark them as read from now on before I delete them - but now I have the time to chase this without being annoyed by brackets whenever I got more than one unread GMail.
So still - why does Zooper treat calculations differently in a conditional compared to a simple calculation?
Cheers!
I am, kind of, dealing the same issue...take a look at following link;
http://www.jagwar.de/en/show-notification-counts-in-zooper-with-tasker/
I know this uses Tasker as additional tool, but still whenever I have more than 1 email, email count always shows 1.
if you figure out, drop me a line!

Display the text body of an unread text message

Hi all,
I have read many things about zooper especially its capacity to display counter of unread text messages.
I'd like to know if it is possible to create a widget that displays the text of the unread text messages, to display them on lock screen with widget locker for instance.
Thank you.
You can use Tasker's %SMSRB variable to capture the text body then output it to Zooper as a tasker variable so you can display it. Tasker also has functions to get the text senders details as well as the info for missed calls and last Email, but you will only be able to view the next text,call,etc recieved after you reference the data so it won't show what is already on your phone.
Torgadden said:
You can use Tasker's %SMSRB variable to capture the text body then output it to Zooper as a tasker variable so you can display it. Tasker also has functions to get the text senders details as well as the info for missed calls and last Email, but you will only be able to view the next text,call,etc recieved after you reference the data so it won't show what is already on your phone.
Click to expand...
Click to collapse
Thank you for your return, that's exactly what i was looking for.

[Q] Trying to display first event from specific calendar

I've been stumped on this one for a while. I'm making a module that displays the first event from a specific calendar.
So far, I've been able to identify whether or not the first event is from that calendar using it's color. However, if the first event in the calendar isn't that color, nothing will display.
Code:
$#C0COLOR#=#ffc2c2c2?C0TITLE$
Is there a way to identify the first event of a certain color (calendar)?
majesticPotato said:
I've been stumped on this one for a while. I'm making a module that displays the first event from a specific calendar.
So far, I've been able to identify whether or not the first event is from that calendar using it's color. However, if the first event in the calendar isn't that color, nothing will display.
Code:
$#C0COLOR#=#ffc2c2c2?C0TITLE$
Is there a way to identify the first event of a certain color (calendar)?
Click to expand...
Click to collapse
If you only want to display the events from a specific calendar, easiest way would be to select only that one for the widget (option is on the main widget edit screen). Then #C0TITLE# automatically is the next event of that calendar. If you want to display events from multiple calendars, then you sadly are out of luck. There is no build-in way to select a specific event from a specific calendar out of multiple.
If you are proficient enough with Tasker, you might be able to select the event there and then post it to Zooper.
kwerdenker said:
If you only want to display the events from a specific calendar, easiest way would be to select only that one for the widget (option is on the main widget edit screen). Then #C0TITLE# automatically is the next event of that calendar. If you want to display events from multiple calendars, then you sadly are out of luck. There is no build-in way to select a specific event from a specific calendar out of multiple.
If you are proficient enough with Tasker, you might be able to select the event there and then post it to Zooper.
Click to expand...
Click to collapse
Hmm, that wouldnt be sufficient. I have some experiene with Tasker, but not sure how I would go about doing that. Do you think you could guide me in the general direction?
majesticPotato said:
Hmm, that wouldnt be sufficient. I have some experiene with Tasker, but not sure how I would go about doing that. Do you think you could guide me in the general direction?
Click to expand...
Click to collapse
Sorry but I'm not that good in Tasker myself, so I can't help you with this.

tasker notification

so i have read tonnes of tutorials on creating zooper unread message/ email, counters. i also i know how to turn sms/email text (and specify subject, sender, content) to speech or flash in Tasker.
so i feel like i should be able to make sms or email notifications appear on zooper widget, but can't figure it out. i dobt just want a plus 1 variable for a counfer, i want the text from the message.
does any one know how to do this.?

Categories

Resources