TodayPlus Boards v2

Programming and MOD Forums => Developer's Corner Discussion => Topic started by: Timmy on January 15, 2005, 11:30:40 AM

Title: Visible winddirection
Post by: Timmy on January 15, 2005, 11:30:40 AM
Visible winddirection


@ ALL,

In the file 'city.txt' is a line like this:   this.swWindD = "NNE"

Is there a possibility to use this line with var=..  and the if...else statement to import the corresponding pic?
(http://img135.exs.cx/img135/1448/winddirection028pr.jpg)

• If the answer is 'yes', can someone give me an example of the right text lines? After making the right text-lines, I plan to make all the corresponding pics, in that case.
• If the answer is 'no', please let me know!


Thanks!
Timmy
Title: Visible winddirection
Post by: uk_skinner on January 15, 2005, 11:51:13 AM
Timmy:

  At this moment, answer is "no. :oops:

  AFAIK, there is no known TP code can assign wind direction to var.

  But, Wichtel might have some idea..
Title: Visible winddirection
Post by: Wichtel on January 15, 2005, 11:58:10 AM
Quote from: "uk_skinner"

  But, Wichtel might have some idea..


Sorry, no Idea :knownot:
Title: Visible winddirection
Post by: uk_skinner on January 15, 2005, 10:04:11 PM
Timmy:

  I have some progress, but  don't know how far can we go.  I applied my stock quote idea (update skin automatically) to add a code at the end of the skin.  Again a exe ( :oops: ) can do following things.

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).

In thre skin, you just need add "image,x,y,wd%var4%.png,t", then you can have different wind direction image based on your var4 value.

 This exe can be delayed until the update finish.

Here is fun part for you.  We could have up 3 characters (NEE) in wind direction, so ideally we need around 64 different image to represent different wind direction.

I also need to figure out a way to get different codes for different city.

So, how do you think?
Title: Visible winddirection
Post by: Timmy on January 17, 2005, 11:24:43 AM
UK_skinner,
Thanks for giving your thoughts to us!!! I like the way you work with your inventive mind!!!


Quote from: "uk_skinner"
I applied my stock quote idea (update skin automatically) to add a code at the end of the skin.  
Is this necesarry? The cit1.txt is already automatically downloaded, though?

Quote from: "uk_skinner"
Again a exe ( :oops: ) can do following things.

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).
Looks good to me. Give it a try!!! And ehhh... I love your 'exes'... The more, the better! They can do things, that aren't possible with TodayPlus!

For my information: this var can be used by TodayPlus?!? How does it come in the skin.txt file?!?

Quote from: "uk_skinner"
We could have up 3 characters (NEE) in wind direction, so ideally we need around 64 different image to represent different wind direction.
Whow! If you succeed, I begin with these mass-produced pics...

Quote from: "uk_skinner"

I also need to figure out a way to get different codes for different city.
HHmm... They are in the City1.txt the City2.txt and City3.txt files, aren't they? Or do you have other plans???

Timmy
Title: Visible winddirection
Post by: uk_skinner on January 17, 2005, 11:42:27 AM
Quote from: "Timmy"
Is this necesarry? The cit1.txt is already automatically downloaded, though?


Sorry, I did not make it clear.

I was talking about to "update" the skin not city1.txt.  This is a "risk" idea.  When you are running TP, you have a "fixed"/"Static" skin.  In other words, whenever you update your weather/RSS information or radar image, the TP codes in the skin remained the same.

And we ususally edit the skin on PC/PPC then loaded into PPC manually.

This idea invovled a "automatic" step to create TP codes based on the information from city1.txt.  Since there is no TP code can do that, I have to use a third party exe to do that.  And exe will "automatically" edit the codes in the skin.

Here are the step-by-step how the exe does the job.

1) Open city1.txt and extract wind direction then calculate wind index.
2) Open skin file and edit the specific TP code in the skin. In this case, exe will find "storevar,var4=0" and rewrite into "storevar,var4=1" (1 is the wind index from step 1).
3) Close the skin file.

Once you have the var4 changed whenever your city1.txt updated, then a simple "image,x,y,%avr4%,t" can display the image according to your wind index.

Risk: At this moment, I have tested several times and only the code (storevar,var4=..) was re-written everytime.  However, I would like test more times to make sure, it will not add any other "un-desired" things into skin.
Title: Visible winddirection
Post by: Timmy on January 17, 2005, 01:43:29 PM
UK_skinner,

Thanks for your patient explanation: now I understand what you realy mean. And I must say, that it's amazing!!!

It's the first time I've seen someone changing automaticaly a part of the skin.exe file. It gave us several opportunities to do other things... Don't tell Wichtel, because he shall bomb you with much more unexpected wishes...

 (http://www.cheesebuerger.net/images/more/bigs/a170.gif)     (http://www.cheesebuerger.net/images/more/bigs/a170.gif)     (http://www.cheesebuerger.net/images/more/bigs/a170.gif)
UK-skinner, you had a wild idea, but I've the feeling it's an idea that shall amaze ALL the real skinners! THANKS!!!

Timmy
Title: Visible winddirection
Post by: uk_skinner on January 17, 2005, 02:00:33 PM
Timmy:

   Thanks for your compliment.  I am just a kid with some wild dream.. :oops:

   Again, this is just one of temporary solutions while we are waiting srs come back.  Maybe one day, he will show up and say "no need for these small exe, I have put these functions in TP".. :pray:
Title: Visible winddirection
Post by: Timmy on January 17, 2005, 02:29:46 PM
Quote from: "uk_skinner"

Again, this is just one of temporary solutions while we are waiting srs come back.  Maybe one day, he will show up and say "no need for these small exe, I have put these functions in TP".. :pray:

UK_skinner,

I must agree: these are nice thoughts...
(http://www.cheesebuerger.net/images/midi/muede/a010.gif)
Wishfull thinking... Thinking of the mysterious mr. SRS... A man who could make things in one evening, where whe all together need month and years... When will he come back to pick up his wonderfull programm to make it better and better and better...

Timmy
Title: Visible winddirection
Post by: ZapMe1 on January 17, 2005, 02:34:15 PM
We can only Hope and (http://www.cheesebuerger.net/images/more/bigs/a176.gif)
Title: Visible winddirection
Post by: uk_skinner on January 17, 2005, 03:40:09 PM
Timmy:

  You have your own skin, right?  If you want to test it, please email me the skin and tell me where you want to the code.  Also I need a var for wind index.  I could look at your skin and to see I can find one.
Title: Visible winddirection
Post by: Timmy on January 17, 2005, 03:50:37 PM
Quote from: "uk_skinner"
Timmy:

  You have your own skin, right?  If you want to test it, please email me the skin and tell me where you want to the code.  Also I need a var for wind index.  I could look at your skin and to see I can find one.


Done!

If there's a place you need for the .exe: \Program Files\...
Title: Visible winddirection
Post by: uk_skinner on January 17, 2005, 03:59:55 PM
Timmy:

  Got it.

1) I need the file pathway of your skin.
2) I assumed you would like to display wind dir image in region,3 right?
3) var31 currently is not used in your skin.  So I will use it for wind index.
Title: Visible winddirection
Post by: Timmy on January 17, 2005, 04:05:58 PM
UK_skinner,

1)   \Program Files\TodayPlus\Skins\...
2)   REGION 3 - PAGE 100
3)   OK

Good Luck!

Thanks!
Timmy

_______________________________
PS
Not all the winddirections are with three characters, it also can be with one, or two. Is that a problem?!?
Title: Visible winddirection
Post by: uk_skinner on January 17, 2005, 04:35:19 PM
Please check your PM...
Title: Visible winddirection
Post by: Timmy on January 18, 2005, 01:29:28 AM
Quote from: "uk_skinner"
Please check your PM...


Arrived!!! This evening is the 'try-out'!
Title: Visible winddirection
Post by: Timmy 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
Title: Visible winddirection
Post by: uk_skinner 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...
Title: Visible winddirection
Post by: Timmy on January 18, 2005, 02:36:49 PM
UK_skinner,

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

Timmy
Title: Visible winddirection
Post by: uk_skinner 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"????
Title: Visible winddirection
Post by: Timmy 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
Title: Visible winddirection
Post by: uk_skinner 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?
Title: Visible winddirection
Post by: Wichtel 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:
Title: Visible winddirection
Post by: Timmy 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
Title: Visible winddirection
Post by: Timmy 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
Title: Visible winddirection
Post by: Broesel 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
Title: Visible winddirection
Post by: Timmy 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
Title: Visible winddirection
Post by: uk_skinner 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.....
Title: Visible winddirection
Post by: Broesel 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
Title: Visible winddirection
Post by: uk_skinner 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).
Title: Visible winddirection
Post by: Geezer on January 19, 2005, 03:15:02 PM
Quote from: "uk_skinner"
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).


You guys never cease to amaze me.  Wow.. :bow:
Title: Visible winddirection
Post by: Broesel on January 19, 2005, 03:19:40 PM
Quote from: "uk_skinner"

Broesel, where have you been hiding?


Oh, I'm here all around  8)

Quote

broesel, you are genius.....It works


Oh, no, you are :D


Quote
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).


Sounds nice   :lol:

Broesel


Edit: Just got another idea  :oops:

Give me a key too for windspeed and Timmy will get the possibility to
get windspeed from mph to Beaufort / kmh in TodayPlus V011

Too much ???  :oops:
Title: Visible winddirection
Post by: Timmy on January 19, 2005, 03:21:38 PM
Broesel & Uk_skinner,

What do we get when we put together
     (http://www.cheesebuerger.net/images/midi/sportlich/l014.gif)two genius members     in one thread......  (http://www.cheesebuerger.net/images/midi/sportlich/l018.gif)


Timmy
Title: Visible winddirection
Post by: uk_skinner on January 19, 2005, 04:40:40 PM
Tiimy:

   Exe sent to you, please try it...This is fun... :wink:
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 01:57:58 AM
Quote from: "Broesel"


Edit: Just got another idea  :oops:

Give me a key too for windspeed and Timmy will get the possibility to
get windspeed from mph to Beaufort / kmh in TodayPlus V011

Too much ???  :oops:


@uk_skinner: Did you see my edited post  ? Can you make that possible ?

Edit: Just a second idea: Get the value from numcities of the registry in your exe
and then create as many keys as you have cities to get
winddir / windspeed from every city.

@Timmy: When you make your grafics for windspeed, you should name
the grafic like the values of the var's. F.ex. NEE=144 --> 144.bmp
Then it is really easy to get the grafik with less code. :)

Example:

load,city,%var0%
calcvar,var4,fromconfig,winddir%var0%
image,0,0,%var4%.bmp,t

Hope, that works
Greetings Broesel
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 02:25:32 AM
@Uk_skinner,

Your mail did arrive well. Thanks! This evening I'm gonna try your exe. Pretty work to do!!!


@Broesel,

I'm glad you came in the discussions! This is the right place for you and most of your TodayPlus-wishes. Thanks for active coming by!
Also thank you for your good tips! Is appreciated!


Timmy
Title: Winddirections
Post by: Broesel on January 20, 2005, 03:28:10 AM
O.K. some more to the winddirections:

You can get 16 values:

N          =        1
NNE      =     114  
NE        =       14
ENE      =      414
E          =         4  
ESE      =      424
SE        =       24
SSE      =     224
S          =        2
SSW     =     223
SW       =      23
WSW    =     323
W         =        3
WNW    =      313
NW       =        13
NNW     =      113

That's, what you need grafic for ....

Broesel
Title: Re: Winddirections
Post by: Timmy on January 20, 2005, 03:58:04 AM
Quote from: "Broesel"
O.K. some more to the winddirections:

You can get 16 values: (...) That's, what you need grafic for ....

Broesel


Broesel,

Thanks for your information!

Timmy
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 07:13:46 AM
Quote from: "Broesel"
Edit: Just a second idea: Get the value from numcities of the registry in your exe
and then create as many keys as you have cities to get
winddir / windspeed from every city.


No problem, I can get wind speed into var then you guys can convert it into km/hr..

Timmy, I will send you another one later.
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 11:22:12 AM
Uk_skinner,

I received your latest TpRegistry.exe.

My City1.txt says that the wind is W, 26 Mph. I clicked on your exe, looked in the Registry, and ...

TA  (http://www.cheesebuerger.net/images/smilie/musik/d015.gif)  TA   (http://www.cheesebuerger.net/images/smilie/musik/d015.gif)  TA   (http://www.cheesebuerger.net/images/smilie/musik/d015.gif) TA  .....


(http://img57.exs.cx/img57/9606/tpdisplay14gw.jpg)

Timmy
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 11:27:17 AM
Timmy:

  If you wish, I can let the exe do the calculation to convert mhr-->kmhr then write it into registry key.
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 12:03:17 PM
O.K. Mine could not find the files, but my Installdir is

Programme/TodayPlus

so I copied the buffer folder under

Program Files

and, yes it works with the first city  :D

Greetings Broesel
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 12:05:32 PM
Quote from: "Broesel"
O.K. Mine could not find the files, but my Installdir is

Programme/TodayPlus

so I copied the buffer folder under

Program Files

and, yes it works with the first city  :D

Greetings Broesel


Sorry, I forgot to mention, it will look city1.txt in /Program Files/Buffer. :oops:  I will see I can change that..
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 12:06:56 PM
no Problem, I could find out myself  :D

So I'm going to test the var's

Broesel
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 12:45:57 PM
Quote from: "uk_skinner"
Timmy:

  If you wish, I can let the exe do the calculation to convert mhr-->kmhr then write it into registry key.


Uk_skinner,

In Europe most countries use Beaufort in stead of M/hr or Km/hr. A table you can find here:
http://www.jhollin1138.com/forums/viewtopic.php?t=1127&highlight=wind

Is Beaufort possible for you?

Timmy
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 12:57:20 PM
Quote from: "Timmy"
Quote from: "uk_skinner"

Uk_skinner,

In Europe most countries use Beaufort in stead of M/hr or Km/hr.
Is Beaufort possible for you?

Timmy


Timmy, I did it already in the skin  :D

uk_skinner, it works like a charme  :lol:  . So now it would be nice, to get
the other cities ... :roll:

Broesel
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 01:00:37 PM
Timmy, Broesel:

  I email you guys an updated the exe.  This should take care of the base pathway issue.  Right now, it will take the base pathway from regsitry key.

Broesel:

  Wow, you are quick.....Do you guys prefer doing in exe or TP skin?  I will try to add the other city...
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 01:05:12 PM
Quote from: "Broesel"
Quote from: "Timmy"
Quote from: "uk_skinner"

Uk_skinner,

In Europe most countries use Beaufort in stead of M/hr or Km/hr.
Is Beaufort possible for you?

Timmy


Timmy, I did it already in the skin  :D

Broesel

Broesel,

Amazing.... I'm such a slow skinner and you guys are so fast... much to fast for me... Sorry...

Can you deal the skintext lines with us? (The lines that are doing these things with your skin). Would be nice!

Timmy
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 01:05:35 PM
Quote from: "uk_skinner"
Broesel:

  Wow, you are quick.....Do you guys prefer doing in exe or TP skin?  I will try to add the other city...


Well, if we have the possibility to calculate with the values we can (nearly)
do everything. If you want to make it in the exe, no problem, but then
maybe you should use another var for the results.

And I have no problem giving away the code, I've used.

Broesel
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 01:14:32 PM
Quote from: "Timmy"

Can you deal the skintext lines with us? (The lines that are doing these things with your skin). Would be nice!


Yes, here it comes .......

Code: [Select]

//---------------------------------------------
//Broesels code to show winddir as a pic
//---------------------------------------------
calcvar,var11,fromconfig,c%var0%windir
image,15,168,%var11%.bmp,t

/--------------------------------------------
//Change mph to km/h
//-------------------------------------------
calcvar,var12,fromconfig,c%var0%windsd
calcvar,var12,*,%var12%,1609
calcvar,var12,/,%var12%,1000
text,60,170,Km/h: = ,l
text,110,170,%var12%,l

//--------------------------------------------
//Show Beaufort (0 - 12)
//--------------------------------------------
if,var,var12,0,><,1
text,60,190,0 Bft,l
else

if,var,var12,1,><,5
text,60,190,1 Bft,l
else

if,var,var12,6,><,11
text,60,190,2 Bft,l
else
if,var,var12,12,><,19
text,60,190,3 Bft,l
else

if,var,var12,20,><,28
text,60,190,4 Bft,l
else
if,var,var12,29,><,38
text,60,190,5 Bft,l
else

if,var,var12,39,><,49
text,60,190,6 Bft,l
else

if,var,var12,50,><,61
text,60,190,7 Bft,l
else

if,var,var12,62,><,74
text,60,190,8 Bft,l
else
if,var,var12,75,><,88
text,60,190,9 Bft,l
else
if,var,var12,89,><,102
text,60,190,10 Bft,l
else
if,var,var12,103,><,117
text,60,190,11 Bft,l
else
if,var,var12,,>,117
text,60,190,12 Bft,l
else
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
//==============================


That's it .....
Be sure, you use a free variable

Broesel

Edit: Oh, I only made this one pic (named 3.bmp) for this test, don't
have the graphics for the other winddirs now.
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 01:41:51 PM
Quote from: "Broesel"
Quote from: "Timmy"

Can you deal the skintext lines with us? (The lines that are doing these things with your skin). Would be nice!


Yes, here it comes .......

Edit: Oh, I only made this one pic (named 3.bmp) for this test, don't
have the graphics for the other winddirs now.

Broesel,

Thanks for these skintextlines!

Question: Do you have prereferences for winddirection pics? Pixels? Colour? other things?

Timmy
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 01:59:23 PM
Quote from: Broesel
if,var,var12,,<,117
text,60,190,12 Bft,l


Broesel:

      Is this one right?
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 02:00:48 PM
Quote from: "Timmy"
Question: Do you have prereferences for winddirection pics? Pixels? Colour? other things?


No preferences, liked the one you had in the first post of this thread.  :D

Broesel
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 02:09:15 PM
Quote from: "uk_skinner"

if,var,var12,,<,117
text,60,190,12 Bft,l

Broesel: Is this one right?


I think so, if it's more then 117 km/h it should be 12 Bft

Broesel
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 02:15:18 PM
Should not be "if,var,var12,,>,117"????
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 02:16:59 PM
Uk_skinner,

It's very busy on the board today... And that's due to the great brainwave you and Broesel had today. Still no headache?????  :wink:


Uk_skinner, I just got your latest TpRegistryWind.exe and tried this version, too. This version gave an error report:
Code: [Select]
city1.txt
Could not open buffer file!

I click on OK and this error report goes away. But the program icon of the .exe still is there (at the top bar). I click on the icon, and a new report says:
Code: [Select]
TP Registry Key
Update Done

I click OK, and the screen is like it was before the trial.

Hope, this report helps you!

Timmy
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 02:39:18 PM
Timmy:

  Well, you just gave me a headach... :wall:  :wall:

  Let take a look, Oddly, I did not get any error message.  Can you show me the pathway in the registry key?
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 02:53:56 PM
Uk_skinner,

Is this enough?
(http://img57.exs.cx/img57/9606/tpdisplay14gw.jpg)

BTW: the version you gave me earlier, is still working perfect!!!

Timmy
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 03:02:09 PM
Sorry, I meant:

HKEY_CURRENT_USER\Software\SRSSoft\TodayPlus

Tap on it, you should see "BasePath" and it should say "/Program Files/TodayPlus".

That is odd, I tested on my PPC and I pointed the base to default nad it worked..  :shock:  :shock:
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 03:09:51 PM
Quote from: "uk_skinner"
Should not be "if,var,var12,,>,117"????


 :oops: Of course you are right  :oops:

I changed it in my first post

@Timmy: please change the sign in the code too ...

Broesel
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 03:13:48 PM
Quote from: "uk_skinner"
Sorry, I meant:


HKEY_CURRENT_USER\Software\SRSSoft\TodayPlus

Tap on it, you should see "BasePath" and it should say "/Program Files/TodayPlus".

That is odd, I tested on my PPC and I pointed the base to default nad it worked..  :shock:  :shock:


Well, as I wrote you, the second exe worked fine for me,
but in my Basepath there are slashes (not backslashes)
\Programme\TodayPlus

Broesel
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 03:15:25 PM
Oops :oops: we are even..
It should be" \Program Files\TodayPlus"
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 03:15:38 PM
Uk_skinner,

Clicking on TodayPlus in the path you say, I get three lines:
Code: [Select]
lastDir     \Windows\Start\Microsoft
skin         Skins\Timmy(10)WD.txt
Thread     High

But I think you ask for other information than this...

Timmy
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 03:20:03 PM
Quote from: "Timmy"

Clicking on TodayPlus in the path you say, I get three lines:
Code: [Select]
lastDir     \Windows\Start\Microsoft
skin         Skins\Timmy(10)WD.txt
Thread     High

But I think you ask for other information than this...

Timmy


Looks like you are missing your BasePath ?????

Broesel
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 03:20:35 PM
Quote from: "Timmy"
Uk_skinner,

Clicking on TodayPlus in the path you say, I get three lines:
Code: [Select]
lastDir     \Windows\Start\Microsoft
skin         Skins\Timmy(10)WD.txt
Thread     High

But I think you ask for other information than this...

Timmy


Oh :doh:...You don't have BasePath??? :?:

On my divce, the lastDir=\Program Files\TodayPlus.  What version of TP are you running?  Could you please go to Configure, tap on "Base Path" then select your base pathway.  Close it, and check the key again, to see you get "BasePath" key..
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 03:27:32 PM
Quote from: "uk_skinner"
Quote from: "Timmy"
Uk_skinner,

Clicking on TodayPlus in the path you say, I get three lines:
Code: [Select]
lastDir     \Windows\Start\Microsoft
skin         Skins\Timmy(10)WD.txt
Thread     High

But I think you ask for other information than this...

Timmy


Oh :doh:...You don't have BasePath??? :?:

On my divce, the lastDir=\Program Files\TodayPlus.  What version of TP are you running?  Could you please go to Configure, tap on "Base Path" then select your base pathway.  Close it, and check the key again, to see you get "BasePath" key..


Thanks to Broesels screendump: I don't have a BasePath line.

For your information: I use version 11, like you. In the Configuration file I have chosen as Base Directory  \Start Menu\Microsoft

EDIT nr. 1: Now I have a BasePath too:  \Windows\Start Menu\Microsoft
EDIT nr. 2: Now the last version work well! NO PROBLEMS! Everything is OK!!! I thank the PPC-doctors for their right medicine!!!
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 03:47:11 PM
Ok, sent a new one.

It will add the wind direction index and speed for "ALL the Cities" into registry key.  However, I saw "non-standard" word for wind direction, such as "VAR", "CALM".  I need to look into it later.
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 04:01:03 PM
Quote from: "uk_skinner"
Ok, sent a new one.

It will add the wind direction index and speed for "ALL the Cities" into registry key.  However, I saw "non-standard" word for wind direction, such as "VAR", "CALM".  I need to look into it later.


Yes, worked fine for all my 5 cities  :D

Well for the other values I suggest you giving numbers starting from
999 down. Example:

VAR = 999
CALM = 998

If there are some more values we can go down with the values
and get some graphics to that numbers.

Broesel
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 04:03:33 PM
Ok, I am going to put a delay in the exe.  Since this exe extracts the infromation from cityx.txt so ideally it needs to do the job after the "updating" finishes in TP.  How long you think is enough....

Alternatively you can make a shortcut can be triggered by a button.
Title: Visible winddirection
Post by: Broesel on January 20, 2005, 04:09:09 PM
Quote from: "uk_skinner"
Ok, I am going to put a delay in the exe.  Since this exe extracts the infromation from cityx.txt so ideally it needs to do the job after the "updating" finishes in TP.  How long you think is enough....

Alternatively you can make a shortcut can be triggered by a button.


Well, can you get the delay from a registry-var or maybe better from a txt-file like in Radar.txt ?
So everybody can try and see how long the update takes and change the value.
For me I think it's about 20 - 40 seconds.

Broesel
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 04:12:48 PM
Quote from: "uk_skinner"
Ok, sent a new one.

It will add the wind direction index and speed for "ALL the Cities" into registry key.  However, I saw "non-standard" word for wind direction, such as "VAR", "CALM".  I need to look into it later.


Uk_skinner,

Here everything is OK, too! No problems this time! I've got my three cities!

Timmy
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 05:15:06 PM
I've started with making new icons. Which number do you prefer? Do you have other wishes? Please, let me know!!!

(http://img119.exs.cx/img119/5987/wind52sb.jpg)


Timmy
Title: Visible winddirection
Post by: uk_skinner on January 20, 2005, 05:19:02 PM
Timmy:

  Just an idea.
  Can we just have a background image, like we did in the analogue clock.  We just have different "pointers" for different wind index.  Then just overlay the pointers on the background image.  In that way, you change background easily also the total size will much smaller, isn't it?
Title: Visible winddirection
Post by: Timmy on January 20, 2005, 05:25:50 PM
Quote from: "uk_skinner"
Timmy:

  Just an idea.
  Can we just have a background image, like we did in the analogue clock.  We just have different "pointers" for different wind index.  Then just overlay the pointers on the background image.  In that way, you change background easily also the total size will much smaller, isn't it?

Uk_skinner,

That's possible to do, I can make several backgrounds, also in several languages. Only the pointers for the different winddirections are in the other pics.

What does our Weatherman Broesel think of it?

Timmy
Title: Visible winddirection
Post by: jhollin1138 on January 20, 2005, 11:05:41 PM
I think it is time to move this thread over to "Developer's Corner".
Title: Visible winddirection
Post by: Broesel on January 21, 2005, 02:01:09 AM
Quote from: "Timmy"

That's possible to do, I can make several backgrounds, also in several languages. Only the pointers for the different winddirections are in the other pics.

What does our Weatherman Broesel think of it?


Yes, I think it's a good idea to only change the pointers and have
a background that can be changed. From your screenshots i like
Nr. 3 most. Nice work :)

Broesel
Title: Visible winddirection
Post by: Timmy on January 21, 2005, 02:23:49 AM
@jhollin1138,
Yes, this thread belongs in te Devellopers corner, and not here.


@Uk_skinner & @Broesel,
I follow your tip. I'll make several backgrounds, ready for English, German, Dutch and French.

@Uk_skinner and other members,
The minute-hand and the hour-hand works automatic in TodayPlus. Is this also possible with the winddirection-hand?!?

Timmy
Title: Visible winddirection
Post by: Broesel on January 21, 2005, 03:00:30 AM
Quote from: "Timmy"

@Uk_skinner and other members,
The minute-hand and the hour-hand works automatic in TodayPlus. Is this also possible with the winddirection-hand?!?


Sorry, Timmy, that doesn't work with a command, so you have to do
them manually. I suggest doing lt like you did with the complete graphics.
(Means the "winddirection-hands" have to be named like the var's)

Oh, and you need graphics for the other values for "var" (variable winddirections)
and "calm" (windstill in German) as far as we know for now. As I suggested to uk_skinner with
numbers like 999, 998 and so on ...

Greetings Broesel
Title: Visible winddirection
Post by: Timmy on January 21, 2005, 03:04:41 AM
Quote from: "Broesel"
Quote from: "Timmy"

@Uk_skinner and other members,
The minute-hand and the hour-hand works automatic in TodayPlus. Is this also possible with the winddirection-hand?!?


Sorry, Timmy, that doesn't work with a command, so you have to do
them manually. I suggest doing lt like you did with the complete graphics.
(Means the "winddirection-hands" have to be named like the var's)

Oh, and you need graphics for the other values for "var" (variable winddirections)
and "calm" as far as we know for now. As I suggested to uk_skinner with
numbers like 999, 998 and so on ...

Greetings Broesel

Thanks, Broesel. I'll do it that way.

Timmy
Title: Visible winddirection
Post by: uk_skinner on January 21, 2005, 06:07:30 PM
Broesel:

  I think I found my option 1).  The exe can be executed after weather information updated........ :wink:

  I need the suggestion/idea.  Because every user will have different exe tight to weather updating.  For example, USA users might need only TpRegistryWind (not for speed/visibility) to get wind index for Wind direction image.  And European users would like to have TpSkyTranslate too.  And I will try to get Translated Wind direction for French users.  I could put this delay mechanism in each of exe but that would be waste of space.  

  My idea is to break down into individual "modual/exe" then users can assign the modual they wish to run into a shortcut group (let's Apps9) in configure.  Then I can have a master exe to start all the exe after it detects weather information updateing finish.
Title: Visible winddirection
Post by: Broesel on January 22, 2005, 04:03:32 AM
Quote from: "uk_skinner"

  I think I found my option 1).  The exe can be executed after weather information updated........ :wink:


That's nice :D

Quote
I need the suggestion/idea.  Because every user will have different exe tight to weather updating.  For example, USA users might need only TpRegistryWind (not for speed/visibility) to get wind index for Wind direction image.  And European users would like to have TpSkyTranslate too.  And I will try to get Translated Wind direction for French users.  I could put this delay mechanism in each of exe but that would be waste of space.  

  My idea is to break down into individual "modual/exe" then users can assign the modual they wish to run into a shortcut group (let's Apps9) in configure.  Then I can have a master exe to start all the exe after it detects weather information updateing finish.


Well, you are totally right, English and US-Users won't need to translate
the weathertextes. I think that's a good idea, if the master-exe can be
configured to run several exe's.

It's really cool, what you do here  :lol:

Thanks for your affort
Broesel
Title: Visible winddirection
Post by: Timmy on January 22, 2005, 05:00:10 AM
Quote from: "uk_skinner"

  My idea is to break down into individual "modual/exe" then users can assign the modual they wish to run into a shortcut group (let's Apps9) in configure.  Then I can have a master exe to start all the exe after it detects weather information updateing finish.


@UK_skinner,

• Just for your information: the pics are ready, jhollin1138 made a new thread for them.
• Just for your information: I've tested your lasest .exe several times now. I didn't met problems, your .exe is very stabile ànd very fast!!
• Request NR. 1: I prefer a TOTAL.exe that can read our personal information in an .txt or .ini file. In that .txt or .ini file everybody can change his own preferences. You can upgrade later with several new features easely than, with no problems for the users.
• Request NR. 2: We are just in the beginning of doing these things. Maybe it's better to understand for new users if we change:
windir --> winddir
windsd --> windspeed
 

@Uk_skinner and @ Broesel,

My opinion about your latest .exes: I'm very glad with the things you've discovered last week!!! Really!!! First I need TodayPlus for the POOM, but here I have no further wishes. But second I use TodayPlus for weather, because I'm a real weather-freak, like Broesel... With the things you make ready, I can fullfill more weather-wishes. Thanks, Uk_skinner! And Broesel, our weatherman: also thanks for your good tips!

Timmy
Title: Visible winddirection
Post by: uk_skinner on January 22, 2005, 07:22:35 AM
Timmy:

   As for your request 1, yes, the TpExeDelay.exe will load the exe from a text file. The word change will be made in next update.
Title: Visible winddirection
Post by: Timmy on January 22, 2005, 08:09:01 AM
Quote from: "uk_skinner"
Timmy:

   As for your request 1, yes, the TpExeDelay.exe will load the exe from a text file. The word change will be made in next update.


Uk-skinner,

Maybe we mean the same things, but for the securety I'll explain what I mean in request 1. Because my request is broader/wider than only your TpExeDelay.exe  ...

I hope it will be possible to make a Total.exe that can do all the things (or as much as posible) you've made the last week, and maybe the coming period. So: a total programm, with as much of your new features (radar, registry, translations and so on) in it as possible.

But as we all live in different countries and all have different wishes, we only use the things of your Total.exe that we need or wish. We can arrange this in a Total.ini or Total.txt file. Your Total.exe is reading this information and does the things the user asked in the Total.ini or Total.txt file. This would be a nice feature for all TodayPluskinners!

I hope I explained well what my request is. Is this possible to do for you? Now or in the future?

Timmy
Title: Visible winddirection
Post by: uk_skinner on January 22, 2005, 08:17:44 AM
Timmy:

  Pardon my English...So...

  That is probably similiar thing what I did in TpExeDelay, I assumed you read the new thread I jus posted this morning (GMT-5).

  In this exe, it will load exe from the .txt file where you have all your exe you wish to be launched after weather information updated.  Radar.exe can be launched in thsi way although it is not necessary.

 Is this what you call total.exe?
Title: Visible winddirection
Post by: Timmy on January 22, 2005, 09:10:07 AM
Quote from: "uk_skinner"
Timmy:

  Pardon my English...So...

  That is probably similiar thing what I did in TpExeDelay, I assumed you read the new thread I jus posted this morning (GMT-5).

  In this exe, it will load exe from the .txt file where you have all your exe you wish to be launched after weather information updated.  Radar.exe can be launched in thsi way although it is not necessary.

 Is this what you call total.exe?


Uk_skinner,

Pardon me, too... The things are going too fast here the last week... I'll beter read your new thread!!!

Now I'm sure: we talk about the same thing.  Your intentions with TpExeDelay are the same as my intentions with Total.exe. But the word 'delay' did set me 'on my wrong leg' as we say in the Netherlands... Thanks for your explanation!

Timmy
Title: Visible winddirection
Post by: Timmy on January 27, 2005, 02:34:36 PM
 Broesel,

Thanks again for giving us the code:
http://www.jhollin1138.com/forums/viewtopic.php?t=1733&postdays=0&postorder=asc&start=40

Note: there must be one more 'endif', I think.

Thanks,
Timmy
Title: Visible winddirection
Post by: Timmy on January 27, 2005, 03:06:52 PM
Uk-skinner,

To give you the credits you deserve:

(http://img192.exs.cx/img192/3512/ukskinner7eg.gif)

All your .exe's are implemented in my skin now, and everything works fine!!!

Thanks,
Timmy
Title: Visible winddirection
Post by: Broesel on January 27, 2005, 03:24:26 PM
Quote from: "Timmy"
Broesel,

Thanks again for giving us the code:
http://www.jhollin1138.com/forums/viewtopic.php?t=1733&postdays=0&postorder=asc&start=40

Note: there must be one more 'endif', I think.

Thanks,
Timmy


Yes, you're right, there are 13 if's ,so there have to be 13 endif's
Thanks, I changed it in the original post.

Broesel
Title: Visible winddirection
Post by: uk_skinner on January 27, 2005, 03:44:12 PM
Timmy:

  Thanks  :oops: .
  Your skin looks great, maybe you should post it here as Timmyskin...
Title: Visible winddirection
Post by: thc on January 27, 2005, 05:45:15 PM
yes Timmy, you're right!

it's time to give credit for all people without whom tp would be died and buried..

Uk_skinner for all it's exe, Wichtel which gave a second breath at TodayPlus with Hammerskin, You for your graphics, Broesel and so many more...
Title: Visible winddirection
Post by: Broesel on January 28, 2005, 02:24:13 AM
Quote from: "thc"
it's time to give credit for all people without whom tp would be died and buried..



And not to forget ... without your's and jhollins find in the registry,
all this could not work as it does now :)

Broesel
Title: Visible winddirection
Post by: thc on January 28, 2005, 03:56:17 AM
thanks Broesel!  :oops:
Title: Visible winddirection
Post by: Timmy on January 28, 2005, 07:29:48 AM
@Broesel / @Uk_skinner,

I'm using this coding from Broesel to convert the visibility to km, in stead of miles:
Code: [Select]
load,city,%var0%
calcvar,var11,fromconfig,c%var0%vis
calcvar,var11,*,%var11%,1609
calcvar,var11,/,%var11%,1000
text,112,26,Zicht: ,l
text,138,26,%var11% km,l


But I noticed that the result is only 0 km. Does one of you know what's wrong in these textlines?!?

Timmy
Title: Visible winddirection
Post by: Broesel on January 28, 2005, 07:58:16 AM
Quote from: "Timmy"
I noticed that the result is only 0 km. Does one of you know what's wrong in these textlines?!?


Yes, I noticed that too sometimes, but first take a look at your cityx.txt
What is the value for vis there ? If there is no value, it will be "" and the
var will deliver 0.

The second problem is, that we can't calculate with decimalpoints in T+,
so the values are not really exact. I helped me with another formula,
so there come meaningfully values. And there can be other values like
999.00 what means, visibility is unlimited, so I use:

Code: [Select]

calcvar,var11,fromconfig,c%var9%vis
if,var,var11,,<1
text,203,152,< 1 km,r
else
if,var,var11,,=,999
text,203,152,unlimited,r
else
calcvar,var11,*,%var11%,1667
calcvar,var11,/,%var11%,1000
text,203,152,km,r
text,184,152,~%var11%,r
endif
endif


Greetings Broesel
Title: Visible winddirection
Post by: uk_skinner on January 28, 2005, 08:23:04 AM
May be I can put the calculation in exe then you can have decimal points, but this need to written into text not var. Let me know if you want to try this way.
Title: Visible winddirection
Post by: Broesel on January 28, 2005, 08:30:38 AM
Quote from: "uk_skinner"
May be I can put the calculation in exe then you can have decimal points, but this need to written into text not var. Let me know if you want to try this way.


Well, after some testing of the *.exe I think I have some wishes too,
but I have to think over some of them, so when I'm clear, i will contact
you if it's o.k.
And the result of the calculation don't have to be with decimal points
but if we get values like 9.9967 km it should be rounded to 10, so
the var is an integer again and can be stored as a var. I will give you my
thoughts, when your headache is gone :D :D :D

Broesel
Title: Visible winddirection
Post by: uk_skinner on January 28, 2005, 08:40:23 AM
Broesel:

  Sure no problem..
  Are you doing the same thing as me, try to increase the number of post???? :wink:  :lol:
Title: Visible winddirection
Post by: Broesel on January 28, 2005, 08:51:30 AM
Quote from: "uk_skinner"
Broesel:
Are you doing the same thing as me, try to increase the number of post???? :wink:  :lol:


Oooops, now I know, how it happened to you :oops:
But I can't delete on of the posts ?

Broesel
Title: Visible winddirection
Post by: uk_skinner on January 28, 2005, 08:56:58 AM
Done...... :wink:
Title: Visible winddirection
Post by: Timmy on January 28, 2005, 09:04:10 AM
Quote from: "uk_skinner"
May be I can put the calculation in exe then you can have decimal points, but this need to written into text not var. Let me know if you want to try this way.

Uk_skinner,

At this point I'm the geatest dummy of this board...  so I count totally on Broesels opinion! Let's wait on his conclusion.

Timmy
Title: Visible winddirection
Post by: Timmy on January 28, 2005, 10:26:35 AM
Quote from: "Broesel"
 
Code: [Select]

calcvar,var11,fromconfig,c%var9%vis
if,var,var11,,<1
text,203,152,< 1 km,r
else
iv,var,var11,,=,999
text,203,152,unlimited,r
else
calcvar,var11,*,%var11%,1667
calcvar,var11,/,%var11%,1000
text,203,152,km,r
text,184,152,~%var11%,r
endif
endif


Greetings Broesel

Broesel,

Note: typemismatch: iv --> if

Some difficulties to report:
•  I've tried this code, but I didn't get any text on my screen.
•  The same difficulties are with the conversion from miles to Beaufort: the result is only 0.

Any ideas how to solve these problems?!?

Timmy
Title: Visible winddirection
Post by: Broesel on January 28, 2005, 12:36:19 PM
Quote from: "Timmy"
 
Broesel,

Note: typemismatch: iv --> if


Yes, I typed it at work from the doc.file at the ppc


Quote
Some difficulties to report:
•  I've tried this code, but I didn't get any text on my screen.
•  The same difficulties are with the conversion from miles to Beaufort: the result is only 0.

Any ideas how to solve these problems?!?

Timmy


Not at the moment, I pm you my Email, so if you zip me your skin-file
I'll take a closer look o.k. ?

Broesel
Title: Visible winddirection
Post by: Timmy on January 28, 2005, 01:56:34 PM
Quote from: "Broesel"
Quote from: "Timmy"
 
Broesel,

Some difficulties to report:
•  I've tried this code, but I didn't get any text on my screen.
•  The same difficulties are with the conversion from miles to Beaufort: the result is only 0.

Any ideas how to solve these problems?!?

Timmy


Not at the moment, I pm you my Email, so if you zip me your skin-file
I'll take a closer look o.k. ?

Broesel


Broesel,

I mailed you my skinfile.

Thanks!
Timmy
Title: Visible winddirection
Post by: Broesel on January 29, 2005, 04:40:41 AM
Timmy, you got mail  :D

Broesel
Title: Visible winddirection
Post by: Timmy on January 29, 2005, 05:54:12 AM
Quote from: "Broesel"
Timmy, you got mail  :D

Broesel

Broesel,

Your mail arrived. I've tested your solutions on my PocketPc, and:
 everything is working fine now!
Thank you very much for your time and efforts!

I wouldn't ever have searched the problem there: blanks at the end of some textlines...

Thanks again!
Timmy
Title: Visible winddirection
Post by: uk_skinner on January 31, 2005, 03:56:25 PM
Timmy:

  Is there any way you could do things like this?

1)  In temperature, it is possible to have gradient just like the one we have in power and memory, right?

2) In the winds, we can have the number in the center of circle and red point to the direction.  And the text of wind direction at the bottom.  For European, you can put the "Beaufort" meter at the right.
Title: Visible winddirection
Post by: Timmy on January 31, 2005, 04:08:14 PM
Quote from: "uk_skinner"
Timmy:

  Is there any way you could do things like this?

1)  In temperature, it is possible to have gradient just like the one we have in power and memory, right?

2) In the winds, we can have the number in the center of circle and red point to the direction.  And the text of wind direction at the bottom.  For European, you can put the "Beaufort" meter at the right.


Uk_skinner,

It's a nice new idea!!!  But as I am a very slow skinner, give me some time to think about it. I'll give you the answer later, but it the first sight, I think that there are possibilities for your idea.

Timmy
Title: Visible winddirection
Post by: Broesel on February 01, 2005, 02:15:52 AM
Quote from: "uk_skinner"

1)  In temperature, it is possible to have gradient just like the one we have in power and memory, right?


There is no gradient for the temperature. The only thing i think we can
have is a horizontal bar with the temperature with the barmeter-command
(if the values for temperature are stored in a variable)

Code: [Select]
barmeter,<x>,<y>,<width>,<height>,<bar image>,<current value>,<minimum value>,<maximum value>


Quote
2) In the winds, we can have the number in the center of circle and red point to the direction.  And the text of wind direction at the bottom.  For European, you can put the "Beaufort" meter at the right.


Nice looking idea :)

Greetings Broesel
Title: Visible winddirection
Post by: Timmy on February 01, 2005, 03:25:11 PM
Quote from: "uk_skinner"
Timmy:

  Is there any way you could do things like this?
(http://www.jhollin1138.com/forums/files/1731159.gif)
1)  In temperature, it is possible to have gradient just like the one we have in power and memory, right?

2) In the winds, we can have the number in the center of circle and red point to the direction.  And the text of wind direction at the bottom.  For European, you can put the "Beaufort" meter at the right.


Uk_skinner,

• I can make a new sery of winddirectionbackground, as you can see in the atachement. Are there people interested in having them? Please, let me know!

•  Making a gradient pic for temperature isn't very hard to do, but what's hard to do for me is writing the right textlines. About a year ago Broesel had done things like this for the moonsize. I still use the textlines he wrote. So my suggestion is: first someone has to write the right textlines, then I make the right pics.

Timmy
Title: Visible winddirection
Post by: ZapMe1 on February 01, 2005, 03:30:03 PM
Hi Timmy,

It seems that you are the "Graphics_Master" !!   Just wondering if you can make a "Wind Speed" image that looks like your wind direction images, but has wind speed numbers, like an Odometer ???

What do you think ??  :D
Title: Visible winddirection
Post by: Timmy on February 01, 2005, 03:35:25 PM
Quote from: "ZapMe1"
Hi Timmy,

It seems that you are the "Graphics_Master" !!   Just wondering if you can make a "Wind Speed" image that looks like your wind direction images, but has wind speed numbers, like an Odometer ???

What do you think ??  :D


ZapMe1,

Happily, much things are possible!!! But as I can't look in your head to exactly understand what kind of pic you like: can you , please, post an example pic? Would be easier for me to work in the right direction. So, an example would be appreciated!!!

Timmy
Title: Visible winddirection
Post by: Broesel on February 01, 2005, 03:55:48 PM
Quote from: "Timmy"

•  Making a gradient pic for temperature isn't very hard to do, but what's hard to do for me is writing the right textlines. About a year ago Broesel had done things like this for the moonsize. I still use the textlines he wrote. So my suggestion is: first someone has to write the right textlines, then I make the right pics. Timmy


Well, I'll try my very best, but this will be hard to do, because we can't
have vertical bars for the temperature. Also the range in Celsius will be
hard to code into bars. But i will try to make horizontal bars, don't know,
if that looks good, but we will see ...

Quote

• I can make a new sery of winddirectionbackground, as you can see in the atachement. Are there people interested in having them? Please, let me know!


Yes, I'm interested to have some :oops:  Maybe somthing in blue/silver ?

Broesel
Title: Visible winddirection
Post by: ZapMe1 on February 01, 2005, 04:01:39 PM
Timmy,

My image ability is rough, but something like the pic here:
Title: Visible winddirection
Post by: ZapMe1 on February 01, 2005, 06:06:37 PM
Ok, I gave it a try !!  :oops:
Title: Visible winddirection
Post by: Timmy on February 02, 2005, 05:16:38 AM
Quote from: "ZapMe1"
Ok, I gave it a try !!  :oops:
(http://www.jhollin1138.com/forums/files/wind_test.gif)

Here's the announcement ...

... of a new pics artist, called ...

....  ZapMe1



ZapMe1, congratulations!
Timmy
Title: Visible winddirection
Post by: Timmy on February 02, 2005, 05:26:41 AM
Quote from: "ZapMe1"
Timmy,

My image ability is rough, but something like the pic here:


ZapMe1,

Now I understand what your thougts were!

But at the same time I have two questions for you: isn't the pointer confusing us, as you think automatic about winddirections/compass?!? And the second question: isn't it a aist of the screen space?!? Because there need to be another pic for the direction... I think uk_skinner had a better idea at this point: direction AND windspeed are in ONE pic!

What do you think?

Timmy
Title: Visible winddirection
Post by: Timmy on February 02, 2005, 05:32:58 AM
Quote from: "Broesel"
Quote from: "Timmy"

• I can make a new sery of winddirectionbackground, as you can see in the atachement. Are there people interested in having them? Please, let me know!

Yes, I'm interested to have some :oops:  Maybe somthing in blue/silver ?

Broesel


Broesel,

That's OK. I'll make some pics in different colours. I like uk_skinners idea, too.

Timmy
Title: Visible winddirection
Post by: Broesel on February 02, 2005, 11:23:53 AM
So this is, what I could do with the temperature-bar.

Don't know, if anybody finds that useful (Well maybe with a better graphic)

See the screenshot ...

Broesel
Title: Visible winddirection
Post by: rbg08 on February 02, 2005, 11:53:44 AM
Broesel, I like your new pop-up screen layout.  Makes me want to start skinning again. :wink:
Title: Visible winddirection
Post by: Broesel on February 02, 2005, 12:21:44 PM
Quote from: "rbg08"
Broesel, I like your new pop-up screen layout.  Makes me want to start skinning again. :wink:


Thanks rbg08, that is a skin I've been started long ago, but did not really
had time to finish it (Windows98-look and feel)

So now I'm using it to test all the new things uk_skinner gave us

 :D

Broesel
Title: Visible winddirection
Post by: Timmy on February 02, 2005, 12:46:22 PM
Quote from: "Broesel"
So this is, what I could do with the temperature-bar.

Don't know, if anybody finds that useful (Well maybe with a better graphic)

See the screenshot ...

Broesel


Broesel,

I was sure you could fix this, and now it's reality! Thanks for your efforts!!! It looks nice! Again a new feature!

Question: is there realy no way of making this vertical?!? Like the Wisbar Advance batterymeter?!?

Timmy
Title: Visible winddirection
Post by: Broesel on February 02, 2005, 01:42:07 PM
Quote from: "Timmy"

Question: is there realy no way of making this vertical?!? Like the Wiabar Advance batterymeter?!?


No, I can't do that with a barmeter, the only way, I could think off,
is a picture for every temperature (like the winddirection), so this
would work like winddir with a pic for every variable-value.
So if we assume a value in Celsius from -20 to + 40 that would be
60 pictures for that. I think, that is a little much stuff ?
Okay, if you won't have it that much accurate maybe wit a value every
2 degrees it would be about 30 pic's.

Greetings Broesel
Title: Visible winddirection
Post by: uk_skinner on February 02, 2005, 01:53:29 PM
Quote from: "Broesel"
Quote from: "Timmy"

Question: is there realy no way of making this vertical?!? Like the Wiabar Advance batterymeter?!?


No, I can't do that with a barmeter, the only way, I could think off,
is a picture for every temperature (like the winddirection), so this
would work like winddir with a pic for every variable-value.
So if we assume a value in Celsius from -20 to + 40 that would be
60 pictures for that. I think, that is a little much stuff ?
Okay, if you won't have it that much accurate maybe wit a value every
2 degrees it would be about 30 pic's.

Greetings Broesel


I was thinking that too.  But we need to get temperature into registry key, isn't it?
Title: Visible winddirection
Post by: ZapMe1 on February 02, 2005, 02:31:13 PM
(http://smileys.smileycentral.com/cat/4/4_1_72.gif)

Quote
Here's the announcement ...

... of a new pics artist, called ...

.... ZapMe1


ZapMe1, congratulations!
Timmy

(http://smileys.smileycentral.com/cat/36/36_11_6.gif)

Quote
ZapMe1,

Now I understand what your thougts were!

But at the same time I have two questions for you: isn't the pointer confusing us, as you think automatic about winddirections/compass?!? And the second question: isn't it a aist of the screen space?!? Because there need to be another pic for the direction... I think uk_skinner had a better idea at this point: direction AND windspeed are in ONE pic!

What do you think?

Timmy,

I do agree with you on both of the above questions !!   1) the pointers could be confusing...   2) I also like the idea of "speed" inside of the direction pic !!   Another great idea by the "Exe_Master"  (aka Uk_Skinner)
 :D
Title: Visible winddirection
Post by: Broesel on February 02, 2005, 02:35:35 PM
Quote from: "uk_skinner"

I was thinking that too.  But we need to get temperature into registry key, isn't it?


Yes, we do  8)

I created them with a registryeditor and putted values to test into them.

Greetings Broesel
Title: Visible winddirection
Post by: Timmy on February 02, 2005, 03:45:43 PM
Quote from: "Broesel"
Quote from: "Timmy"

Question: is there realy no way of making this vertical?!? Like the Wiabar Advance batterymeter?!?


No, I can't do that with a barmeter, the only way, I could think off,
is a picture for every temperature (like the winddirection), so this
would work like winddir with a pic for every variable-value.
So if we assume a value in Celsius from -20 to + 40 that would be
60 pictures for that. I think, that is a little much stuff ?
Okay, if you won't have it that much accurate maybe wit a value every
2 degrees it would be about 30 pic's.

Greetings Broesel


Broesel,

I'll put it on my To-do-list. But first I'm working out the new winddirection backgrounds. Hope to finish them this weekend.

By the way: I've just finished a  new serie of weather icons (http://www.todaysxtra.com/smf/index.php?topic=279.0). Hope, people like them!

Timmy
Title: Visible winddirection
Post by: Timmy on February 07, 2005, 02:25:47 PM
(http://www.jhollin1138.com/forums/files/1731159.gif)

@Broesel and @other members,

I was looking at the thermometer, too. But there are some problems. It's not possible to make ànd a little pic, ànd at the same time enough readable measure-lines. So it don't add no valuable things to the PocketPC screen, and it's only wasted space.

But nevertheless I'm willing to make a thermometer for the interested members. Please let me know if you're interested.

Timmy
Title: Visible winddirection
Post by: Broesel on February 07, 2005, 02:40:55 PM
Quote from: "Timmy"

@Broesel and @other members,

I was looking at the thermometer, too. But there are some problems. It's not possible to make ànd a little pic, ànd at the same time enough readable measure-lines. So it don't add no valuable things to the PocketPC screen, and it's only wasted space.

But nevertheless I'm willing to make a thermometer for the interested members. Please let me know if you're interested.

Timmy


Well, Timmy, I think for now it is not neccessary to make that pics
(well not for me of course), when I get time, I will test a little more
with the barmeter, we'll see ....

Thanks for asking
Broesel