• Welcome to TodayPlus Boards v2.
 

Lunch program by clicking on date

Started by okwei2000, February 12, 2004, 02:00:29 AM

Previous topic - Next topic

okwei2000

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.

Broesel

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

okwei2000

Thanks so much,  :lol:

It works great, it doesnt have to be in app5, i put it in app4.

Broesel

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