Author Topic: A very big project  (Read 11034 times)

Broesel

  • TodayPlus Veteran
  • *****
  • Posts: 595
A very big project
« Reply #15 on: March 23, 2005, 02:08:16 AM »
Quote from: "tree99"
Maybe your configure.exe could save settings to the registry like the current config does but also have the ability to save and load settings to a txt file.


I think, this is an excellent idea. If I may suggest something to that too ...
It would be very nice, if the config.txt - file had sections, that could be
loaded in the registry.

Example:

//city-section
1,GMXX0039,7.999,10.333,c     (like in the reg,ID,Citycode,lat,lon,celsius)
2,GMXX0049,8.777,11.444,c

//image-section
c1hourchart,/Programme/TodayPlus/Buffer/c1hour.png
c1empchart,/Programme/TodayPlus/Buffer/c1temp.png

//var-section
var1,100
var2,200
var3,150

//text-section
text1,this text
text2,another text

If there are no data in a section: ignore (Do not owerwrite existing keys)

If there are data, create the registry-key and write the assumed data.

This would be much helpful, when creating things like you did with your
exe-files or provide the config.txt with a new created skin, so the vars
needed in the skin are created easily.

Regards Broesel

Geezer

  • TodayPlus Expert
  • ****
  • Posts: 201
A very big project
« Reply #16 on: March 23, 2005, 07:31:43 AM »
You guys just continue to amaze me.  How you can extend such a cool program and make it even easier to use is absolutely astounding.  There is no program on my PPC that gets utilized like TodayPlus, thus, it takes up most of my tinkering time.  UK, if you CAN make it export/import with a text file, that makes things SO easy for the user to get help and save his configuration of the registry on the PC.  I'm willing to help where I can.  Cheers, mate!
Toshiba e800, PPC2003 SE, 2.2 Gb MicroDrive, 512 CF, 512 SD, 2 Extended Batteries, Plus other excentric goodies.

uk_skinner

  • Global Moderator
  • TodayPlus Veteran
  • *****
  • Posts: 1313
A very big project
« Reply #17 on: April 01, 2005, 03:48:14 PM »
I think I am able to get 95% of config.exe works.  There are some of "features" that I did not know.  Here is the list.  If someone can let me know what are they and I think I should be able to do it.

1. Select Skin (EXE), Reload Plugin in General.
2. Batch in Shortcuts.

Also, I fixed some of something and added ok/cancel buttons at the bottom.  Perhpas, I can start to add new features in it.    :think:

uk_skinner

  • Global Moderator
  • TodayPlus Veteran
  • *****
  • Posts: 1313
A very big project
« Reply #18 on: April 01, 2005, 03:54:37 PM »
Quote from: "Geezer"
You guys just continue to amaze me.  How you can extend such a cool program and make it even easier to use is absolutely astounding.  There is no program on my PPC that gets utilized like TodayPlus, thus, it takes up most of my tinkering time.  UK, if you CAN make it export/import with a text file, that makes things SO easy for the user to get help and save his configuration of the registry on the PC.  I'm willing to help where I can.  Cheers, mate!


Geezer:

  By doing this, I found myself softreset my device so frequently.  Not becuase the program itself but due to the wrong format of registry key.  It is very risk to edit the registry key and could cause hardrest.  I would suggest that use utility program (such as PHM) to export the registry key and save as back-up.  I do however, would like to be able to generate two sets or regsitry key then you can switch them back and forth.  At this moment, TP only can use one set of key.

Broesel

  • TodayPlus Veteran
  • *****
  • Posts: 595
A very big project
« Reply #19 on: April 01, 2005, 04:09:35 PM »
Quote from: "uk_skinner"
I think I am able to get 95% of config.exe works.


Cool, that 's a lot ....


Quote
There are some of "features" that I did not know.  Here is the list.  If someone can let me know what are they and I think I should be able to do it.

1. Select Skin (EXE), Reload Plugin in General.


Take a look at

HKLM/SOFTWARE/Microsoft/Today/Items/TodayPlus/Enabled

Maybe you can disable and enable the plugin again via the exe
(Don't know if that works in exe, but that is, what you do, when going
to Start/Setting/Today)

Quote
2. Batch in Shortcuts.


No idea, sorry ....

Quote
Also, I fixed some of something and added ok/cancel buttons at the bottom.  Perhpas, I can start to add new features in it.    :think:


Fine, see the list below  :wink:  (Edit: Sorry, I meant above)

Regards Broesel

ZapMe1

  • TodayPlus Veteran
  • *****
  • Posts: 551
A very big project
« Reply #20 on: April 10, 2005, 04:58:16 PM »
UK,

How is progress on "The Big Project" comming along ?? :?:
ZapMe1

"The most knowledgable person in the world is not the one who possesses the most knowledge, but the one who surrounds themselves with the greatest number of knowledgable people"

uk_skinner

  • Global Moderator
  • TodayPlus Veteran
  • *****
  • Posts: 1313
A very big project
« Reply #21 on: April 10, 2005, 08:47:53 PM »
Quote from: "ZapMe1"
UK,

How is progress on "The Big Project" comming along ?? :?:


ZapMe1:

  I am still learning the basics.  And will explore the different approaches.  I am focusing on weather part first .  The one I am working on could be part of TP and will be stand alone.  There are so many things to learn.

Broesel

  • TodayPlus Veteran
  • *****
  • Posts: 595
A very big project
« Reply #22 on: April 13, 2005, 06:20:53 AM »
Quote from: "uk_skinner"

There are some of "features" that I did not know.  Here is the list.  If someone can let me know what are they and I think I should be able to do it.

1. Select Skin (EXE), Reload Plugin in General.


Was searching an article I read, when playing with evc 3.0 and TodayPlugins.
What I remembered was, that you have to create a registry-key to
get the TodayPlugin showed on the todayscreen.
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Today\Items)

There is a key existing for TodayPlus, with keys:
Type=
Enabled=
Options=

Enabled is 0 (disabled) or 1 (enabled) as far as I remember.

I think, what you can do is:
Select the skin to load, set the key Enabled= to disabled
then use
SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0xF2, 0);
to let the PPC know, that there has changed something,
set the key Enabled= to enabled, use the SendMessage-command
again and the Plugin should unload an load again with the new skin.

Please read also here (how to install / uninstall a todayplugin):
http://www.pocketpcdn.com/articles/todayinstall.html

Hope, that helps you a little to come further ...


Regards Broesel

Broesel

  • TodayPlus Veteran
  • *****
  • Posts: 595
A very big project
« Reply #23 on: April 14, 2005, 12:34:34 PM »
Digged a little deeper, if you need the commands for C#
take a look at this link:

http://www.dotnetmonster.com/Uwe/Forum.aspx/dotnet-compact-framework/1160/Help-C-to-C-code-conversion

Don't know, if you need anything of that I provided ?

Regards Broesel

uk_skinner

  • Global Moderator
  • TodayPlus Veteran
  • *****
  • Posts: 1313
A very big project
« Reply #24 on: April 14, 2005, 12:42:45 PM »
broesel:

  Thanks for the information.

  I have not throughly explored that area yet.  I knew it will be different to make a today-plugin software.

Broesel

  • TodayPlus Veteran
  • *****
  • Posts: 595
A very big project
« Reply #25 on: April 14, 2005, 01:38:22 PM »
Quote from: "uk_skinner"
broesel:

  Thanks for the information.

  I have not throughly explored that area yet.  I knew it will be different to make a today-plugin software.


Hmm, that was not what I wanted to say. For this one there is no need
to write as a today-plugin, what i meant was to use these commands to
unload / load  TodayPlus after selecting another skin or by pressing
reload. I think that could be the way to make the system know, something
has changed and unload/reload the TodayPlus-plugin.

Regards Broesel

Rotlaus

  • TodayPlus User
  • **
  • Posts: 58
A very big project
« Reply #26 on: April 14, 2005, 02:51:26 PM »
Quote from: "uk_skinner"
 I have not throughly explored that area yet.  I knew it will be different to make a today-plugin software.


Indeed, i've learned it the hard way. It isn't as easy as it looks like. I've programmed my first own Today Plugin here, and its really extremely difficult. Big Respect to SRS. Now i know how difficult it is.

cu,

Andre

uk_skinner

  • Global Moderator
  • TodayPlus Veteran
  • *****
  • Posts: 1313
A very big project
« Reply #27 on: April 14, 2005, 03:05:36 PM »
Quote from: "Broesel"
Quote from: "uk_skinner"
broesel:

  Thanks for the information.

  I have not throughly explored that area yet.  I knew it will be different to make a today-plugin software.


Hmm, that was not what I wanted to say. For this one there is no need
to write as a today-plugin, what i meant was to use these commands to
unload / load  TodayPlus after selecting another skin or by pressing
reload. I think that could be the way to make the system know, something
has changed and unload/reload the TodayPlus-plugin.

Regards Broesel


Sorry,  :oops: , my mind was not "wondering" around.... :shock: