Homepage of Chi-Tai

Computer Science, Mobile Inspired Software and Afro Cosmic Music

tools

Tools for Windows Mobile (Professional)

Table of Contents
whats here and where to go

1. RegistrySetString.exe
set a string value in registry
Download: RegistrySetString.zip - 1,109 Hits
Version: 1.1
Updated: August 17, 2008
Size: 2.01 KB

RegistrySetString.exe is a commandline program to set a string-value in windows registry.
One way to use this program is to create a shortcut to this program with the desired arguments.

Usage for RegistrySetString.exe

1. Specify any value: RegistrySetString.exe Key Path ValueName Value
e.g. to set HKLM\Comm Manager\Test=abc

RegistrySetString.exe HKLM "Comm Manager" Test abc
RegistrySetString.exe HKEY_LOCAL_MACHINE "Comm Manager" Test abc

2. Use this program to queue a command for the BatteryStatus-Plugin.
e.g. Use BS command (reloadtheme = 1)

RegistrySetString.exe 1

List of Commands for BatteryStatus.

2. TinyBatch.exe
open a batch-file and execute the programs included
Download: tinybatch.zip - 255 Hits
Version: 1.0
Updated: May 12, 2008
Size: 2.89 KB

TinyBatch.exe is a simple and small commandline program to open a script-file and interpret it.
Usage:

tinybatch.exe NameOfScript.bat

Example:

# Wait a second
Sleep 1000

	# Set string in registry, RegistrySetString.exe is same directory as tinybatch.exe
	RegistrySetString.exe 0 1

	# Set string in registry, Complete path to RegistrySetString.exe is given
	\\Windows\\BatteryStatus\\RegistrySetString.exe 0 1

	# open calc and wait for close of calc
	\\Windows\\Calc.exe 

	# open calc and continue without waiting
	Call \\Windows\\Calc.exe

Sleep x - Wait for x ms

Programname argumenst - Start a program and wait

Call Programname argumenst - Start a program and dont wait

3. AppLauncher
add an app-launcher to BatteryStatus-Plugin
Download: AppLauncher.zip - 1,015 Hits
Version: 1.0
Updated: May 12, 2008
Size: 12.38 KB

AppLauncher.exe requires .NetCF 1.0 and adds an application-launcher to the theme used by BatteryStatus-Plugin.
Usage:

4. BSCallTimes
format CallLogs of BatteryStatus-Plugin
Download: BSCallTimes.zip - 360 Hits
Version: 1.0
Updated: May 12, 2008
Size: 2.63 KB

BSCallTimes is an XSLT-Script to transform the xml-logfiles of BatteryStatus for the calltimes to an html-document. This makes it easy to view with any browser.

Usage: - Copy BSCallTimes.xsl to the same directory of BSCallTimes.xml
- prepend the following line to BSCallTimes.xml (must be the first line!)

<?xml-stylesheet type="text/xsl" href="BSCallTimes.xsl" ?>

- open BSCallTimes.xml with a browser

5. SecondToday
Having a second TodayScreen/HomeScreen
Download: SecondToday Cab Installer - 10,545 Hits
Version: 0.3.6
Updated: August 6, 2008
Size: 31.95 KB

Cab Installer for remaping the soft-keys in order to switch between default-todayscreen and secondtoday on left-softkey.

Download: SecondTodayKeys.CAB - 3,846 Hits
Version: 0.1
Updated: July 28, 2008
Size: 707 bytes

Usage: - Copy SecondToday.exe to your desired location, e.g. \Program Files\SecondTody\SecondToday.exe and start the application

Tap and Hold on a free window area will open the settings-dialog!!!

Advanced Features for Plugins:

  • support for TODAYM_REQUESTREFRESH defined as (WM_USER + 103).
    This message send to secondtoday-window immediately calls WM_TODAYCUSTOM_QUERYREFRESHCACHE.

The following screenshots shows e.g. the Big TrayIcon-Support combined with “No CommandBar”-Option

Get SecondToday-Capabilities:
#define TODAYM_GET_CAPABILITIES (WM_USER + 222)
DWORD dwCapabilities = (DWORD) SendMessage ( GetParent ( hWnd ), TODAYM_GET_CAPABILITIES, 0, 0 );

The Capabilities are BitFlags defined as:

  • TODAYM_FLAG_DRAW_PARTIAL_WATER defined as 0×00000001.
    This flag indicates whether partial draw of the watermark is supported.
    SecondToday returns true.
    If partial draw is supported, then the RECT of TODAYDRAWWATERMARKINFO can be set to draw only parts of the watermark. e.g. rc = { 20, 20, 40 80 }.
    Better for rendering animations of plugins with big client sizes.

search through the following headerfile for the capabilities:

// WM_USER defined in winuser.h
#ifndef WM_USER
#define WM_USER                         0x0400
#endif
 
/*
 * Message Send to Parent-Window for retrieving Capabilities
 * Usage:
 *		DWORD dwCapabilities = (DWORD) SendMessage ( GetParent ( hWnd ), TODAYM_GET_CAPABILITIES, 0, 0 );
 */
#define TODAYM_GET_CAPABILITIES			(WM_USER + 222)
 
/*
 * Message Send to Parent-Window for retrieving WindowHandle for Commands
 * Usage:
 *		HWND hControlWnd = (DWORD) SendMessage ( GetParent ( hWnd ), TODAYM_GET_CONTROL_WINDOW, 0, 0 );
 */
#define TODAYM_GET_CONTROL_WINDOW		(WM_USER + 223)
 
/*
 * Message Send to hControlWnd for modifying a TrayIcon
 * This is a replacement for Shell_NotifyIcon with the same parameters
 *
 * Usage:
 *  NOTIFYICONDATA * nid;
 *  
 *	DWORD dwMessage = [ NIM_DELETE, NIM_ADD, NIM_MODIFY ];
 *	BOOL bSuccess = SendMessage ( hControlWnd, TODAYM_NOTIFY_ICON, dwMessage, (LPARAM)nid );
 */
#define TODAYM_NOTIFY_ICON				(WM_USER + 301)
 
 
/*
 * Message Send to Parent-Window for Unloading a plugin
 *
 * Usage:
 *		BOOL bSuccess = SendMessage ( hControlWnd, TODAYM_UNLOAD_PLUGIN, 0, (LPARAM)L"My Plugin" );
 *
 * If you want to use this by a different process than your plugin, then you have to provide the name of the Plugin
 * by WM_COPYDATA and supply 0 for lParam in the subsequent call
 * The same applies to TODAYM_RELOAD_PLUGIN
 *
 * Usage:
 *		TCHAR Plugin [] = L"My Plugin";
 *		COPYDATASTRUCT cds;
 *		cds.lpData = Plugin;
 *		cds.cbData = sizeof(Plugin);
 *
 *		SendMessage ( hSToday, WM_COPYDATA, 0, (LPARAM)&cds );
 *		BOOL bSuccess = SendMessage ( hControlWnd, TODAYM_UNLOAD_PLUGIN, 0, 0 );
 */
#define TODAYM_UNLOAD_PLUGIN			(WM_USER + 310)
 
 
/*
 * Message Send to Parent-Window for Unloading a plugin
 *
 * Usage:
 *		SendMessage ( hControlWnd, TODAYM_RELOAD_PLUGIN, 0, (LPARAM)L"My Plugin" );
 */
#define TODAYM_RELOAD_PLUGIN			(WM_USER + 311)
 
 
 
 
/*
 * Capability Flag whether Partial Draw of Watermark is supported
 * Usage: BOOL bSupport = ( dwCapabilities & TODAYM_FLAG_DRAW_PARTIAL_WATER );
 */
#define	TODAYM_FLAG_DRAW_PARTIAL_WATER	0x00000001
 
/*
 * Capability Flag whether Parent provides a TrayIcon-Window
 * Usage: BOOL bSupport = ( dwCapabilities & TODAYM_FLAG_NOTIFY_ICON_TRY );
 */
#define	TODAYM_FLAG_NOTIFY_ICON_TRAY	0x00000002
 
/*
 * Capability Flag for current state of Big TrayIcons of Parent TrayIcon-Window
 * Usage: BOOL bBigTrayIcons = ( dwCapabilities & TODAYM_FLAG_DRAW_PARTIAL_WATER );
 *			true = big trayicons are selected, false = small trayicons are selected in options
 */
#define	TODAYM_FLAG_BIG_TRAY			0x00000004
 
/*
 * Capability Flag for Parent ControlWindow to support Unload/Reload of a Plugin
 * Usage: BOOL bBigTrayIcons = ( dwCapabilities & TODAYM_FLAG_UNLOAD_RELOAD );
 *			true = Unload/Reload is supported, false = no support
 */
#define	TODAYM_FLAG_UNLOAD_RELOAD		0x00000008

14 Comments so far

  1. [...] Project: SecondToday [...]

  2. [...] a copy -> Project SecondToday Digg [...]

  3. [...] a copy -> Project SecondToday Digg [...]

  4. [...] a copy -> Project SecondToday Digg [...]

  5. [...] a copy -> Project SecondToday Digg [...]

  6. [...] a copy -> Project SecondToday Digg [...]

  7. [...] a copy -> Project SecondToday Digg [...]

  8. [...] a copy -> Project SecondToday Digg [...]

  9. [...] a copy -> Project SecondToday Digg [...]

  10. [...] kann zwischen dem TouchFLO 3D und dem normalen Heutebildschirm hin- und hergeschaltet werden. Zum Download. BubbleLevel Eine weitere Art Wasserwaage f

  11. [...] AW: Garantieverlust!? SecondToday - Zwischen dem TouchFLO 3D und dem normalen Heutebildschirm hin- und herschalten Mit der Freewareapplikation SecondToday kann zwischen dem TouchFLO 3D und dem normalen Heutebildschirm hin- und hergeschaltet werden. Zum Download. [...]

  12. [...] a copy -> Project SecondToday Digg [...]

  13. [...] a copy -> Project SecondToday Digg [...]

  14. [...] a copy -> Project SecondToday Digg [...]