Script on zooper - Zooper Widget General

Can i write my simple script?
for example, do the simple math. But one expression it is impossible to do. For example, like the current time 2 hours 45 minutes, add 20 minutes and the result for 3 hours and 5 minutes. How can I do ??

Related

how to postpone an activity

Hi everybody,
first of all thanks to TOM for his B&B 4.1!!!!
As you can see i'm using that wonderful ROM and i like it so much!!!
There is something that i'd like to customize, but it dosen't depend on the TOM's ROM, but it is related with WM in general.
Any time that an appointment or a task is Notifing me there is the opportunity, through the soft key on the left, to postpone it throug a specific delay. Is there any possibility to customize that delay instead of the percomiled 1 minute, 10 minutes, 15 minutes, etc?
Thank for your answers!!
Cheers
WHY????
Why would you want 2 do that, would you want to snooze it for more then a day? (task rescedule?).
I dont know if its possible, probably you will need a 3rd party app for this. Tries looking into pocketinformant or another agenda/task app?
Just Coz...!
It's a fair question - I've often wished I could snooze a task by a specific amount of time - 40 minutes, 50 minutes, and 1 hour 20 minutes, etc.
As a PocketInformant user, I'm fairly sure it simply interfaces with WM6 standard alerting, bringing up the normal snooze intervals. Certainly if it can be done, I haven't found out how!
iain.fraser said:
It's a fair question - I've often wished I could snooze a task by a specific amount of time - 40 minutes, 50 minutes, and 1 hour 20 minutes, etc.
As a PocketInformant user, I'm fairly sure it simply interfaces with WM6 standard alerting, bringing up the normal snooze intervals. Certainly if it can be done, I haven't found out how!
Click to expand...
Click to collapse
Of course its a fair question, i was just curious...
But do you want to alter the options or make it so that you can choose to put in the specific snooze time?
i'd like just change the "specific time", even better if it's possible to chose how much to postpone .... i think 5, 10 and 15 minutes are quite similar, i need something like:
- 15 minutes
- 3 hours
- 8 hours
- 12 hours
- 1 day
thanks guys!!!
Twiggerdingo said:
Of course its a fair question, i was just curious...
But do you want to alter the options or make it so that you can choose to put in the specific snooze time?
Click to expand...
Click to collapse
For my taste it would be nice to be able to do both, I guess, with a little bit of 'stickiness' so that the last couple of custom snooze times appeared alongside any 'standard' snooze intervals I have configured.
It's handy for those times when you know you are going to be out of a meeting in 25 minutes, or your SatNav is telling you 1 hour and 10 minutes to your destination...not a killer app, but handy!
Exactly!! How could you do that?
Luigi_Follina said:
Exactly!! How could you do that?
Click to expand...
Click to collapse
Ahhhh, that's the million dollar question! All I can say is that I don't believe PocketInformant will do the job.

Re-Request from a Junior Member

Greetings to Developers & Moderators.
I am using Raphael 300( Windows 6.5.x ) and I prefer using the windows Home Screen rather than using Manila.
I humbly ask you all is it possible to make the clock ( small round analogue ) alive and work equally along with the digital one on the home screen.. I have attached a picture along with this post to make the concept clear..
Thanks and Regards to every Moderators and Developers
Hi bonnyinqingdao
The little analog clock is only an image, search for "Titanium skins" to find something close, not what you want exactly. Good luck!
Feasibly, I could make a program that every minute it updates and creates a new clock image based on the Time, however I am not sure how the homescreen works exactly (in terms of refreshing). Refreshing the homescreen every minute would be both a pain and inconvenient.
If someone knows how to update the image every minute without inconvenience, I would be happy to make the image-maker
Cyclonezephyrxz7
60 images X 12 = 720 it's a lot of work !!! Refreshing Titanium takes 3 to 6 seconds, every minutes it 'll happen, the whole device will be devoted to doing only this thing
tito12 said:
Cyclonezephyrxz7
60 images X 12 = 720 it's a lot of work !!! Refreshing Titanium takes 3 to 6 seconds, every minutes it 'll happen, the whole device will be devoted to doing only this thing
Click to expand...
Click to collapse
I wouldn't save the images to the phone. Not all of them atleast.
The program would have a base-image to work with, and it will load it, then draw a Line on it with Graphics.DrawLine() for the minutes and one for the Hour. I already know the formula for degrees between hands for every minute (it was an Extra Credit Final Project in my Geometry class two years ago )
However, if Titanium doesn't update that often, then it isn't all too worth it...It would cost more resources than it is worth That, or someone can just make a new CCLock Panel (I don't know C++ well enough, so I can't do that)...
Right, I didn't think about changing the arms only
There's already an analog clock plugin somewhere....

[Q] Need help with the to/from date/time function

If someone could please help me!
BCT... gives you the free date last fully charged/discharged.
#BCTMM/dd/y hh:mma# this would give 12/05/2014 06:23AM
I'd like to use the hours and minutes from/to now functions to calculate that. I'm really not sure on how to use the DTh and DTm statements.
Could somebody show me?
Thanks!,
Dave
MrBiggzz said:
If someone could please help me!
BCT... gives you the free date last fully charged/discharged.
#BCTMM/dd/y hh:mma# this would give 12/05/2014 06:23AM
I'd like to use the hours and minutes from/to now functions to calculate that. I'm really not sure on how to use the DTh and DTm statements.
Could somebody show me?
Thanks!,
Dave
Click to expand...
Click to collapse
If you want the time since the phone was fully charged/discharged in hours and minutes:
#BCTTh'h' Rm'm'# (eg., 25h 10m)
Or if you want the time in days, hours and minutes:
#BCTRd'd' Rh'h' Rm'm'# (eg., 1d 1h 10m)
Or the time in minutes only:
#BCTTm'm'# (eg., 1510m)
If you want the time since you unplugged/plugged in the phone the replace the "C" in the above variables with "D".
jr67 said:
If you want the time since the phone was fully charged/discharged in hours and minutes:
#BCTTh'h' Rm'm'# (eg., 25h 10m)
Or if you want the time in days, hours and minutes:
#BCTRd'd' Rh'h' Rm'm'# (eg., 1d 1h 10m)
Or the time in minutes only:
#BCTTm'm'# (eg., 1510m)
If you want the time since you unplugged/plugged in the phone the replace the "C" in the above variables with "D".
Click to expand...
Click to collapse
Cool!!
Thanks so very very very much!
I love Zooper but the documentation lacking a bit on examples and explanation.

Need help with hand rotation formulas in Watchmaker

Still being a bit of a n00b, I am having some problems figuring out the formulas for the hands on a watchface I'm making in Watchmaker. Can anyone lend a hand (sorry, no pun intended)?
What i'm trying to do is create a face with an hour hand that starts at 180 degrees (for noon/midnight) to 270 (11pm); and a minute hand that rotates counterclockwise from 180 degrees to 90 degrees. Does that make sense?
Here is the link to a pic: http: //postimg.org[/url] /image/ fz584yeoh/
Sorry, that link was incorrect. (delete the spaces)
Try this: http: //postimg.org/ image/ fz584yeoh/
Not sure if you've already figured it out, but I just learned how to do this yesterday (so forgive me if it's wrong).
For your hours try: (90/12)*{dh}-180
Your minutes should be: -((90/60)*{dm}-180)
Thanks so much!!
Now, i have another question. I know that "{drh0}" is the rotation for the hour hand without rotation for minutes (i.e., a "jump" movement). How can I do that for the minutes as well? I am working on a watchface with three separate dials: one for the hour, one for the 10's of minutes (a dial from 0-5), and one for the single minutes (a dial from 0-9). But I can't figure out how to get the smaller minute dial hands to "jump" instead of rotate. Does that make any sense?
I think what you're looking for is:
360/6*{dmt} for your minutes (tens)
360/10*{dmo} for you minutes (ones place)
This is assuming you have 0 at the 12 o'clock position for your dials. (Technically you can even simplify the 360/6 and the 360/10 but I leave it as is for personal taste)
That got it! Thank you so much!

How to add hours and minutes

Hello friends, I have a question that should be very simple for you who know more than me.
I need to be able to add hours but I do not find how.
Example:
$ (# DH.mm # + 0.50)
What I need is for example that at the current time you can add a certain time but what happens to me is that if for example the time is 17:55 and I add 20 minutes it appears as result 17: 55 + 0: 20 = 17: 75. instead of 18:15
Please help
Why not use specific timezone then? Or you could take a look at this
https://www.reddit.com/r/ZooperWidget/comments/5h7grs/helptwo_time_zones_clock/
Sent from my XT1805 using Tapatalk
I think I did not explain myself well.
What I need is to show an image 20 minutes after the sun has set.
What happens is that the option I am using is this:
$#DH:mm#>#ASH:mm#+0:23?/sdcard/xxx.png:[ox]500[\ox]
What happens is that if for example #ASH: mm # is equal to 17:55 (that is, the sun is hidden at 5:55 pm) and we add +0: 20 (the additional minutes) the result that I delivery is from 17:75, when it should be 18:15 (6:15 pm)

Categories

Resources