[Q] It's possible create a internal variable? - Zooper Widget General

hello, I am making a widget that counts the number of events today.
For example if 2 events this day, the number 2 is shown ..
The string did is this $#DD#=#C0SDD#?1:0$
any idea if there are more than one event?
i think that its a posibble way to create a new variable that function thats a counter the job can be done..

Related

Launch app when new SMS arrives

hi,
i am trying to put together my own sms triggered workflow. for that reason i am looking desperately for an sms-trigger which does not appear in the tray bar.
i have been intensively searching for this for ages and tried all of the apps i was able to find (smstrigger, rk-sms, mortring) but they either do not work or hook into the tray bar.
i hope that somebody can help me out.
What exactly do You want to happen when sms arrive ?
I can make a simple soft not visible in traybar,
BUT it IS visible in Taskbar.
It can f.ex fetch msg-body+Timestamp+Phonenumber from sender.
And perform Shell commands if needed.
hi eurocrypt!
first of all thanks for your help - i really appreciate that.
the minimum what i need is purely to start an exe file as i could do the rest with other utilities.
but what would really help is the following:
set the following flag to the registry
HKCU\System\State\Messages\vmail\Unread\Count = 1
if the sender's number is "#####" or the sender's name is "xxxxx" (if the number is stored as "xxxxx" in contacts)
that's it.
furthermore it would be great to delete exactly this sms with a different parameter perhaps.
My Idea is as follows:
I will make it possible to start the soft with Arguments
\SMSLaunch.exe aaa bbb ccc ddd eee fff ggg
Where
------------------------------------------------------
aaa= The Phone-number/name to trigger SMSLaunch
(Will be filter function, Name or Number Uppercase and removed Spaces and '-')
Like:
Mike Willson As contact Will be triggered if MIKE is Arg.
MIKE as arg will trigger Any Mike calling.
012-123 00 00 As Incoming Nr will be triggered if 01212 is arg.
073 as arg will trigger ANY number beginning with 073.
------------------------------------------------------
bbb= Shellcommand to run (Start app)
------------------------------------------------------
ccc= Arg for above shellcommand
------------------------------------------------------
ddd= Registry-Editing-Entry
------------------------------------------------------
eee= value to set for Registry.
( 1 is static, +1 increase by one, -1 decrease by one)
------------------------------------------------------
fff= Number to reply SMS to
------------------------------------------------------
Number of Arg's will be exact, and must be set by f.ex "X" to indicate
no Action for this Arg.
If needed I can make EDit function fromSoft if Started without Arg,
Textboxes to set ARgs and then Possibility to create A Shortcut with buildin Args.
I´m a bit buzy, so it may take some time to complete this,
hope You have time to wait.
WOW. GREAT!
sure i have time. i have been searching for weeks. so take all the time you need.
i am happy with command line based tool.
instead of textboxes (which might be cool for v2) something like
SMSLaunch.exe aaa /d
to delete the sms would be great.
background for what i use this tool:
i am using homescreen ++ as the only today-plugin. many of the provider in germany do not send a vmail-notice anymore. instead you receive an sms (this can not be changed in your mailbox account settings).
your tool will work as an sms-splitter to seperate vmail-sms from the rest. the process will be to set a registry value to "1" and delete the vmail-sms. homescreen++ will display an icon instead.
i am sure that some more users will be interested in this, too.
A Q!
Is this Reg entry correct ?
HKCU\System\State\Messages\vmail\Unread\Count = 1
I have like this
HKCU\System\State\Messages\vmail\xxxxxx\Unread\Count = 1
where xxxxxx has 4 different entries
Line1
Line2
Total
VoIP
Same in both Omnia and HTC Cruise
I use "Line1" when testing my tool now,
and looks like working OK.
But what about Value, Count=1
Is it automatically go down to Count=0
when listening to Your V-Mails ?
Eurocrypt said:
Is this Reg entry correct ?
HKCU\System\State\Messages\vmail\Unread\Count = 1
I have like this
HKCU\System\State\Messages\vmail\xxxxxx\Unread\Count = 1
where xxxxxx has 4 different entries
Line1
Line2
Total
VoIP
Same in both Omnia and HTC Cruise
I use "Line1" when testing my tool now,
and looks like working OK.
Click to expand...
Click to collapse
reg key same to me.
basically it does not matter which regkey.
you could also use hkcu\software\eurocrypt\vmail
if you want to
Eurocrypt said:
But what about Value, Count=1
Is it automatically go down to Count=0
when listening to Your V-Mails ?
Click to expand...
Click to collapse
superb!
yeah. count =1 if vmail arrives.
can you really do that - vmail to go down to 0 if calling mailbox?
how does the prog know that i am calling my mailbox?
maybe we need to put the number into a special regkey?
if it takes too much time, it is ok to leave vmail=1
i could also reset the value with mortscript.
Progress so far:
I have added possibility to use a SMSLauncher.ini in
same folder as EXE where settings can be specified.
(Easier to config for common guys)
But still possible to use Commandline.
IF SMSLauncher.ini exist, Commandline-Args will be skipped.
It is all working right now exactly as I want it
Though it is not compiled Yet, at work
and coding this toy in my HTC Cruise
Will make a working exe tonight to let You try it.
Also ok now to set VMAIL-Count to 0 if calling Your VMail-nr.
(Using a Phone-object)
Program also checking in SMS.Text for specified Trigger
if not Number/Contact trigged it.
To make it possible to send SMS to do some action
depending on SMS-Text.
Maybe I will add possibility to add sveral Trigger-entries in SMSLauncher.ini
to make it possible to send SMS to make different tasks in Phone.
..................................................................................
Exampel of SMSLauncher.ini
(Use 1 line in SMSLauncher.ini like the one below)
467;X;X;HKCU;System\State\Messages\vmail\Line1\Unread;Count;1;076-11223344;133
====== SYNTAX SMSLauncher.ini ==========
aa;bb;cc;dd;ee;ff;gg;hh;ii
aa= SMS.Number/SMS.Body to trigg SMSLauncher actions
bb= Path to EXE for Shell Command
cc= Argument for Shellcommand
dd= Root For Registry writing
ee= Path to Registry Entry
ff= Registry ENtry Name
gg= Value to set
(1= Allways set to 1)
(+1= Add 1 to existing value)
(-1= Subtract 1 from existing value)
hh= A number to reply Incoming SMS to
ii= Number to Your V-MAIL
(If this is set, Reg-Count will be set to 0)
All positions (9 Pos) must be set,
if no action will be used, set Upper case X
-------------------------------------------------------------------------------
Exampel only Reg change trigged on 123456 and removed Reg-Count on V-Mail number 133
123456;X;X;HKCU;System\State\Messages\vmail\Line1\Unread;Count;1;X;133
-------------------------------------------------------------------------------
When use Commandline instead of SMSLauncher.ini,
use same syntax but replace ';' with a space ' '
in commandline. like this
\Windows\SMSLauncher.exe 123456 X X HKCU System\State\Messages\vmail\Line1\Unread Count 1 X 133
understood. everything is clear. well done.
i have already written my ini-file, directory has been created and everything is prepared to start testing.
this app will eliminate lots of screen tappings.
Hopefully a working version
Read Readme-FIle for exact syntax in SMSLauncher.ini
(9 entries must be inside it, set as Upper Case X
if nothing to do in some section)
2 DLL's must be in same foldeer as EXE-file
Phone.dll + Outlook.dll
It will start with Form Shown,
You have to Minimize it Yourself,
either by getting menu and pick on "Today Scrreen"
or any other available way to do it.
does not work at the moment.
my ini looks like this:
5500;X;X;HKCU;System\State\Messages\sms\Unread;vmail;1;X;5500
have also tried it with
Mailbox;X;X;HKCU;System\State\Messages\sms\Unread;vmail;1;X;5500
sms comes in and regkey still stays at 0
on the other hand your app has started to send out continuously my last sms i have been sending out 6 hours ago
Looks like Your Reg-Path is wrong,
try this
5500;X;X;HKCU;System\State\Messages\vmail\Line1\Unread;Count;1;X;5500
(WATCH OUT! NO SPACES IN MY LINE ABOVE UNREAD with No Space inside)
It is working perfectly for me
Is 5500 the number You call to Your Voicemail ?
Is it also the number from where You got sms to tell You got VMAIL ?
yes 5500 is the number from where i receive the sms from and which is my voicebox number.
i think it is not a good idea to use the reg key above as the os is using this key as well.
if you set the value to 1 you will see a vmail-icon appearing in your taskbar.
just to be sure: it should work with any other reg key, shouldn't it?
Hmm I must have totally missed You :-(
I thought You wanted the soft to make your phone
show You got VMail even though You only have a common
SMS from Your Provider telling You have VMail.
I thought problem was You didn't get
Your Phone to "understand" it was Vmail.
Anyway,
Soft can run any app in your phone (with or without Argument)
trigged upon Incoming Phone-Nr or keyword in SMS.Body.
It can reply Incoming SMS.Body+Nr to
Phone-Number of Your Choice.
It can also set Registry-Key of Your Choice
Same Reg-Key can be set to 0 if You call Nr of Your Choice.
no, you understood me totally right. the only "difference" might be that i am using homescreen++ to handle sms and email notifications. i have even disabled the notification bubbles as they annoy me...
bottom line: great work and support! will test it out tonight
Additional Info ...
If You use SMS.Text for triggering,
Word/Words are Case Sensitive
rgds Eurocrypt
Ideas:
Is there need for more functions..
Also Trigg it on incoming PhoneCall ?
Multiple Lines/Triggers in SMSLauncher.ini
to do different tasks depending on Number/SMS.Text ?
Send SMS to change Parameters ?
(<password:..new config..assword>)
Any other ideas are welcome .
I´m hobbyist Just started to play with this,
so to complex tasks are not possible for me to handle.
i would do the following:
possible to run smslauncher in background, i.e. hidden app so that it does not appear in the task manager (i have configured my device to close all apps when locking screen). in this case we need an extra switch to close smslauncher.
another function might be to delete the sms where smslauncher is set to beactivated. i.e. if sms from 5500 activates smslauncher, your app should execute the command line or set the registry value AND (if an optional switch /d is set) instantly delete the sms.
you could also think about, what you proposed, to make text and sender's name available in a registry key.
a lot of people here e.g those who have put together their own manila style GUI, will thank you for this as there is currently no easy way to display sms/email information on the todayscreen.

[Q] Is it possible to create a picture widget that changes the picture randomly?

Is it possible to create a widget that will draw images randomly from a designated folder. I've been searching to see if someone has done something similar to this but it looks like the closest I can get is using the images as an iconset although I still don't know how I would have Zooper pull the images randomly (I want to add to the folder occasionally). Is this something that I could do by adding in Tasker?
Any ideas?
I currently have an image widget on one of my homescreens and the way I do it is as follows:
I basically add each photo as a bitmap: So you add a bitmap module and then you navigate to the photo you want in your device gallery. After choosing your photo, you need to add advanced parameters that will control the bitmap opacity at a certain time during the day.
[bo][/bo] is used for bitmap opacity
#DH# is used for local hour during the day (0-23)
my conditional is set up as follows for my first photo.
[bo]$#DH#>=16&&#DH#<22?100:0$[/bo]
What this means is that if the current local time on my device is between the hours of 16 to 22 (4pm to 10pm) then set the bitmap opacity to 100%, else set it to 0%. You can theoretically set this up to have a max of 24 photos (one per hour) each day that continually loops. Mine is set up in intervals of 6 hours (4 photos total) but I plan on changing the values to allow for more.
The next one would be:
[bo]$#DH#>=22||#DH#<04?100:0$[/bo]
Notice I use an OR statement || versus an AND statement && because the value goes from 0-23 and if you used an && here the image would never display because of the conflicting conditional.
http://www.webermatters.com/blog/zooper-conditional-statements/
This is a good website that outlines conditional statements in ZW.
I'm assuming this is sort of what you are going for with your widget? It's not really "random" per se but it gets the job done. Not quite sure what you could do involving tasker.
greckia said:
I'm assuming this is sort of what you are going for with your widget? It's not really "random" per se but it gets the job done. Not quite sure what you could do involving tasker.
Click to expand...
Click to collapse
I was thinking about doing exactly this or possibly applying weather conditions to various pictures also. It doesn't really look like it's possible to add a random factor but this should do the trick.
Your steps are exactly what I needed.
Thanks
crios42 said:
It doesn't really look like it's possible to add a random factor
Click to expand...
Click to collapse
There is mathematical function you can use called rand...
Izzy Lamantia helped me out with this ...
The random function provides a number between 0*1, like 0.866390265. Let's say you had 10 pictures (named 1.jpg, 2.jpg, etc.) you wanted to randomize on the hour:
$#Dm#=0?(int(random()*10)$.jpg
So again, on every hour a random number will be generated, multiplied by 10, and return it as an integer 0.866390265 x10= 8.66390265, as an integer 8. 
chandlerweb said:
There is mathematical function you can use called rand...
Izzy Lamantia helped me out with this ...
The random function provides a number between 0*1, like 0.866390265. Let's say you had 10 pictures (named 1.jpg, 2.jpg, etc.) you wanted to randomize on the hour:
$#Dm#=0?(int(random()*10)$.jpg
So again, on every hour a random number will be generated, multiplied by 10, and return it as an integer 0.866390265 x10= 8.66390265, as an integer 8. 
Click to expand...
Click to collapse
So I would need to label the images: 1.png (I'm using png's), 2.png, 3.png, etc...?
Would the limit then be 10 images? If I wanted to use more than 10 images I could x 100 but then I'm guessing I would need to assign each image a range, if n >= 25 and n < 30 then x.png and so on. Can that be done?
Also, I'm a little unclear about how bitmap absolute path works. Is there a specific folder that I would need to put my bitmaps in? Looking at this example it seems that I can pick any folder I want.
It's awesome to hear that this can be done. I just need to work out the details now.
chandlerweb said:
$#Dm#=0?(int(random()*10)$.jpg

Click to expand...
Click to collapse
I was having some trouble getting this working but I finally found that there needs to be an extra set of parentheses.
$#Dm#=0?(int(random())*100)$ which give me a 2 digit number.
Now... I either have to pick 100 images (and label them 0-99, or is it 1-100?) or find a way to give the images a range.
If I have 2 separate widgets using the same parameters and drawing from the same folder, will the random number be the same or different in each of the widgets?
crios42 said:
I was having some trouble getting this working but I finally found that there needs to be an extra set of parentheses.
$#Dm#=0?(int(random())*100)$ which give me a 2 digit number.
Now... I either have to pick 100 images (and label them 0-99, or is it 1-100?) or find a way to give the images a range.
If I have 2 separate widgets using the same parameters and drawing from the same folder, will the random number be the same or different in each of the widgets?
Click to expand...
Click to collapse
Sorry for the delay in getting back to you
You would need 100 images and label them 1-100 if your multiplier is 100. You would need, say, 123 images and label them 1-123 if you multiplier is 123 i.e. $#Dm#=0?(int(random())*123)$
In my experience, the number generated is always different even if two random functions are performed at the same time although there is always the possibility that it will occasionally be the same.
I can't seem to get the widget working.
Here are the parameters I'm using $#Dm#=43?/sdcard/Pictures/Pics1/(int((random())*10)).png$.
Ignore the 43. Whatever time it is, I just add a minute so that I don't have to wait long to see if the widget will update.
I thought it might be the file path so I tried a few others:
/storage/sdcard0/Pictures/Pics1/
/emulated/0/Pictures/Pics/
Any ideas?
is it possible to create a picture
I had tried it many times but that does not work out
Not sure if OP is still wanting an answer to this or not. I'm still working on getting this perfect but hopefully this will help someone.
Create a folder on your sd card and put 10 jpg's in there titled 1.jpg through 10.jpg
Create a Zooper Widget and add a bitmap layer
do not choose an image, instead select Advanced Parameters and insert the following code
/sdcard/full path to image folder/$#Dm#>0?(int((random())*10)))$.jpg
If the above is correct then the example box should list /sdcard/full path to image folder/*.jpg
What does this do? If the minute is greater than 0 it will generate a pseudo-random number between 1 and 0. If you have set Zooper to update when the screen is off then you will want to replace the ">" with "=" so it only updates once an hour. You can make further adjustments by using Dh for hours rather than minutes. As stated above you can increase the images by multiplying by 100.
I wrote it like I did because I don't let Zooper update while the screen is off. If I changed the image on the hour it would likely not update the image because I would have to have my screen on at the beginning of each hour. As it is, it changes the image every 10 seconds or so whenever I have the screen on.
I am open to other modifications of this so I can keep Zooper configured to not update when the screen is off, and only change the images every 10 minutes or so.
Also, you may want a fallback image so you have something to display while you wait to whatever condition needs to be meet in order for Zooper to generate the random number.
SoldierOfCatan said:
Not sure if OP is still wanting an answer to this or not. I'm still working on getting this perfect but hopefully this will help someone.
Create a folder on your sd card and put 10 jpg's in there titled 1.jpg through 10.jpg
Create a Zooper Widget and add a bitmap layer
do not choose an image, instead select Advanced Parameters and insert the following code
/sdcard/full path to image folder/$#Dm#>0?(int((random())*10)))$.jpg
If the above is correct then the example box should list /sdcard/full path to image folder/*.jpg
What does this do? If the minute is greater than 0 it will generate a pseudo-random number between 1 and 0. If you have set Zooper to update when the screen is off then you will want to replace the ">" with "=" so it only updates once an hour. You can make further adjustments by using Dh for hours rather than minutes. As stated above you can increase the images by multiplying by 100.
I wrote it like I did because I don't let Zooper update while the screen is off. If I changed the image on the hour it would likely not update the image because I would have to have my screen on at the beginning of each hour. As it is, it changes the image every 10 seconds or so whenever I have the screen on.
I am open to other modifications of this so I can keep Zooper configured to not update when the screen is off, and only change the images every 10 minutes or so.
Also, you may want a fallback image so you have something to display while you wait to whatever condition needs to be meet in order for Zooper to generate the random number.
Click to expand...
Click to collapse
I did the above, but had to add an extra parentheses before the word "int" to get it to display properly in the example box.
/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg
However, when I save and exit out of the Zooper, it still just shows the default "folder" icon. I have it pointing to 1-10.jpg in a folder called "test" on my internal SD. I also tried the code in the advanced parameters of an existing picture I had on my widget, and it didn't do anything either.
HA! Figured it out. What a dummy I am. You have to put the b tags first
[*b]/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg[/b]
(without the asterisk I couldn't get it to show since it's the same code for "Bold" on the forum)
rachelm920 said:
HA! Figured it out. What a dummy I am. You have to put the b tags first
[*b]/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg[/b]
(without the asterisk I couldn't get it to show since it's the same code for "Bold" on the forum)
Click to expand...
Click to collapse
If you have pictures 1-10 and you use random times 10, wouldn't the only picture that would get displayed be picture 10 (which is when random equals 1, times 10).
Or is the value for ((int((random())*10))) actually limiting the random numbers to be 1-10?
SchmilK said:
If you have pictures 1-10 and you use random times 10, wouldn't the only picture that would get displayed be picture 10 (which is when random equals 1, times 10).
Or is the value for ((int((random())*10))) actually limiting the random numbers to be 1-10?
Click to expand...
Click to collapse
I actually have 66 pictures and the number increases everyday, since they're pictures of my boyfriend and he's constantly sending me new ones... or we're taking new ones etc. LOL I just change the number it multiplies by as the pictures increase.
I'm not sure if number one gets displayed... I could however rename picture one to 67 so there's never a problem. Since there's so many its hard to tell.
rachelm920 said:
HA! Figured it out. What a dummy I am. You have to put the b tags first
[*b]/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg[/b]
(without the asterisk I couldn't get it to show since it's the same code for "Bold" on the forum)
Click to expand...
Click to collapse
mate, i did following your code but in zooper widget, it only shown folder icon, i use .png picture, so this is correct, it must be jpg ?
Oohhlala said:
mate, i did following your code but in zooper widget, it only shown folder icon, i use .png picture, so this is correct, it must be jpg ?
Click to expand...
Click to collapse
Not sure I only tried it with .jpg
Sent from my SAMSUNG-SGH-I747 using Tapatalk
You should be able to do this with tasker/zooper integration. I have a weather radar image that I download via tasker. Due to how zooper buffers images I haev to change the filename each time I refresh the image. The new alternating path to the image is passed from tasker to zooper. First time is w1.jpg, next time is w2.jpg. This idea could be extended for images in a folder.

[Q] Need help restricting text length, Margins in Rich Text aren't working

Firstly, I *love* ZWP and have been using it religiously.
With my new Nexus 5, however, I decided to make a new widget to match the current phone instead of my previous setup. I like having my next 3-4 calendar appointments shown in a list with dates and times and the heading, in the #C0SEEE dd - HH:mm# #C0TITLE# format. Some appointments though have longer titles and interfere with other items I have entered into the widget.
I tried using the new Rich Text feature and setting margins to various lengths and setting lines to 1, but a long appointment title still bleeds over into the next portion of my layout.
What am I missing?
Zanthany said:
Firstly, I *love* ZWP and have been using it religiously.
With my new Nexus 5, however, I decided to make a new widget to match the current phone instead of my previous setup. I like having my next 3-4 calendar appointments shown in a list with dates and times and the heading, in the #C0SEEE dd - HH:mm# #C0TITLE# format. Some appointments though have longer titles and interfere with other items I have entered into the widget.
I tried using the new Rich Text feature and setting margins to various lengths and setting lines to 1, but a long appointment title still bleeds over into the next portion of my layout.
What am I missing?
Click to expand...
Click to collapse
You should consider using the [tr]-tags to limit your field to a certain amount of characters. Usage example in your case would be
Code:
#C0SEEE dd - HH:mm# [tr=30]#C0TITLE#[/tr]
This would limit the output of the title to 30 characters and put three dots at the end to indicate the string is longer than what is displayed. You'll have to play around a bit to find the right limit for your particular setup though.
For future references, you can find all the available tags for Rich Text Modules here.
Hope this helps you out

[Q] 1) Last (passed) Calendar Event 2) Widget Scroll

Hi all,
I've 2 questions about this fantastic App!:
1) Last (passed) Calendar Event
I've created a widget to display Calendar Events; it works ok but I've a request:
Is it possible to show last passed Event?
E.G. I set one event today from 8:00am to 9:00am
I see this event since 9:00am but after this time I don't see this event
Could Zooper show also this passed event?
If Z.W. couldn't I think this is a interesting thing to implement...
2) Widget (or element) Scroll
I read that Z.W. can't scroll ... but: is t possible to scroll text in RichText field?
This is the case:
In my calendar widget I use 1 RichText for every days to show the events in the day.
I've reserved 3 rows for every day (I "print" 1 event on every row) but if in a day I've more than 3 events I see only the first 3 events and I don't see 4th, 5th etc. events.
If RichText could scroll I will solve this problem
... If anyone know other alternative solution...
HyperAbarth said:
Hi all,
I've 2 questions about this fantastic App!:
1) Last (passed) Calendar Event
I've created a widget to display Calendar Events; it works ok but I've a request:
Is it possible to show last passed Event?
E.G. I set one event today from 8:00am to 9:00am
I see this event since 9:00am but after this time I don't see this event
Could Zooper show also this passed event?
If Z.W. couldn't I think this is a interesting thing to implement...
2) Widget (or element) Scroll
I read that Z.W. can't scroll ... but: is t possible to scroll text in RichText field?
This is the case:
In my calendar widget I use 1 RichText for every days to show the events in the day.
I've reserved 3 rows for every day (I "print" 1 event on every row) but if in a day I've more than 3 events I see only the first 3 events and I don't see 4th, 5th etc. events.
If RichText could scroll I will solve this problem
... If anyone know other alternative solution...
Click to expand...
Click to collapse
1) No, Zooper doesn't currently support access to past events. If you want to request it as a feature I would advise you to use the official channel here: http://zooper.themerapp.com/support/discussions/forums/268861
2) There is a trick to "scroll" things in Zooper by using an offset calculated from the current seconds/minutes but it's rather choppy and a huge battery hog. So it's do-able but not simple and - from my perspective - not really advisable.
Thanks a lot for your reply!
But about "scroll" you spoke about offset related to Time; do you have one example?
In your opinion is it possible "scroll" by clicking on a Button (image) on the widget?
Thanks a lot for your reply!
But about "scroll" you spoke about offset related to Time; do you have one example?
In your opinion is it possible "scroll" by clicking on a Button (image) on the widget?
HyperAbarth said:
Thanks a lot for your reply!
But about "scroll" you spoke about offset related to Time; do you have one example?
In your opinion is it possible "scroll" by clicking on a Button (image) on the widget?
Click to expand...
Click to collapse
I never used the trick myself so I don't have an example at hand but I'll look if I can find one for you.
As to your second question: maybe. You would have to use an external tool like Tasker and while you could use an extension of the timing trick to do a "scrolling animation" I think it would be more advisable to just switch between different module functions. For instance you could toggle your three lines of events between showing events 1-3 and 4-6. If you don't have Tasker I could give you a link to an app I once exported from it. With that you get a toggle action and variable to realize what I just described.
kwerdenker said:
I never used the trick myself so I don't have an example at hand but I'll look if I can find one for you.
As to your second question: maybe. You would have to use an external tool like Tasker and while you could use an extension of the timing trick to do a "scrolling animation" I think it would be more advisable to just switch between different module functions. For instance you could toggle your three lines of events between showing events 1-3 and 4-6. If you don't have Tasker I could give you a link to an app I once exported from it. With that you get a toggle action and variable to realize what I just described.
Click to expand...
Click to collapse
Thaks, you reaaly help me!
Regards.
kwerdenker said:
I never used the trick myself so I don't have an example at hand but I'll look if I can find one for you.
As to your second question: maybe. You would have to use an external tool like Tasker and while you could use an extension of the timing trick to do a "scrolling animation" I think it would be more advisable to just switch between different module functions. For instance you could toggle your three lines of events between showing events 1-3 and 4-6. If you don't have Tasker I could give you a link to an app I once exported from it. With that you get a toggle action and variable to realize what I just described.
Click to expand...
Click to collapse
Thanks a lot!
I've Tasker but if you can give me the link of the app you've exported I can see it and try to understand
HyperAbarth said:
Thanks a lot!
I've Tasker but if you can give me the link of the app you've exported I can see it and try to understand
Click to expand...
Click to collapse
Since you have Tasker, I've exported my task as an XML. You can get it here https://www.dropbox.com/s/bziwrbw4azm04t3/Toggle.tsk.xml to import it on your device.
To use it you have to modify your current event modules in the following way
(You'll obviously have to substitute whatever you use to display your events, this is just meant to show the usage of the variable)
Code:
$#TVIEW#=0?#C0TITLE#:#C3TITLE#$
Then to toggle between them set the Task as a Tasker shortcut via the module or widget OnTap option in Zooper. Now you can switch between different display states with a tap on the widget.
Hope this is clear enough for you to understand. If not, just ask
Error, duplicated post. Sorry
I didn't have time to see your XML file I will download it ASAP; but:
How can I manage dates with Zooper?
Example; can I add Days to a date?
For example if today is the 30th Jan. 2014 can I add for example 3 and obtain 2nd feb. 2014?
I didn't find a way to do this in Zooper
Thanks in Advance.
I try to explain you the reason of this question:
I've for example 3 fields on the widget with 3 dates (today, Tomorrow and Day after Tomorrow)
I want to do this:
If I Tap on a field (e.g. "+") the control pass to Tasker and Tasker add a Day to 3 dates... the result is that the 3 fields with date will change the value
E. G.
1st field 15th gen 2014
2nd field 16th gen 2014
3rd field 17th gen 2014
If I tap on field "+" Tasker change the value of the variables and on the widget I will see:
1st field 16th gen 2014
2nd field 17th gen 2014
3rd field 18th gen 2014
... in this way I will create a scrollable calendar widget ... I didn't try to do this; I hope I will able to do this but my problem is that I explained on my question in the top of this post.
I Hope you understand my english
EDIT:
I find in Zooper how to manage "free date"; e.g. 4st of february 2014 at 01:00 is:
#D201402041000#
Then if I want display this date I can create a text like this:
#D201402041000 c dd-MM-yyyy#
and this is the result:
tue 04-02-2014
Now... With Tasker I can create a variable with this Value:
201402041000
E.G. Var1 = 201402041000
If in Zooper I set a Text with: #TVar1# I see:
201402041000
But if I set a text with: #D#TVar1# c dd-MM-yyyy# I see:
#D#TVar1# c dd-MM-yyyy#
Where is my mistake?
Is it possible in Zooper use a Variable like Date?
I've found my mistake; if I write:
#D$#TVar1#$ c dd-MM-yyyy#
It Work
I've found my mistake; if I write:
#D$#TVar1#$ c dd-MM-yyyy#
It Work

Zooper all day event start time

I really need help in two issues:
1. I want to use ":" as a text but not variable. Eg. : #C1SMMM# #C1Sd# |$#C1D#=0? #C1SHH:mm#$ #C1TITLE# #C1LOC#. Zooper parses ":" between hour and minute as "THEN" variable inside the formula. How can I make it appear just as text?
2. Time of all day events is 00-00 but Zooper. Eg. Today is 11 of June and I have all day event on 12-th of June, and I'm using +#C0STd# to show days left till next event, so that event is shown as +0 instead of +1. How can I fix it?
Thanks.
Anyone?
Wrong thread

Categories

Resources