Author Topic: Visible winddirection  (Read 43557 times)

Timmy

  • TodayPlus Veteran
  • *****
  • Posts: 640
Visible winddirection
« Reply #15 on: January 18, 2005, 01:29:28 AM »
Quote from: "uk_skinner"
Please check your PM...


Arrived!!! This evening is the 'try-out'!
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

Timmy

  • TodayPlus Veteran
  • *****
  • Posts: 640
Visible winddirection
« Reply #16 on: January 18, 2005, 01:56:29 PM »
UK_skinner,

In two words:
Clever done!

My experiences with your new feature:
• everything worked well from the beginning
• your .exe does its work in a split-second!!!
• after doing it's work, your program says: "update done"
• looking in my skin file I see the var is changed right

Skintext in Wordpad

Code: [Select]
SSE  gives:
//Wind Direction Index
storevar,var31=3224

NE   gives:
//Wind Direction Index
storevar,var31=314


S   gives:
//Wind Direction Index
storevar,var31=32



Skintext in Windows WORD
Code: [Select]
SSE  gives:
//Wind Direction Index
storevar,var31=3224

NE   gives:
//Wind Direction Index
storevar,var31=314

S   gives:
//Wind Direction Index
storevar,var31=32


Two questions come up:
1) What are those signs (=alt 0157)? How do they come there? Do you have found an explanation in the meantime?
2) Is the first 3 of var31=..    wrong?

Thanks for your time, UK_skinner!
Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

  • Global Moderator
  • TodayPlus Veteran
  • *****
  • Posts: 1313
Visible winddirection
« Reply #17 on: January 18, 2005, 02:14:01 PM »
Timmy, we have the problem.

My OS is English and yours is not right.

There were extra character "2" after "var31=".

SSE  gives:
//Wind Direction Index
storevar,var31=3224  ----> should be 224

NE   gives:
//Wind Direction Index
storevar,var31=314  --->should be 14

S   gives:
//Wind Direction Index
storevar,var31=32 --->should be 2

 :wall:  :wall:
Let me check something and I will get back to you...

Timmy

  • TodayPlus Veteran
  • *****
  • Posts: 640
Visible winddirection
« Reply #18 on: January 18, 2005, 02:36:49 PM »
UK_skinner,

Just for your information: I made a screendump of my 'About' page.

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

  • Global Moderator
  • TodayPlus Veteran
  • *****
  • Posts: 1313
Visible winddirection
« Reply #19 on: January 18, 2005, 02:52:18 PM »
Timmy:

  So your OS is English too?  

  That is odd, the exe I sent to you updated here fine and did not see any extra "2"????

Timmy

  • TodayPlus Veteran
  • *****
  • Posts: 640
Visible winddirection
« Reply #20 on: January 18, 2005, 03:35:00 PM »
I think that we mean the same thing: the extra "3", right? (not the "2").

EDIT: STOP thinking about this problem!!!! I stopped my PocketPC, put it again in the cradle, the PPC went on and synchronised, I clicked on your new .exe again, and now everything is OK! It's SSW here and I got the right var: 223!

Do you understand our PPC's?!?!? I not...  :?  :?  :?

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

  • Global Moderator
  • TodayPlus Veteran
  • *****
  • Posts: 1313
Visible winddirection
« Reply #21 on: January 18, 2005, 03:39:35 PM »
Timmy, I sent you a second one before I saw your post.  Just keep that one as back-up..

So if the skin updated correctly, then you start can do some your test.  Just put the image code and to see you can get the wind direction image updated using the exe.  I will start to find a way to see you can get not only for city1 but for others.  Also I assumed that you want to be able to do this automatically right?

Wichtel

  • Global Moderator
  • TodayPlus Veteran
  • *****
  • Posts: 550
Visible winddirection
« Reply #22 on: January 18, 2005, 03:49:17 PM »
Quote from: "Timmy"


Do you understand our PPC's?!?!? I not...  :?  :?  :?

Timmy[/color]



Microsoft understand it, or?  :twisted:

Timmy

  • TodayPlus Veteran
  • *****
  • Posts: 640
Visible winddirection
« Reply #23 on: January 18, 2005, 03:53:52 PM »
Quote from: "uk_skinner"
Timmy, I sent you a second one before I saw your post.  Just keep that one as back-up..

So if the skin updated correctly, then you start can do some your test.  Just put the image code and to see you can get the wind direction image updated using the exe.  I will start to find a way to see you can get not only for city1 but for others.  Also I assumed that you want to be able to do this automatically right?


UK_skinner,

I'm realy sorry for you, you did those things like thinking, sending me a second .exe and so on! Sorry for your wasted time!!! (I've told my dear Toshiba not to do those strange things again...)

I'm not fast in programming the skin-file, so give me some time to fix it. That's the first thing of my todo-list. The second thing of my todo-list is making the wind-direction icons.

It makes me smile to see you guessed my thoughts before I wrote them down: 'I will start to find a way to see you can get not only for city1 but for others.  Also I assumed that you want to be able to do this automatically right?'  :D  :D  :D You're totally right!!!

Thanks again for the things you do!
Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

Timmy

  • TodayPlus Veteran
  • *****
  • Posts: 640
Visible winddirection
« Reply #24 on: January 18, 2005, 03:57:27 PM »
Quote from: "Wichtel"
Quote from: "Timmy"


Do you understand our PPC's?!?!? I not...  :?  :?  :?

Timmy[/color]



Microsoft understand it, or? :twisted:  


Wichtel,

One icon :twisted: says more than thousand words...

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

Broesel

  • TodayPlus Veteran
  • *****
  • Posts: 595
Visible winddirection
« Reply #25 on: January 19, 2005, 02:25:30 PM »
Quote from: "uk_skinner"

1) Extract wind direction from city1.txt
2) Calculate wind index. (N=1, S=2, W=3 and E=4, if the wind is NEE, then index = 144).
3) Write a code "storevar,var4=144" at the end of the skin (just above the last code).


Well, just an idea, isn't it possible to store the values you got in the registry ?
Maybe in the var-key like mentioned in this thread:
http://www.jhollin1138.com/forums/viewtopic.php?t=1660&highlight=registry

f.ex. create values winddir1, winddir2, winddir3 ... for the cities, so you could
get the values in every skin and don't need to write the values directly in the
skinfile.

Greetings Broesel

Timmy

  • TodayPlus Veteran
  • *****
  • Posts: 640
Visible winddirection
« Reply #26 on: January 19, 2005, 02:39:45 PM »
Quote from: "Broesel"
Quote from: "uk_skinner"

1) Extract wind direction from city1.txt
2) Calculate wind index. (N=1, S=2, W=3 and E=4, if the wind is NEE, then index = 144).
3) Write a code "storevar,var4=144" at the end of the skin (just above the last code).


Well, just an idea, isn't it possible to store the values you got in the registry ?
Maybe in the var-key like mentioned in this thread:
http://www.jhollin1138.com/forums/viewtopic.php?t=1660&highlight=registry

f.ex. create values winddir1, winddir2, winddir3 ... for the cities, so you could
get the values in every skin and don't need to write the values directly in the
skinfile.

Greetings Broesel


Broesel,

Thank you that you are thinking with us!!!

As this is too hot stuff for me, I'm interested in UK_skinners opnion!

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

  • Global Moderator
  • TodayPlus Veteran
  • *****
  • Posts: 1313
Visible winddirection
« Reply #27 on: January 19, 2005, 02:48:24 PM »
Quote from: "Broesel"

Well, just an idea, isn't it possible to store the values you got in the registry ?
Maybe in the var-key like mentioned in this thread:
http://www.jhollin1138.com/forums/viewtopic.php?t=1660&highlight=registry

f.ex. create values winddir1, winddir2, winddir3 ... for the cities, so you could
get the values in every skin and don't need to write the values directly in the
skinfile.

Greetings Broesel



Muumm.  that could work  :idea: .  Good thought, Broesel..  We can use the for city1, city2.....

Timmy working on it.....

Broesel

  • TodayPlus Veteran
  • *****
  • Posts: 595
Visible winddirection
« Reply #28 on: January 19, 2005, 02:50:28 PM »
Quote from: "Timmy"
Broesel,

Thank you that you are thinking with us!!!

As this is too hot stuff for me, I'm interested in UK_skinners opnion!

Timmy


Well, I'm interested in this feature too  :D , but it would be much easier
to handle, if uk_skinner could find out, how to store the values in the
keys I mentioned. So you could get the value by:

calcvar,varx,fromconfig,winddir1   ... winddir2 and so on.

Greetings Broesel

uk_skinner

  • Global Moderator
  • TodayPlus Veteran
  • *****
  • Posts: 1313
Visible winddirection
« Reply #29 on: January 19, 2005, 02:57:18 PM »
I think I have an idea...... :wink:  :whistle:  :idea: , Crazy but possible can be done......

Broesel, where have you been hiding?


broesel, you are genius.....It works, I need to change my exe, then I can writ this into regsitry key....Timmy, for now I will just write city1 wind direction, but later we can expand to as many as 21 cities (that is the limited of TP can handle).