TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => General => Topic started by: joelw135 on November 10, 2003, 10:03:02 PM

Title: Way to add a program to the Today Screen
Post by: joelw135 on November 10, 2003, 10:03:02 PM
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.
Title: Way to add a program to the Today Screen
Post by: fishboy on November 11, 2003, 09:11:52 AM
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.
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 11, 2003, 09:54:22 AM
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.
Title: Way to add a program to the Today Screen
Post by: arbitrajeu on November 11, 2003, 09:59:46 AM
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.
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 11, 2003, 10:27:42 AM
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
Title: Way to add a program to the Today Screen
Post by: fishboy on November 11, 2003, 11:05:53 AM
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.
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 11, 2003, 06:44:25 PM
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.
Title: Way to add a program to the Today Screen
Post by: bino on November 11, 2003, 07:10:41 PM
Might I suggest you read the manual post I wrote in this board. I have a section explaining this.
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 11, 2003, 07:51:01 PM
I downloaded the zip file you had posted, and it is a bad zip archive.  Can you try to post again. Thanks.
Title: Way to add a program to the Today Screen
Post by: bino on November 12, 2003, 05:32:33 AM
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.
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 12, 2003, 08:39:48 AM
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.
Title: Way to add a program to the Today Screen
Post by: jhollin1138 on November 12, 2003, 08:55:48 AM
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 (http://dark-mojo.com/TodayPlus/viewtopic.php?t=3) thread.  It is labled Timezone Reference (http://www.dark-mojo.com/TodayPlus/download/todayplus%20reference%20-%20timezone.txt).
Title: Way to add a program to the Today Screen
Post by: fishboy on November 12, 2003, 08:57:44 AM
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.
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 12, 2003, 08:58:27 AM
Yes
Title: Way to add a program to the Today Screen
Post by: fishboy on November 12, 2003, 09:12:21 AM
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.
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 12, 2003, 09:20:45 AM
I put the following in the config file. At the top under the name of the skin

shortcut,quick2,\windows\iexplore.exe,Internet Explorer

Then I went to Start Settings Today Then Item and ok.  I also tried reset. Am I missing something in skin file?
Title: Way to add a program to the Today Screen
Post by: Blazingwolf on November 12, 2003, 11:17:39 AM
Quote from: joelw135I put the following in the config file. At the top under the name of the skin

shortcut,quick2,\windows\iexplore.exe,Internet Explorer

Then I went to Start Settings Today Then Item and ok.  I also tried reset. Am I missing something in skin file?

You need something like the following in the region of the skin file you want the launcher to appear:
shortcut,4,0,quick1,s
button,4,0,16,16,-1,0,%quick1

Change to your desired position on the screen and whatever shortcut # you are using.
Title: Way to add a program to the Today Screen
Post by: bino on November 12, 2003, 11:21:23 AM
Joel - have you tried simply uninstalling the skin (and possibly TodayPlus) and then reinstalling and trying to work from a base skin (like what is included or OSX). Your problem may simply be something little. Also make sure your TodayPlus Folder looks like this

Folder:
Buffer
Skins
Weather Icons
Images

Files:
Config.txt
Various others

Config.txt should be in the parent directory!
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 12, 2003, 02:47:46 PM
I did remove everything and started with a clean slate.  If someone would tell me where in region 0 on the slider skin to put the lines that mite help. Thanks.
Title: Way to add a program to the Today Screen
Post by: fishboy on November 12, 2003, 03:57:34 PM
Try placing somewhere after

region,0,0,-1
defregion,0,0,0,240,18,1
offset,offset_-1,offset_-1
offsetadd,0,2

and before

offsetadd,0,16
endregion,0,0

Make sure its not inside any of the "if..else" statements.
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 12, 2003, 04:27:15 PM
Thanks for the reply, but I have no luck.  It is exactly where it was surposed to go but nothing shows. Thanks.
Title: Way to add a program to the Today Screen
Post by: arbitrajeu on November 12, 2003, 04:34:11 PM
Quote from: joelw135Thanks for the reply, but I have no luck.  It is exactly where it was surposed to go but nothing shows. Thanks.
Please attach your (zipped) slider.txt file to a post and we'll take a look at it.  fishboy's instructions should work, from what I can see.
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 12, 2003, 04:55:38 PM
Thanks here are the files in zip format The edit to config is at the top directly under the title slider.  The edit for the skin was directly after the start of 0 region.
Title: Way to add a program to the Today Screen
Post by: fishboy on November 12, 2003, 05:04:14 PM
I believe your problem is the capital letters before the shortcut and button commands in both the config and skin files.  All commands use lowercase letters and apparently TodayPlus is case sensitive.  

Also, you are missing a comma after quick1 in the config shortcut command and you button command is missing a parameter and comma before %quick1.  Refer to the previous post to format the commands correctly.

TodayPlus is very unforgiving when it comes to the format of commands.

Here are the corrected files.
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 12, 2003, 05:27:56 PM
Even with those corrections, it will not show.  Any other ideas? Thanks
Title: Way to add a program to the Today Screen
Post by: arbitrajeu on November 12, 2003, 05:32:24 PM
Quote from: joelw135Even with those corrections, it will not show.  Any other ideas? Thanks
You might want to reload TodayPlus by going to Today->Items and clicking Ok to refresh from the config.txt.
Title: Way to add a program to the Today Screen
Post by: joelw135 on November 12, 2003, 05:36:30 PM
Ok I think it is there but it is burried behind the Day and date of Today Plus.
Title: Way to add a program to the Today Screen
Post by: arbitrajeu on November 12, 2003, 05:42:30 PM
Quote from: joelw135Ok I think it is there but it is burried behind the Day and date of Today Plus.
Yeah, it would be.  You just need to play with the x coordinate til you find the position you want.  That region is only 18 pixels high, so you don't have much flexibility.  You get the idea though...
Title: alpax's simple skin
Post by: scott51 on December 01, 2003, 10:27:43 PM
Thanks, I figured out the problem.  Stupid error on my part. I hadn't noticed the category name was lower case.