• Welcome to TodayPlus Boards v2.
 

News:

No news is good news.

Main Menu

Last update

Started by joelw135, November 21, 2003, 01:49:42 PM

Previous topic - Next topic

joelw135

I am using slider ver 10, I would like to have the time of the last update on my screen.  I tried putting it on the weather screen, but not enougth space.  Is there a way to put it directly below or above the weather without interfering with the launcher on the bottom or the access button bar above (Date Bar). Thanks in advance.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

Yogiman

Hi,

I'm using SLider v10 too. Do you mean something like this ?



This one's easy just, combine this section with your own.

//=================================================
// REGION 0 - PAGE 0
//   Date section
//  Dimensions: 240 x 20
//=================================================
   region,0,0,-1
   defregion,0,0,0,240,20,1
   offset,offset_-1,offset_-1   
   offsetadd,0,4   
   image,2,-1,clock-today.png,t
   changefont,tahoma,12,b
   time,18,0,0,5,ls,l,
   changefont,tahoma,11,   
   text,190,-4,Update: ,l
   text,206,6,[updatetime],c,l
   changefont,tahoma,11,b
   offsetadd,0,16
   endregion,0,0

//=================================================
// REGION 14 - PAGE 0
//   Button popup
//   Vars Used : 26
//=================================================
Eat well, Stay fit, Die anyway...

joelw135

Thanks, I added this to mine and it seems to fit:

display last update time for current location
changefont,tahoma,8,b
text,8,50,Updated,l,HH:mm
changefont,tahoma,8,

display last update time for current location
changefont,tahoma,8,b
text,38,50,[updatetime],l,HH:mm
changefont,tahoma,8,
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

bbiederm

@Yogiman

Could you post your system part out of the skin file and attach the pics, too?

Thanks

joelw135

Here is the code, I have a screen shot but no place to post it. The time falls between Friday and Sat.

//=================================================
// REGION 0 - PAGE 0
//   Date section
//  Dimensions: 240 x 20
//=================================================
   region,0,0,-1
  defregion,0,0,0,240,20,2
  offset,offset_-1,offset_-1    
  offsetadd,0,4    
  image,5,-1,clock-today.png,t
  button,4,-2,18,18,0,4,1-highlight,0,14
  changefont,tahoma,14,b
  time,30,0,0,5,ls,l,
  offsetadd,0,16
  changefont,tahoma,11,    
  endregion,0,0


  region,0,1,-1
     defregion,0,0,0,240,20,2
     offset,offset_-1,offset_-1    
     offsetadd,0,4    
     image,5,-1,OwnerInfo.png,t
     button,4,-2,18,18,0,4,0-highlight,0,14
     changefont,tahoma,13,b
     text,30,0,%owner name%,l
     changefont,tahoma,12,
     text,130,1,%owner phone%,l
     offsetadd,0,16
     changefont,tahoma,11,    
  endregion,0,1

display last update time for current location
changefont,tahoma,9,b
text,81,3,[updatetime],l,HH:mm
changefont,tahoma,9
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

joelw135

Found a bug in my code.  The time disapears when you change a location such from home to london.  Is there a way to keep it visable?
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

arbitrajeu

Quote from: joelw135Found a bug in my code.  The time disapears when you change a location such from home to london.  Is there a way to keep it visable?
I'd imagine the problem will be that you've inserted the code into your skin file outside the top region of your skin.  So, when that region is refreshed it is overwritten.  You need to make sure it's between the region...endregion commands for the appropriate region.
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]

joelw135

Thanks, I got it working and now it is above the date bar.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

joelw135

As I understand the update time is the time that the weather screen is updated.  Is there a way to have the display in 12 hr format rather than 24hr format? Thanks.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

CoolWolf

Quote from: joelw135As I understand the update time is the time that the weather screen is updated.  Is there a way to have the display in 12 hr format rather than 24hr format? Thanks.
This is a matter of what time format string you are using for the [updatetime].

If you are using this
text,81,3,[updatetime],l,HH:mm
you may change it to something like this
text,81,3,[updatetime],l,hh:mm tt

PS:
You may also have a look in the Skin Reference Guide, as this is a very helpful resource ... :wink:
Bye,
CoolWolf
_________________
Calvin: "People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world."
Hobbes: "Isn't your pants' zipper supposed to be in the front?"

joelw135

Thanks Cool Wolf, If I was not so lazy I would have printed the docs out. I have had great luck with the slider skin, but the calender skin I have no luck at all.  I will wait till the version is complete, and the bugs killed then try again.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket