PDA

View Full Version : ** BETA ** Configuration tool for "Mortscripter" - ver. 0.9.0.0 (UPDATED 2008/06/10)


tlogix
9th June 2008, 05:28 PM
Last weekend, I was toying with the idea of creating a tool for you guys to use in your projects and the result was a software that I named Configurator Engine.

This project will have 2 parts: Configurator Engine will run on the device and Configurator Builder will run the the PC. As the name implied, this tool could be used as the configurator for your projects. The Configurator Engine on the device will read the configuration template created by the builder and displays all the options/choices in a user-friendly GUI. Users will then change settings according to their liking and hit DONE to exit. Based on the config template, the new settings will be saved to the registry and just before exiting Configurator Engine will execute predefined application/script (by the developper) to put the new settings in effect. You can also create/modify the config template yourself instead of using the builder.

One config template can one or more pages of settings (shown on the right softkey menu). Each page can contain one or more items. There are two types of supported item: text entry and dropdown choice. Each item type have its own set of validations that could be set by the developer (you). For now: None, Required, NumericOnly are the ones available for text boxes and None,Required are the ones for dropdown boxes. The command-line to launch an external executable/script at the end will be set in the config template.

Just for kick, my test template during the development of this project is the configuration template for CHome Weather, one of the most popular piece of software in this forum (shown in the screen shots).

How does that sound? The device part is already finished, I have a few (thousands :eek: just joking) lines of code left in the builder to finish the PC part.

Comments, ideas, opinons,brain storming are welcome.

UPDATED version 0.9.0.0
------------------------------
The phone part is ready to test. Probably I won't have enough time to complete the builder before this weekend. Please read HOW-TO.TXT for directives. The sample config.xml is also provided for your testing.

Running the sample

Unzip ConfigEngine.beta.zip and copy the EXE and .XML files to your phone. Then just run ConfigEngine.exe on the to see what it does. Upon exiting the settings will be saved in HKEY_LOCAL_MACHINE\Software\Test\CHomeWeather and HKEY_LOCAL_MACHINE\Software\Test\CHomeWeather\Adva nced as defined in the .config.xml file.

There will be and error saying that Weather.exe not found because it is specified (in the sample template) to run when the engine exits.

NRGZ28
9th June 2008, 05:35 PM
Nice :) Hopefully it's easy to use.. and I'll use it as replacement for the config script in Chome Weather :)

showaco
10th June 2008, 03:41 AM
I would like to try this out, if you need someone to test. Will the builder run on windows xp? Sounds cool and could make things easier.

outerdepth
10th June 2008, 05:04 AM
Give me a shout when you get the pc part ready, I do run Vista, don't know if that will matter.:)

tlogix
10th June 2008, 01:54 PM
The phone version is up for you to play with. Please test and report.

NRGZ28
10th June 2008, 05:25 PM
Hmm, I guess if I wanted to use this for CHome Weather I'd have to completely rewrite the options script, because, so far, it looks like this is a fancy control panel for inputting registry keys :) Can't actually do any logic, use variables, etc... I wonder what else this could be used for ?

tlogix
10th June 2008, 07:09 PM
Hmm, I guess if I wanted to use this for CHome Weather I'd have to completely rewrite the options script, because, so far, it looks like this is a fancy control panel for inputting registry keys :) Can't actually do any logic, use variables, etc... I wonder what else this could be used for ?

This is meant to be used that way: an user-friendly GUI for setting up your scripting projects. Of course, this is not a full blow scripting engine for mobile device, you have MortScript for that, except Mortscript engine can't offers what this tool offers. You see my point? ;)