I set up my weather section to have 3 cities. I can move through all 3 cities but it will not move back to the first city with the arrow button. can some 1 help in this case?
This is my code:
region,9,0,-1
load,city,1
storevar,var4=1
endregion,9,0
region,9,1,-1
load,city,2
storevar,var4=2
endregion,9,1
region,9,2,-1
load,city,3
storevar,var=0
endregion,9,2
region,9,1000,-1
endregion,9,1000
imagebutton,226,0,right_arrow.png,t,9,4,%var4%,0
If you need more info please let me know. Thanks in advance.
storevar,var=0
should be
storevar,var4=0
:shock: Doh!!! Boy do I feel stupid.
hehe, its kinda hard when you've been looking at it a long time, but someone just taking a fresh look can spot the problem immediatly. it happens to me all the time when coding :)
I try you change adding a third town in tha analog-wheather.txt
Buit I do not have the three town displayed only two are working using the arrows, is there an other thing to modify
Make sure that you add the third city to your config file also. it should look like this after you add it in : city,3,6o,USAK0072,Alaska,f of course add your code and title.
I have tried to set up the 3th city on weather section. There is the city3 on the buffer file (with ditales) but i cannot see it on my today screen.
Could some1 help me with this ,please?
I have changed the skin and config files as menthined here.( or reckon have done so, at least)
Thanks
Mehr
Quote from: MehrI have tried to set up the 3th city on weather section. There is the city3 on the buffer file (with ditales) but i cannot see it on my today screen.
Could some1 help me with this ,please?
I have changed the skin and config files as menthined here.( or reckon have done so, at least)
Thanks
Mehr
Are you using the newest version? That is v.9.8. If you are then it is setup a little different for the skin(at least slider.txt is0. The skin file should look like this:
//===========================================
region,2,0,-1
load,city,1
storevar,var0=1
endregion,2,0
//===========================================
region,2,1,-1
load,city,2
storevar,var0=2
endregion,2,1
//===========================================
region,2,2,-1
load,city,3
storevar,var0=0
endregion,2,2
Notice that this is now region 2 instead of 9. You do not need to make any more changes to the config..
Thanks , It works like a charm now.
Do i need to use the slider file, instead of the weather one, in case of furture changes( different sections, ( clock, launcher...))?
Mehr
Quote from: MehrDo i need to use the slider file, instead of the weather one, in case of furture changes( different sections, ( clock, launcher...))?
You will see from the following lines in your config.txt file that the analog-weather.txt file is no longer in use as the default skin.
skin,Skins\slider.txt
//skin,Skins\analog-weather.com.txtAll changes should be made to slider.txt, unless you deliberately revert to the old skin file (I wouldn't advise it).