Weather dock scripts

I've been playing around with a bunch of weather docklets and stuff to make one that would fit my needs.

However, I haven't been able to change the second "condition" to a forecasted condition.

The meter I've been using is called weather and the select for the it that shows me the current condition is //cc/t.

Does anyone know the correct selector for a forecasted condition?

post-30836-1154202347_thumb.jpg

1.JPG
1.JPG

#407381

You may wnt to tell us with what engine? Avescripter or Sysstat? I'm assuming sysstat since you mentioned meter.

#407550

Sysstat

I figured out most of the selector lines:

for Current:

icon - //cc/icon

tmp - //cc/tmp

condition - //cc/t

High:

icon - //part/icon

tmp - //part/hi

condition - //part/t

But... for low, I'm stuck. I've been looking at other docklets to get ideas and I've been trying with no luck.

Low:

icon - /weather/dayf/day[@d=0]/part[@p=n]/icon <---

tmp - has its info from the first part so, //part/low

condition - /weather/dayf/day[@d=0]/part[@p=n]/t <---

I've tried all variations of the code, including putting n in quotes and etc. but it seems as though when I specify which day and part using [@x=y], the code seems to fail... but I can't figure out what other possible way to call up those lines.

Those are the two lines I am having trouble with... can anyone help out?

ah, you know what. I've figured it out

//dayf/day[@d=0]/part[@p=n]/icon

//dayf/day[@d=0]/part[@p=n]/t

for those that care...

#407552

Glad you figured it.

FAWC the best way to learn this is to look at the source xml file. It's well structured & you'll easily figure it out.

#407594