• Welcome to TodayPlus Boards v2.
 

Hours of Daylight

Started by dgmele, April 25, 2005, 01:13:42 PM

Previous topic - Next topic

dgmele

Thanks once again, Broesel. It works!

Now, to try ZapMe1's autoupdate routine so that I don't have to tap.

dgmele

ZapMe1,

I would prefer to have AutoImgDL02.exe point to \Program Files\TodayPlus\TpExeDelay.exe.

Thanks.

ZapMe1

QuoteZapMe1,

I would prefer to have AutoImgDL02.exe point to \Program Files\TodayPlus\TpExeDelay.exe.

Thanks.
No problem..  I'll modify the file when I get home from work today !! :)
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

ZapMe1

Quote\My Documents\Radar\Radar.exe
\My Documents\Radar\Suntime.exe
dgmele,

Ok, here is what we have !

1.  TPexeDelay will look for the "Process", which is TP updating weather / rss, and will run when the process is complete..  For this reason, TPexeDelay can only be used with a "Manual Update Sync" !!  If you already added the code to your skin, then this should work fine for you !!

2.  If you want to use the Auto-Update process as I described above, then you need to run Radar.exe & Suntime.exe by themselves !!  You quoted above that you had these 2-files in \my documents\radar..   I setup a new "AutoImgDL02_dgmele.exe", that will run Radar.exe & Suntime.exe when an internet connection is enabled, and used with PHM AutoPlay as described in the thread above...   I also added a 25 sec delay to the start of the AutoImgDL02_dgmele.exe, to give your device the needed time to acknowledge & load the internet settings !!

I hope that wasn't all too confusing !! :knownot:

Good Luck..  Let me know if it all works for you !!!  :D
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

dgmele

ZapMe1,

Thank you so much.

Unfortunately, I discovered after your generous expenditure of time and effort that since my PPC is connected to my computer via ActiveSync while I am connected to the internet and since my update time is indeterminate PHM AutoPlay will not serve my purpose.

I'll just have to manually tap refresh unless or until someone comes up with an alternative. Not too much of a hassle, since it really is only necessary to do once a day—sunrise, sunset, and daylength data do not change until 12 AM.

I have downloaded the file you made, however, and may find it useful in some other way.

My apologies—and thanks again.

ZapMe1

No Problem !!  :D

It may come in handy sometime ....
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

pcweenie

ZapMe - this all sounds terrific, but it's also Greek to me.
When you launch the new Uniskin qvga, will all of these extra programs and updates be included in it?  That would make it much simpler for those like me with limited skinning ability.
Thanks,
Dori

ZapMe1

Quote from: pcweenieZapMe - this all sounds terrific, but it's also Greek to me.
When you launch the new Uniskin qvga, will all of these extra programs and updates be included in it? That would make it much simpler for those like me with limited skinning ability.
Thanks,
Dori
Hi pcweenie,

Uniskin 2.0 VGA has all of the current additions and .exe's that we've added over time..  The QVGA version will also have all the same.. I'm getting there, a little bit at a time !!  :wink:
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

MJ

I have worked through some problems I was having getting suntime.exe to run.  Now my cityx.txt is getting the three new fields, the registry is properly updating and my screen shows the three new titles of Rise:, Set: and Visibility:, but the values do not show.

Any ideas?

ZapMe1

Hi MJ,

Have you made the changes in the skin code just as eemond has shown in the middle of the first page of this thread ??
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

MJ

ZapMe1,

I should have been more clear in my initial explination, but yes I did that part.  That led to the three headings showing up, there are just no values.  I have double checked the code to verify, but yes it is there just like in the post.

MJ

ZapMe1

MJ,

If you are seeing the values in the city.txt, and the registry, it sounds like you should be there !!
Try to 're-load' the plugin, and see if that works..  If not, then maybe you could post your skin code, and I can take a look !!  :D
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

MJ

Tried a reload, still did not do it.  Here is the section of my code from the skin:

               //===================================
   //SUN DEATAILS
   //===================================

   image,3,31,sun.png,t
   //suntime,%var9%,sunrise,official,38,31,HH:mm,Rise:     ,,l
               text,38,31,Rise:,l
   text104,31,%City%var9%Sunrise%,r
   //suntime,%var9%,sunset,official,38,41,HH:mm,Set:      ,,l
   text,38,41,Set:,l
   text104,41,%City%var9%Sunset%,r
   //suntime,%var9%,daylength,official,38,51,HH:mm,Length: ,,l
   text,38,51,Visibility:,l
   text104,51,%City%var9%DayLength%,r

It you need to see the whole skin let me know.  I will upload the whole file.

ZapMe1

MJ,

Ok, the first thing I see is that you are missing "commas" !!  I corrected this below..  That may have caused it not to display !!  Try to add them, and let me know what happens !!

//===================================
//SUN DEATAILS
//===================================

image,3,31,sun.png,t
//suntime,%var9%,sunrise,official,38,31,HH:mm,Rise: ,,l
text,38,31,Rise:,l
text,104,31,%City%var9%Sunrise%,r
//suntime,%var9%,sunset,official,38,41,HH:mm,Set: ,,l
text,38,41,Set:,l
text,104,41,%City%var9%Sunset%,r
//suntime,%var9%,daylength,official,38,51,HH:mm,Length: ,,l
text,38,51,Visibility:,l
text,104,51,%City%var9%DayLength%,r
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

MJ

Thanks, that did it.  The commas were not in the post on page one of this thread.  Maybe I missed reading that update.  I jsut copied and pasted originally from that post.