TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: hakeashar on November 01, 2003, 06:43:09 PM

Title: Default Power-on Items
Post by: hakeashar on November 01, 2003, 06:43:09 PM
Hi, I wanted to know where the setting is for what gets displayed during a power on. I tried to search for a poweron command but didn't get a result. I want to remove the weather's poweron status and just have the battery display after a soft-reset. Right now, I get scrollbars from another plugin that takes up alot of room. :? (Notestoday)

I am using version 0.9.8 and a slightly modified slider.txt skin.

Thanks.
Title: Poweron Items
Post by: posprg on November 01, 2003, 10:35:59 PM
I am looking at this as well execpt that I do not want the Memory/Battery to display upon power on or each time my theme rotates.
Title: Default Power-on Items
Post by: cliffoj1 on November 02, 2003, 12:09:08 AM
I think what you want can be found in the skin file you are using.  There is an earlier post that helped me with this subject.  It was on page two of the Help and Support area with the heading "Owner Info Poping Up"


http://www.dark-mojo.com/TodayPlus/viewtopic.php?t=178

Hope this helps...

JAC
Title: Default Power-on Items
Post by: Blazingwolf on November 02, 2003, 01:13:17 AM
The line you need is found in the skin files and looks like these : initregion,0,0
initregion,1,0
initregion,4,999
initregion,10,999
initregion,8,0
initregion,11,999
initregion,14,999

The lines with a 0 at the end will launch on power up. The lines with a 999 at the end will not launch on power up. For example the weather is region 1 (default slider skin). With it listed as 999 it  will not come on when you power on.
Title: Default Power-on Items
Post by: hakeashar on November 02, 2003, 01:23:16 AM
Unfortunately in 0.9.8 version of slider.txt there's no reference to poweron, tried that already.  :(  

I was reading another post about defregion and when it is used. I'm now  wondering if something "like" poweron is invoked when this refresh happens.
Title: Default Power-on Items
Post by: srs on November 02, 2003, 01:25:32 AM
initregion only gets executed when the plugin is initially loaded not on each power on event.

The plugin will be reloaded when
a) You go to settings / today / click ok
b) soft reset

poweron events occur when the ppc is switched back on after being off.
Title: Default Power-on Items
Post by: hakeashar on November 02, 2003, 01:28:20 AM
Whoa, that's fast! ok thx, time time process with my cottage cheese brain. I've been studying all day.  :P
Title: Default Power-on Items
Post by: Blazingwolf on November 02, 2003, 01:28:51 AM
srs, thank you for the correction. This should still work right? At least I don't get the weather again after soft resets.
Title: Default Power-on Items
Post by: srs on November 02, 2003, 01:30:44 AM
yes, what you posted is correct, except for the confusion over poweron events and when the plugin gets reloaded.
Title: Default Power-on Items
Post by: hakeashar on November 02, 2003, 01:51:09 AM
It works but now I think I have to tweak the defregions. Some of the scrollbar is left behind as a black bar in my date field.

Thanks for clarifying those two, I'll try and use poweron for an owner page after I clean things up.

I'll also post my skin when it is at a presentable stage.  :roll: