Change color text after change task in tasker - Zooper Widget General

i have some task (profile) in Tasker - I want to zooper show name of task in widget /every task shoud be in different color/ but i can not do this...it is possible to do this?

geeket said:
i have some task (profile) in Tasker - I want to zooper show name of task in widget /every task shoud be in different color/ but i can not do this...it is possible to do this?
Click to expand...
Click to collapse
Zooper has a Tasker plugin with which you can post values from Tasker to Zooper. You can find it under the Plugins category in Zooper. Check out this site http://www.jagwar.de/zooper-widget-tutorials/ for some tutorial on how to make Zooper and Tasker interact.
For your specific problem: Use the Tasker plugin to post the name of task and also the color you want (in Hex notation, something like ff00ff00) as variables to Zooper. Then you can use the name as the content of Text module and the color in the advanced parameters with the [c][/c] tags around them. This way you can control the text content as well as the text color directly from within Tasker.

Related

[GUIDE][ZOOPER][TASKER] Show/Hide zooper widget on headphone insert/removal

This is a guide to make a widget appear when headphones are plugged in and hide when headphones are taken out.
Requirements:
Tasker
Zooper Widget Pro
this profile: Headphone variable
these tasks: 1- HeadIn 2- HeadOut
Also zipped below!
Download the 2 tasks and profile above
Import them to Tasker by long pressing the relevant tab and selecting 'Import' and navigating to the downloaded xml and selecting.
Create a zooper widget that you like as you normally would (probably makes sense for it to be a media widget).
In the Advanced Parameters section of all the elements you want hidden, add: "[ox]$#THEAD#=0?5000[/ox]
Insert headphones and see if it works. (Hopefully it will!)
jonaseymour said:
This is a guide to make a widget appear when headphones are plugged in and hide when headphones are taken out.
Requirements:
Tasker
Zooper Widget Pro
this profile: Headphone variable
these tasks: 1- HeadIn 2- HeadOut
Also zipped below!
Download the 2 tasks and profile above
Import them to Tasker by long pressing the relevant tab and selecting 'Import' and navigating to the downloaded xml and selecting.
Create a zooper widget that you like as you normally would (probably makes sense for it to be a media widget).
In the Advanced Parameters section of all the elements you want hidden, add: "[ox]$#THEAD#=0?5000[/ox]
Insert headphones and see if it works. (Hopefully it will!)
Click to expand...
Click to collapse
Nice! Thanks for this. Was thinking about something similar the past few days
Showw thanks

[APP][4.0+] ZW Utilities [v0.7.0] [17.06.2014]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Marco Agas from the mycoloroscreen youtube channel did a really good overview video over my app. Check it out:
https://www.youtube.com/watch?v=xOqusfGqUsM
COLOR:
The new way to manage colors for your Zooper Widgets is here. Add as many variables as you like, use the whole color spectrum with transparency and then export your set. Using the color tags defined through this app, you can make the whole look of your widgets be changed in a matter of seconds.
Instead of spending time to do different color combinations of all your widgets and manage all those templates, make your widgets once and let the user make the color version they want! All you as the designer have to do, is to define the tags in your app, use them as advanced parameters with the appropriate tags in your widgets, then export your collection and share the file with your users to import. Easy as that
EXTRA VARIABLES:
Zooper has a lot of build in variables to represent the different states of your device. But some of them like bluetooth, ringer and airplane mode are not included. ZW Utilities fixes this by making three new variables available to you:
#TZWU_BLUETOOTH_STATE# (0-off. 1-on, 2-connected)
#TZWU_RINGER_STATE# (0-silent. 1-vibration, 2-normal)
#TZWU_AIRPLANE_STATE# (0-off, 1-on)
These will be automatically updated, when the system state changes. Apart from having the app installed, you don't need to do configure anything else. They are just there for you to use
I tested this app with a small group of people and while it should be fairly stable, it's still software. So if something doesn't work as expected, the app crashes, etc. please tell me about it and include as much information as you can (at least device, system, rom and app version). You can either post to this thread or if you are also on G+, join the app community http://goo.gl/qGQVn1. I also appreciate any and all ideas you have for the app or what additional functions you would like to see.
Happy theming everyone!
Get it for free on the play store
Text Link: http://goo.gl/HihS2s
Changelog
0.5.2 Initial public release
0.5.3 Fixed crash when editing hex color, fixed bug where fully transparent color was not correctly send to Zooper
Changelog 0.6.0
[NEW] Standout window mode
[NEW] Registered file intent for profile export files
0.6.2
[NEW] Closing the standout mode window now returns to the main app
[FIX] Standout mode window size based on device density
This should fix display problems on devices with a different density than xhdpi
0.6.3
[NEW] Tapping the tile strip below the action bar copies the variable name to the clipboard
This makes it easier to just paste the variable in it's intended form into Zooper
[FIX] Import/Export file path is created on app start or file import
0.7.0
[NEW] Shortcuts
You can now use ZW Utilities shortcuts to toggle certain system settings, let your widget react to user interactions (View toggles) and open Pop-out color dialogs without opening the app first.
!IMPORTANT! Setting toggles were tested on different devices but are not guaranteed to work everywhere. If you notice a problem with any of the new shortcuts please report them here. Thank you
How to use
Colors:
You need to enclose the variables you created in the appropriate tags. Which tags depends on where you want to change the color. For text and rect modules it's [c][/c], for progress bars it's [cf][/cf] (foreground), [cb][/cb] (background) and [cl][/cl] (additional fill color). So to change the color of a text module whit a variable named #TKWER_COLOR# you would put [c]#TKWER_COLOR#[/c] in the advanced parameter section of the that module.
Extended Variables:
Still to come...
... and a last one
kwerdenker said:
... and a last one
Click to expand...
Click to collapse
If you could please add an apk in the OP cz not all of us use the Play Store.
Just a request. Or I'll have to wait until it's uploaded in any third party market.
sent from my BatPhone.
karanrajkapur said:
If you could please add an apk in the OP cz not all of us use the Play Store.
Just a request. Or I'll have to wait until it's uploaded in any third party market.
sent from my BatPhone.
Click to expand...
Click to collapse
Sure, I will attach the APK as soon as I get the chance
Send from my secret moonbase via space carrier pigeons
@karanrajkapur File has been added to the first post
Magnificent work mate!
Sent from my E151
Idk if this problem with zooper or app. I can't copy variable created with this app from one item to another. Other variables copying works. I made text with variable in advanced parameters that works and I want to copy it to other text elements. I went to items list, selected text1 and in scrollable list selected copy advanced parameters. I selected other text elements and clicked paste. Zooper said Paste successfully but there was nothing in advanced parameters of other text elements. I had to copy them manually which taken too much time.
typed from dark room
ewa12321 said:
Idk if this problem with zooper or app. I can't copy variable created with this app from one item to another. Other variables copying works. I made text with variable in advanced parameters that works and I want to copy it to other text elements. I went to items list, selected text1 and in scrollable list selected copy advanced parameters. I selected other text elements and clicked paste. Zooper said Paste successfully but there was nothing in advanced parameters of other text elements. I had to copy them manually which taken too much time.
typed from dark room
Click to expand...
Click to collapse
I have this problem with Zooper and other Advanced Parameters too. Judging from your description this seems to be an internal bug from Zooper and I'll try to raise it with the devs. Maybe they can get it fixed because as you say, this can get very cumbersome.
I've only been on Zooper for a week now, so forgive the newb-ness here. I'm running a minimal home screen, where I have several links to apps as just plan white text.
Depending on the background I'm using that day, the text shows clearly...to not so much.
This app will let me use some sort of variable for the text color so I can change all the app links in 1 shot (ie, change to a light backgroup, go into app & change all my links to black) ?
Edit: Saw this on the G+ Group:
You need to enclose the variables in the appropriate tags. Which tags depends on where you want to change the color. For text and rect modules it's [c][/c], for progress bars it's [cf][/cf] (foreground), [cb][/cb] (background) and [cl][/cl] (additional fill color). So to change the color of a text module whit a variable named #TKWER_COLOR# you would put [c]#TKWER_COLOR#[/c] in the advanced parameter section of the text module.
Works perfectly!!!
Funny part is I was considering changing my text "icons" to small all-white pictures. Wondering if I can do an icon fill the same way.
polstein said:
I've only been on Zooper for a week now, so forgive the newb-ness here. I'm running a minimal home screen, where I have several links to apps as just plan white text.
Depending on the background I'm using that day, the text shows clearly...to not so much.
This app will let me use some sort of variable for the text color so I can change all the app links in 1 shot (ie, change to a light backgroup, go into app & change all my links to black) ?
Edit: Saw this on the G+ Group:
You need to enclose the variables in the appropriate tags. Which tags depends on where you want to change the color. For text and rect modules it's [c][/c], for progress bars it's [cf][/cf] (foreground), [cb][/cb] (background) and [cl][/cl] (additional fill color). So to change the color of a text module whit a variable named #TKWER_COLOR# you would put [c]#TKWER_COLOR#[/c] in the advanced parameter section of the text module.
Works perfectly!!!
Funny part is I was considering changing my text "icons" to small all-white pictures. Wondering if I can do an icon fill the same way.
Click to expand...
Click to collapse
Oh yeah, I meant to post that info here too. Will do so immediately, thanks for reminding me.
As to your icon question: it's possible to do, if you use icon fonts (something like this for instance http://www.spiderflyapps.com/downloads/android-developer-icons-the-font/ ). Then icons are just another Text layer and their color can be changed just the same
kwerdenker said:
As to your icon question: it's possible to do, if you use icon fonts (something like this for instance http://www.spiderflyapps.com/downloads/android-developer-icons-the-font/ ). Then icons are just another Text layer and their color can be changed just the same
Click to expand...
Click to collapse
Was about to post a simple example (cropping pix from a home screen thread). In this example, I'm able to change the top row, the line itself, but not the icons at the moment. (or the cell signal bars in another simple widget).
I've never heard of icon fonts - do you mean like Wingdings for Windows where the font is loaded with app icons instead? Hmm - that would work in theory. Checking your link now!!
Edit - found a site called Fontastic that lets you pick from their pre-done icon packs & makes you your own files to download on the fly. Only bad part is not having exact icons for what you want (like no Waze icon). I did a quick test using it, and works exactly as op described!
Now to see how hard it is to take generic icons & make a ttf from it. I'm guessing poorly because of resizing, but don't know.
Brilliant idea!! Thank you so much for this!!
Please add checkered background for selected color, so we can better see what opacity is set
geekon said:
Please add checkered background for selected color, so we can better see what opacity is set
Click to expand...
Click to collapse
This is something on my personal DoWant list too but I need to modify the library for the color wheel for it. This will need some time so I can't give you an ETA on it. But it will be implemented at some point
The best utility for zooper I must say. Helps changing the accent colors of my zoopers on the fly without having to enter the widget setup every time. Should be a must have app for anybody who's designing widgets. @kwerdenker You've made our lives so easy.
Sent from my Xperia Neo V using XDA Premium 4 mobile app
Update 0.6.0
First, let me take this chance to say thank you to all of you! Especially to all who rated or reviewed the app on the play store! The response to the app has been very encouraging and I hope I can keep this up for the future releases. If you have anything you want to see in those, please feel free to post them to this thread or join the community on G+: http://goo.gl/qGQVn1
And now for the main event of the evening:
The latest version of the app has been pushed to the store and should be live any minute. This update contains one of the most requested features: a more responsive way to see the effect of the color changes. Thanks to the fabulous Standout library, it is now possible to pop a variable into a floating window. This enables you to change colors and see the effects immediately on your homescreen. Currently this is limited to one variable at a time but I hope to improve that over time.
*IMPORTANT*If you use the sliders to change the color, you have to tap (just tap, no movement necessary) the ring color selector. This is a limitation of the HoloColorSelector library. I hope this will be fixed in one of their next versions.*IMPORTANT END*​
You can see a video of it in action here: https://plus.google.com/u/1/109987884687615789406/posts/gRiNgL7NWPB
It is also now possible to import and apply color profiles exported from the app by opening them in your file browser. It worked with the ones i tested but if it doesn't with the one you use, please report it.
And now, have fun wit it. Happy theming!
Changelog 0.6.0
[NEW] Standout window mode
[NEW] Registered file intent for profile export files
New version is up. I forgot to upload the one before that here, so here is the combined changelog:
0.6.2
[NEW] Closing the standout mode window now returns to the main app
[FIX] Standout mode window size based on device density
This should fix display problems on devices with a different density than xhdpi
0.6.3
[NEW] Tapping the tile strip below the action bar copies the variable name to the clipboard
This makes it easier to just paste the variable in it's intended form into Zooper
[FIX] Import/Export file path is created on app start or file import
Marco Agas from the mycoloroscreen youtube channel did a really good overview video over my app. Check it out:
https://www.youtube.com/watch?v=xOqusfGqUsM

[Q] Hide/Show Zooper notification widget

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.

[REQUEST] Tasker variable in ZW Variable field

Hello!
Great plugin!
It would be great if we could usa a tasker variable in the "ZW Variable" field in the ZW tasker plugin.
That way, i could set ZW variables in JavaScript through a tasker task!
Thanks!
"ZW Variable" field in the ZW tasker plugin
i.surfers said:
Hello!
Great plugin!
It would be great if we could usa a tasker variable in the "ZW Variable" field in the ZW tasker plugin.
That way, i could set ZW variables in JavaScript through a tasker task!
Thanks!
Click to expand...
Click to collapse
Thats exactly what I wanted. I wanted to use the plugin in a loop in tasker (I do not know javascript, but it it would be very great if that was possible too)
So I could create a zooper colorstyler in tasker with the possibility to create a scene where I could just add multiple colors with names in a array. And use that in a loop to create and update ZW colors
The number (amount) of colors would be really flexible, whithout changing the task.
In the old zooper thread I saw the same request. It was from a year ago.
Hope the request will be heard and integrated.
Would be realy awesome.
Can anyone from MyColorScreen look into this request. I need it too instead of creating a very long task with duplicated action for each item in the widget, I could use For Loop action for all items.
Posted via Tapatalk

[Q] the use of buttons?

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?

Categories

Resources