• Welcome to TodayPlus Boards v2.
 

Way to add a program to the Today Screen

Started by joelw135, November 10, 2003, 10:03:02 PM

Previous topic - Next topic

joelw135

Is there a way to add one exe file to the today screen without installing a launcher?  I am trying to keep a low overhead for my memory, and a unclutered screem.  I am using ver 0.9.8 original skin.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

fishboy

Here is an example of how to do this.

Put in the Configuration file:

shortcut,myshortcut,\windows\calendar.lnk,Calendar

Put in the Skin file (place within a region):

shortcut,4,0,myshortcut,s
button,4,0,16,16,-1,0,%myshortcut

You can also use the imagebutton command instead of using the shortcut and button commands if you prefer to specify your own icon to be displayed.

imagebutton,4,0,calendar.bmp,t,-1,0,%myshortcut

Refer to the skin reference for more information on these commands and their parameters.
Axim X5 Advanced, Windows Mobile 2003

joelw135

I understand part of this, but in my TodayPlus Skins directory I have two  files 1. is analog-weather and 2. slider.  Which do I add the line too?  I know where the config file is.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

arbitrajeu

Quote from: joelw135I understand part of this, but in my TodayPlus Skins directory I have two  files 1. is analog-weather and 2. slider.  Which do I add the line too?  I know where the config file is.
Look in your config.txt file.  You will probably find the following two lines:

skin,Skins\slider.txt
//skin,Skins\analog-weather.com.txt

This tells you that the active skin is Skins\slider.txt (as the other one is commented out with //'s).

Choose carefully where you put fishboy's code - there are myriad comments in the skin file so you should be able to work out which region is which.  Put the code into a region you usually have open, I'd suggest.
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]

joelw135

Here is what I did, but it didn't work.  I want the icon up top somewhere.

In Config file

shortcut,myshortcut,\windows\Start Menu\Restart.lnk

In Skin file

shortcut,4,0,myshortcut,s
button,4,0,16,16,-1,0,%myshortcut
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

fishboy

Try placing the skin file commands in region 0.  The first and second parameter of the shortcut and button command specify the x and y coordinates, respectfully, for the location of the icon and click region.
Axim X5 Advanced, Windows Mobile 2003

joelw135

I tried what everyone said, I put the config portion in the config file right under the skin title and the other lines as the first part of region 0.  No luck nothing showed up.  I checked the location of the Restart program and it is in the windows\start menu folder.  Any other ideas? I want the icon to show up either in the title bar or directly below.

If this won't work is there a launcher which will work with my WisBar Advanced and the TodayPlus.  I hate to eat up resources.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

bino

Might I suggest you read the manual post I wrote in this board. I have a section explaining this.
Saintly

joelw135

I downloaded the zip file you had posted, and it is a bad zip archive.  Can you try to post again. Thanks.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

bino

Well - actually the file was simply renamed - it is in fcat a .txt fiole as I said in the bottom of the post, but I see where this could lead to problems.

Here is an actual ZIPPED version.
Saintly

joelw135

Well read the manual as you sugested!  I did as directed in the manual, but I guess my skin (Slider) can't handle the shortcut.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

jhollin1138

Bino,

In the Today Plus manaul you wrote, you stated:

Quote from: binoUPDATE: Where can we find the country code?

You can find it in the Reference Guide thread.  It is labled Timezone Reference.
Jim H

fishboy

Did you reload todayplus (Start | Settings | Today | Items, and then click OK) or reset your Pocket PC after making the changes?  This needs to be done before changes will take affect.
Axim X5 Advanced, Windows Mobile 2003

joelw135

Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

fishboy

I pasted your code into my skin files and it work fine (except I get a folder icon displayed because I dont have Restart.lnk, and it appears behind the current date).  Make sure you don't have any trailing spaces after each command, I had some and it was making the icon appear to big.
Axim X5 Advanced, Windows Mobile 2003