TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: okwei2000 on February 12, 2004, 02:00:29 AM

Title: Lunch program by clicking on date
Post by: okwei2000 on February 12, 2004, 02:00:29 AM
I just install todayplus and using the default skin, is it possible to modify the skin so that i can lunch my own program by clicking on the date region?

Thanks.
Title: Lunch program by clicking on date
Post by: Broesel on February 12, 2004, 02:21:14 AM
Yes, this is possible,
first you have to create shortcut-groups in the config.exe:

apps-1
apps-2
apps-3
apps-4

these are used by the launcher. You can create shortcuts in this groups
and name them how you like.

Then you have to make a 5th group:
apps-5
add a shortcut to apps-5 with the program you want to launch !

Now you have to modify the slider.txt (Region 0):
look for:
//=================================================
// 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,Frutiger Linotype,15,b
          time,30,-2,0,5,ls,l,
          changefont,Frutiger Linotype,11,         
          offsetadd,0,16
          endregion,0,0

insert a command before the image,2,-1,clock.......

button,0,0,240,20,-1,0,%apps-5-1

Now the whole Date-section is a button to click and launch your program.

Greetings Broesel
Title: Lunch program by clicking on date
Post by: okwei2000 on February 12, 2004, 02:37:40 AM
Thanks so much,  :lol:

It works great, it doesnt have to be in app5, i put it in app4.
Title: Lunch program by clicking on date
Post by: Broesel on February 12, 2004, 02:43:08 AM
That's right, you can use what apps-x you want, but it than also
appears in the laucnher at that position (didn't realize, that this could
be wanted  :oops: )

Greetings Broesel