• Welcome to TodayPlus Boards v2.
 

Hammerskin Help

Started by rbishop, November 02, 2004, 10:21:43 AM

Previous topic - Next topic

rbishop

Can someone help? I'm using zapme1's modified hammerskin.  I commented out the Newsticker section on the main page, so I would have more appt's. But sometimes when it automatically refreshes, I get this overlapping. It clears up when I press the refresh button. Any suggestions?

uk_skinner

Let me guess..

Use cleararea codes at beginning of agenda region in the main page.   :wink:  If it does not do the trick, please post the skin here (at least the agenda region at mian page).

rbishop

You're post got me to thinking. I looked in the beginning of the agenda section for the clearregion command and I saw..

defregion,5,0,126,209,60

while the outlook command said

outlook,4,126,203,141,0,0,228,,,5

so I changed the "60" to "141".

Looks like that fixed it. Thanks for the quick reply.

brewabel

Picked up my PPC this morning and found that my icons are cut in half. Anyone have an idea of what might have cause that?  Was fine yesterday.

Here's the code from the agenda and shortcut section:

   //=======================================
   // Heading for Agenda
   //=======================================

   image,4,113,headline.png
   color,font,0_0_0
   text,25,113,Agenda,l
   color,font,-1_4_-1

   //=======================================
   // Program Shorcuts
   //=======================================

   imagebutton,4,246,icon_button.png,t,-1,0,%apps-1-1
   shortcut,4,246,apps-1-1,s

   imagebutton,27,246,icon_button.png,t,-1,0,%apps-1-2
   shortcut,27,246,apps-1-2,s

   imagebutton,50,246,icon_button.png,t,-1,0,%apps-1-3
   shortcut,50,246,apps-1-3,s

   imagebutton,73,246,icon_button.png,t,-1,0,%apps-1-4
   shortcut,73,246,apps-1-4,s

   imagebutton,96,246,icon_button.png,t,-1,0,%apps-1-5
   shortcut,96,246,apps-1-5,s

   imagebutton,119,246,icon_button.png,t,-1,0,%apps-1-6
   shortcut,119,246,apps-1-6,s

   imagebutton,142,246,icon_button.png,t,-1,0,%apps-1-7
   shortcut,142,246,apps-1-7,s

   imagebutton,165,246,icon_button.png,t,-1,0,%apps-1-8
   shortcut,165,246,apps-1-8,s

   imagebutton,188,246,icon_button.png,t,-1,0,%apps-1-9
   shortcut,188,246,apps-1-9,s

   image,2,240,dotted_line.png,tr

endregion,2,0


//////////////////////////////////////////////////////////////////////////
// MAINPAGE END
/////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////////////////////
// REGION 5 AGENDA DISPLAY FOR MAINPAGE
//////////////////////////////////////////////////////////////////////////

region,5,0,-1
   defregion,5,0,128,206,128,1

   options,calendarfilter,1
   options,taskfilter,1
   
   options,dateformat,3,15,18,%changefont,tahoma,11,%%line,203,10,-1_4_-1%%bold%%date,l%%regularfont%
   options,today-text,'Today', dd. MMMM  yyyy
   options,tomorrow-text,'Tomorrow', dd. MMMM  yyyy

   options,apptformat,0,11,13,%iconstart,tr%%changefont,tahoma,11,%%image,0,2,small_arrow_right.png,tr%%tab,7%%starttime,HH:mm%%tab,40%%subject%%regularfont%

   options,apptallday,0,11,13,%iconstart,tr%%changefont,tahoma,11,%%textcolor,0_128_0%%image,0,2,small_arrow_right.png,tr%%tab,7%All Day%tab,40%%subject%%regularfont%%resettextcolor%

   options,taskformat,0,11,13,%iconstart,tr%%changefont,tahoma,11,%%checkbox,0,0,12,12,dot.png,dot1.png,t%%tab,10%[%enddate,dd/MM%]%tab,40%%subject%%regularfont%

   options,taskoverdue,0,11,13,%textcolor,200_0_0%%iconstart,tr%%changefont,tahoma,11,%%checkbox,0,0,12,12,dot.png,dot1.png,t%%tab,10%[%enddate,dd/MM%]%tab,40%%subject%%regularfont%%resettextcolor%


options,taskcomplete,0,11,13,%iconstart,tr%%changefont,tahoma,11,s%%checkbox,0,0,12,12,dot.png,dot1.png,t%%tab,10%[%enddate,dd/MM%]%tab,40%%subject%%regularfont%

   options,blanktext,-1,11,13

   outlook,4,128,206,128,0,0,228,,,5
   button,4,128,12,64,-1,24,nohighlight,5
   changefont,tahoma,12

// Angabe der calendar week (KW) of the year

      calcvar,var33,firstoutlookday

   if,var,var31,,<,38357
         //Jahr 2004
         addvar,var33,-37977
   else
      if,var,var33,,<,38720
         //Jahr 2005
         addvar,var33,-38341
      else
         if,var,var33,,<,39084      
            //Jahr 2006
            addvar,var33,-38705
         else
            //Jahr 2007
            addvar,var33,-39076
         endif
      endif
   endif

   calcvar,var32,/,%var33%,7

   changefont,tahoma,10b

   text,205,128,%var32%th Week,r
   
   changefont,tahoma,12

endregion,5,0

ZapMe1

QuotePicked up my PPC this morning and found that my icons are cut in half. Anyone have an idea of what might have cause that? Was fine yesterday.
Hey Brewabel, Welcome back !!  Haven't seen you here in a while ! :D

Looking at your screenshot, it appears that you have an additional appointment that may not have been there yesterday !  It looks like your agenda region is too long and covering up your icons !!

Try adjusting the "height" value in the Outlook code:

outlook,4,128,206,128,0,0,228,,,5

See if that does the trick !!  :approve:
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"

brewabel

Zap,

Good to be back. Had to take a little hiatis with the whole house build and all.

Tried what you suggested and still have the same problem.  I even shrunk it up to:

outlook,4,128,206,64,0,0,228,,,5

with no luck.  That's what baffling me.  One day it was fine, the next the icons were cut in half.  I know it's got be be something I configured, but for the life of me can't figure it out.

I attached my txt file, maybe you can find something and try it out yourself.

jhollin1138

Quote from: brewabelGood to be back. Had to take a little hiatis with the whole house build and all.
Not to go off topic, but how did everything go?
Jim H

brewabel

Went pretty good. We moved in at the end of September and started getting settled in.

Took forever to get phone and internet was something else all together.  I now have Wireless Internet or Point to Point here.  Getting some pretty good speeds, so I'm sticking my feet back in the water.  I've lurked for a couple days and it's good to see a lot of familiar faces.

ZapMe1

Ok Brew, here ya go !!  This fixed it on my machine !!

Change to:

region,5,0,-1
   defregion,5,0,128,206,115,1


And in the same Region, change:

outlook,4,128,206,120,0,0,228,,,5

Then do a soft reset...

That should do it !!   :approve:

You can adjust these two numbers a little more if needed !!

Let me know...... :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"

brewabel

Zap,

That did the trick, thanks.

Since we're pretty much in the same town, do you by chance have your radar pics setup?  Need to get those going as well.

ZapMe1

Hi Brew,
I'm attaching the radar.txt file that I've been using !!  If your using the radar.exe that Wichtel released with HammerSkin, then you can use the attached file..
But I also use my SD card for my TP stuff, and the path in the .txt file points at \storage card2.....   If your setup is different, then you'll need to change this !!

In the txt file are:
* National Satellite
* Regional Satellite
* National Radar
* Regional Radar
* Local (OH) Radar
* 4-Stock pics that Wichtel supplied

The downloaded pics are pda size (234x175)... They are from Accuweather.com

Enjoy.....   Hey, did you catch the OSU / Michigan Game ?  
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"

brewabel

Zap,

Think the text file didn't make it.

So here's yet another question.  Does your sunrise/sunset times come out correctly?  Mine are showing like midnight and noontime.  I know I'm living in the north now, but it's not that far north :)

ZapMe1

Duh... :oops:  Sorry, I guess to send an attachment, you have to add it to the post !!

Yes, my sunrise / sunset is accurrate !!  I'll get the Long / Lat numbers, and post them as soon as I find them...   (It's been a long day !!!!)
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

Here ya go Brew,

This is a site to find Long / Lat for anywhere in the US (maybe the world)..

Here is what I have also:
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"