TodayPlus Boards v2

Programming and MOD Forums => Developer's Corner Discussion => Topic started by: uk_skinner on January 19, 2005, 04:58:09 PM

Title: Registry Key
Post by: uk_skinner on January 19, 2005, 04:58:09 PM
With Broesel and thc's idea, we can create the registry key that can be pulled out using calcvar code for number and text code for text.

Put information into registry key can be linked to update action.  

Anyone any idea how do we use this new feature?
:idea:

1)  I will try to look into stock quotation.  Except from yahoo, anyone knows a good source for quotation.  I know this is probably ask too much.   :oops:

2)  Timmy, did you ask about the "rainfall" information.  If you can find a source and we could try to put it in.

3)  I don't know anyone is still intersting or not.  If I can get the formula to calculation the elevation of the sun and I can let v.11 to have sun up and down.
Title: Registry Key
Post by: ZapMe1 on January 19, 2005, 05:34:46 PM
How about Weather Forecast "Text" !!   Something like you would see on the "Weather Channel" !!

Example:  Wednesday - Cloudy, with scattered snow showers in the afternoon.  Chance of snow 60%................ etc.

What do you all think ??
:?:
Title: Registry Key
Post by: thc on January 19, 2005, 05:58:52 PM
maybe this link?

http://money.excite.com/

http://money.cnn.com/markets/data/index.html

http://studio.financialcontent.com/Engine?Account=newsob
Title: Registry Key
Post by: uk_skinner on January 19, 2005, 06:23:32 PM
thc:

 Thanks.  

 Most of US site only provide 20 minute-delayed quote.  The only site I found is Yahoo realtime quote.  I am not a day trader, just would like to get quote as close as possible to realtime. If you have a good site over your place, this is also possible to be used for French users too.
Title: Re: Registry Key
Post by: Geezer on January 19, 2005, 06:26:24 PM
Quote from: uk_skinnerWith Broesel and thc's idea, we can create the registry key that can be pulled out using calcvar code for number and text code for text.

Put information into registry key can be linked to update action.  

Anyone any idea how do we use this new feature?
:idea:

1)  I will try to look into stock quotation.  Except from yahoo, anyone knows a good source for quotation.  I know this is probably ask too much.   :oops:

2)  Timmy, did you ask about the "rainfall" information.  If you can find a source and we could try to put it in.

3)  I don't know anyone is still intersting or not.  If I can get the formula to calculation the elevation of the sun and I can let v.11 to have sun up and down.

Oh YES!  I would imagine everyone would be interested in this feature.
Title: Registry Key
Post by: Wichtel on January 20, 2005, 01:28:40 AM
I Agree. My To Do list get´s longer and longer (http://www.kiki-net.de/smilies/diverse/spammer.gif)
Title: Registry Key
Post by: nas on January 20, 2005, 06:33:51 AM
@ uk_skinner

I am interested to get the Reg-Code (Number) from the PPC into a var.
May be it will be possible to steer my PPC, the PPC of my wife
and the PPC of my daughter with one skin (today I have three).

nas
Title: Registry Key
Post by: Broesel on January 20, 2005, 06:59:29 AM
Quote from: nas@ uk_skinner

I am interested to get the Reg-Code (Number) from the PPC into a var.
May be it will be possible to steer my PPC, the PPC of my wife
and the PPC of my daughter with one skin (today I have three).

nas

I think, it is not neccessary to get that code via an exe file into everyones
PPC. Create e Reg-Key via Regedit in every PPC under:
HKCU\Software\SRSSoft\TodayPlus\var
f.ex. ppcid and set the values to 1 in the first, 2 in the second, 3 in the
third PPC. Get it in the skin by command: calcvar,varx,fromconfig,ppcid
and make your if...then-statements with this var in your skin.

Greetings Broesel
Title: Registry Key
Post by: nas on January 20, 2005, 07:19:03 AM
Thank you, Broesel, works.

nas
Title: Registry Key
Post by: Broesel on January 20, 2005, 07:31:05 AM
Quote from: nasThank you, Broesel, works.

nas

Fine, thanks for the message :)

Broesel
Title: Registry Key
Post by: uk_skinner on January 20, 2005, 09:34:04 AM
Timmy, Broesel:

 exe sent, please check your email.

Timmy:

 I saw your question at BH regarding temperature chart.  I think we possible can do it with this new discovery.  It is possible to plot, let's say, past 10 updated high/low temperature in a chart.  It also can show you the time point at x-axis.  But I don't know we can plot the line or not.   :?:
Title: Registry Key
Post by: thc on January 20, 2005, 10:09:38 AM
Quote from: uk_skinnerthc:

 Thanks.  

 Most of US site only provide 20 minute-delayed quote.  The only site I found is Yahoo realtime quote.  I am not a day trader, just would like to get quote as close as possible to realtime. If you have a good site over your place, this is also possible to be used for French users too.

your welcome!

i'll take a look...
Title: Registry Key
Post by: Timmy on January 20, 2005, 12:58:27 PM
Quote from: uk_skinnerTimmy:

I saw your question at BH regarding temperature chart.  I think we possible can do it with this new discovery.  It is possible to plot, let's say, past 10 updated high/low temperature in a chart.  It also can show you the time point at x-axis.  But I don't know we can plot the line or not.   :?:

Uk_skinner,

Here's an URL with much good information:
(http://img133.exs.cx/img133/7931/utrecht9ca.jpg)

I specially like
• the high and low temperature in a chart for five days
• how much mm rain we can expect
• winddirection and windpower in beaufort (bft)

I think with your new feature that there are may things possible now!!!

Timmy
Title: Registry Key
Post by: uk_skinner on January 20, 2005, 01:08:54 PM
Timmy:

  If you meant the 5 day-forcast in a chart, then this can be done in TP without any tweak.  I thought that you would like to keep tracking the temperature for the day.  In other words, trying to save the temperature from the past updated information and display on a chart to see the trand of increase or decrease.

 And I need a site you can get the "predict" rainfall then I will see I can download the information and pull them out into registry key.  I will try go to that site but I don't understand the language.  What is the word for "rainfall"?
Title: Registry Key
Post by: Timmy on January 20, 2005, 01:20:34 PM
Quote from: uk_skinnerTimmy:

  If you meant the 5 day-forcast in a chart, then this can be done in TP without any tweak.  I thought that you would like to keep tracking the temperature for the day.  In other words, trying to save the temperature from the past updated information and display on a chart to see the trand of increase or decrease.

 And I need a site you can get the "predict" rainfall then I will see I can download the information and pull them out into registry key.  I will try go to that site but I don't understand the language.  What is the word for "rainfall"?

Uk_skinner,

Sorry, I wasn't clear enough... I was thinking about the sebveral things that were written on the board today ànd I was typing in the same time...

1) I meant the 5 day-forcast in a chart. You say that this can be done in TP without any tweak. I don't know how, but that's a question for another time.
2) Some translations:
Kans op zon --> chance to have sun in %
Kans op neerslag --> precipiation % (R)
neerslag hoeveelheid --> rainfall
minimum temp. --> low temp
maximum temp. --> high temp
windrichting & -kracht --> winddirection & windpower

Timmy
____________________________________________________________
PS
I don't know everybody knows,
but this registry-key edittor Uk_skinner made, is a real great discovery, which makes it possible to do very much new things with TodayPlus.
Thanks Uk_skinner for your work!!
Thanks Broesel for your tip!!

Title: Registry Key
Post by: uk_skinner on January 22, 2005, 09:52:02 AM
Quote from: Timmy
Quote from: uk_skinnerTimmy:

I saw your question at BH regarding temperature chart.  I think we possible can do it with this new discovery.  It is possible to plot, let's say, past 10 updated high/low temperature in a chart.  It also can show you the time point at x-axis.  But I don't know we can plot the line or not.   :?:

Uk_skinner,

Here's an URL with much good information:
(http://img133.exs.cx/img133/7931/utrecht9ca.jpg)

I specially like
• the high and low temperature in a chart for five days
• how much mm rain we can expect
• winddirection and windpower in beaufort (bft)

I think with your new feature that there are may things possible now!!!

Timmy

Timmy, looks like there is a possibility to get your raindrop from here.
Title: Registry Key
Post by: Timmy on January 22, 2005, 10:24:56 AM
Quote from: uk_skinnerTimmy, looks like there is a possibility to get your raindrop from here.

Uk_skinner,

You mean the 'precipitate quantity' (neerslag hoeveelheid')?!? I stop asking: "How do you fix that?!?" but I can only say: 'I admire it!

Note: 'Utrecht' is not the town where I live, because I don't want the www-public to know in what beutiful little village I exactly live...  But you can get it, if you need it for your .exe  .

Timmy
Title: Registry Key
Post by: uk_skinner on January 22, 2005, 10:26:35 AM
Can you post a link where I can get the information of your town?
Title: Registry Key
Post by: Timmy on January 22, 2005, 10:29:44 AM
Quote from: uk_skinnerCan you post a link where I can get the information of your town?

Uk_skinner,

My wife just asked me to drink coffee with her, but after that I'll immediately look up the needed information and mail it.

EDIT: Done!

Timmy
Title: Registry Key
Post by: uk_skinner on January 23, 2005, 10:27:20 PM
Timmy:

 I have been trying to see I can download that information as text file from the site your provide without any luck.   :wall:  :wall:

 Do you have any other site that will provide you the raindrop information?  

For users who wish to download the detail weather information into TP, please post a site contains the information you would like and I will see what I can do about it.

For USA users, I have one can extract the detail local weather information from weather.yahoo.com (thanks  ZapMe1 to find the site).  I will try to finish in next couple of days.  The information will be put into registry key and you can access within TP using the text code.  Here is an example link:
http://weather.yahoo.com/forecast/USMD0347.html

At this moment, I only can download it as text using EzDownload.  If you have othe link, please try to use radar.exe or EzDownload to make sure it can be downloaded as text file and information is till intact in it.

For Erupean users, I believe you also got yahoo sites in most country.  If you have the similiar page, you can also post an example link here.  Thanks.
Title: Registry Key
Post by: Timmy on January 24, 2005, 04:42:54 AM
Quote from: uk_skinnerTimmy:

 I have been trying to see I can download that information as text file from the site your provide without any luck.   :wall:  :wall:

 Do you have any other site that will provide you the raindrop information?  

Uk_skinner,

Thanks for your work!!

I'm going to look for other URL's. let you know if I find another one.

Timmy
Title: Registry Key
Post by: thc on January 24, 2005, 07:05:40 AM
uk_skinner,

if i understand, you can extract  météo information to another site than msnbc and import theses infos into tp via the registry, like HKCU\Software\SRSSoft\TodayPlus\text. right?
in this case, not need to translate the city1.txt and make var to convert mph to kph...and just need one or maybe 2 exe?

can you see with http://fr.weather.com/weather/local/FRXX0076
or
http://fr.weather.yahoo.com//FRXX/FRXX0076/index_c.html.

@+, thc
Title: Registry Key
Post by: uk_skinner on January 24, 2005, 07:29:41 AM
thc:

Yes, in prinicple, you can do th these two things:

1) Go to the other weather source and extract the information and create the city.txt just like the one we got from MSNBC.  You still can use the weather code in TP.  That is my backup plan if for some reason, MSNBC no longer provide this service.  Or as you point out, in fact we can totally change the contents to other language/unit.

2) Extract the addtional weather information (such as raindrop prediction, or detail local weather description and put it into registry key.  And access them through text code.

When I looked the source of the yahoo site you provided, I did see the text of weather information were there, it should be possible to extract them out.

I believed MSNBC weather information also is from weather.com, right?  So the information should be the same.   But looked like yahoo's information is more udapted than MSNBC.  I will look the possibility to see I can have a one to extract the information from yahoo.  But since every language is different, the key words for extraction will be different too.
Title: Registry Key
Post by: thc on January 24, 2005, 09:39:03 AM
That's a good news!
as i can see Yahoo.com weather information is from Weather.com too...
and Weather.com has five other site in located language, Brazil, France,Germany,Latin America and United Kingdom...
i'm not good as you, but if i can help, i'll do it!

@+, thc

p.s: you are the future of TodayPlus!  :wink:
Title: Registry Key
Post by: uk_skinner on January 24, 2005, 09:52:59 AM
Thanks, I don't know how far future we can go without supporting from srs.

I have problem, again to download the text contents from weather.com neither by radar.exe nor by EzDownload.  Maybe I was looking the wrong url:

http://www.weather.com/activities/other/other/weather/tenday-details.html?locid=20850

thc, if you could try to use either http downloading exe on the PPC and try to see you can get html page saved in txt from French weather.com site.  Open as text file to see the weather information are captured.
Title: Registry Key
Post by: Timmy on January 24, 2005, 11:22:14 AM
Uk_skinner,

(http://img186.exs.cx/img186/3795/neerslag8sc.jpg)
I've found another URL with the rainfall feature. Can you use this one? If the answer is yes: can you gave them the names I typed in red?

Timmy

EDIT 1: UK_skinner, I used ImageShack for the upload, but you said it failed. Now I make an attachement.

EDIT 2: "Sorry, you have reached your maximum Upload Quota Limit of 2 MB' the board says... Big problem for me...
--> I'll mail the image to you!
Title: Registry Key
Post by: uk_skinner on January 24, 2005, 11:29:21 AM
For some reason, the image was not shown.. Any idea?
Title: Registry Key
Post by: ZapMe1 on January 24, 2005, 02:12:39 PM
QuoteEDIT 2: "Sorry, you have reached your maximum Upload Quota Limit of 2 MB' the board says... Big problem for me...

Timmy,

UK has just helped me with this same problem...  You can go to the Main Forum Index Page, and click on your name on the botton of the page..  That will take you to Your Profile page..  Then, at the bottom / right of the box, click on user attachment control panel...  There you can delete some of your old attachments, and lower your upload usage !!!   :D
Title: Registry Key
Post by: Timmy on January 24, 2005, 02:21:22 PM
Quote from: ZapMe1
QuoteEDIT 2: "Sorry, you have reached your maximum Upload Quota Limit of 2 MB' the board says... Big problem for me...

Timmy,

UK has just helped me with this same problem...  You can go to the Main Forum Index Page, and click on your name on the botton of the page..  That will take you to Your Profile page..  Then, at the bottom / right of the box, click on user attachment control panel...  There you can delete some of your old attachments, and lower your upload usage !!!   :D
ZapMe1,

Thanks for your Tip!!

Timmy
Title: Registry Key
Post by: uk_skinner on January 24, 2005, 02:28:48 PM
Tiimy:  No luck for this one too.  If I used the brower and saved as a text file, then I could see the data.  But I can not even download it to my device using this url.  I will try to see I can find other way around.
Title: Registry Key
Post by: Timmy on January 24, 2005, 03:06:48 PM
Quote from: uk_skinnerTiimy:  No luck for this one too.  If I used the brower and saved as a text file, then I could see the data.  But I can not even download it to my device using this url.  I will try to see I can find other way around.

Uk_skinner,

Thanks for the time you gave to this problem, but don't spend too much time to this problem!!! I'll look if there are another URL's...

Timmy