CE registry hacks

来源:互联网 发布:mac os beta 描述文件 编辑:程序博客网 时间:2024/05/02 00:25

CE registry hacks:


Firstly, editing the Windows CE registry can be risky, it can only berecommended to those who like to take things apart.
I will not be detailing _how_ to modify the registry here. Commercial, shareware and freeware Windows CE registry utilties can befound through a google search: "CE registry editors".
Remember to back up your WinCE device before making any modificationsto the registry.  If you kill it, a hard reset will fix it, butwill also erase EVERYTHING (you will be left with a WinCE device withfactory software and defaults)..

I want the OziExplorer icon toappear for *.MAP and *.OZF2 files instead of the plain (yuck) defaulticon.

This is actually a standard file association registry hack, but with noapplication associations (just the icon).
Under HKEY_CLASSES_ROOT create two new keys ".map" and ".ozf2".
Under those two new keys, create one new string value named "Default",with its value set to "ozifile".

Under HKEY_CLASSES_ROOT create a new key called "ozifile", and anothernew key under that called "DefaultIcon".
Under HKEY_CLASSES_ROOT/ozifile/DefaultIcon/ create a string valuenamed "Default" with a value of "/OziExplorer/OziExplorerCE.exe,-0".
If you have moved OziCE to a different folder, use your new pathinstead.

Cool, now I want to be able toedit *.MAP files manually just by double tapping on *.MAP files.

Again, this is a standard file association registry hack, but points toa text editor application.
Go back to the HKEY_CLASSES_ROOT/.map key you had just created in theprevious step.
Change the "Default" string value from "ozifile" to "mapfile".
Create a new key under HKEY_CLASSES_ROOT called mapfile

Create new keys under HKEY_CLASSES_ROOT/mapfile called "DefaultIcon"..and .. (so far this is the same as the above ozifile definition)
Create new keys under HKEY_CLASSES_ROOT/mapfile called "Shell", "Open"and "Command". (this is where it associates an application with thefile extension)

Under HKEY_CLASSES_ROOT/mapfile/DefaultIcon create a new string called"Default" with a value of  "/OziExplorer/OziExplorerCE.exe,-0".(this is the icon, as above)
Under HKEY_CLASSES_ROOT/mapfile/Shell/Open/Command create a new stringcalled "Default" with a value of  "pword.exe %1".
This uses PocketWord to edit your MAP files. If you have a third-partytext editor you would prefer to use instead, enter the path andexecutable of that.  Remember the "  %1" at the end.
Note: If you choose touse PocketWord to edit map files, DO NOTuse or enable any fonts, styles, colours or anything different, it willprobably mangle the MAP files to the point of them being useless.

For those who are wondering, no, you cannot load that map file intoOziCE via tapping onMAP files, by entering OziExplorerCE.exe in the /shell/open/commandregistry key.  While OziCE will start, it will not actually loadthe MAP file.  OziCE does not appear to accept command lineparameters.





Not directly related to Oziexplorer, but I have found the followinguseful on my iPaq while using Ozi.
These CE registry hacks can also be found via google.

Auto-start a process after asoftboot.

HKEY_LOCAL_MACHINE/init
There should be a set of string entries in the form "LaunchXX""App.exe" where XX is the order in which the processes are started.
I use it to start my battery monitor (shows the battery level on thetask bar).
Note: I have tried itwith OziexplorerCE.exe, but it does not appear to work.

Sick of the low batterywarning visual indication popping up every other minute to remind youyou have less than 40% capacity left?

HKEY_CURRENT_USER/ControlPanel/Notifications/{A877D663-239C-47a7-9304-0D347F580408}
Create a String value named "Default" and set its value to "Low batterywarning".
Now go to Start > Settings > Personal tab > Sounds &Notifications applet > Notifications tab,
a new "Low batterywarning" in the "Select an event" drop-down list will appear, where youcan now customize it.
I just remove the visual indication, I leave the sound and LED flashas-is.

I wantthe time AND date on the title bar.

The Pocket PC displays the time in the title bar, the user can selectAnalog or Digital using tap & hold on the time.
But some people also want the date to be easily available, this wasactually available on Palm-size PC devices.
Fortunately there is a tweak to display both the date and time insteadof time only in the Pocket PC title bar :
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Shell/
Create a binary value named "TBOpt" and set its value to "13 00 00 00"
Save any unsaved document and reset your Pocket PC.
Note: On my iPaq, Ican't get the AM/PM display to show, though the 24 hourtime format works.  This does not appear related to the registryhack however.

I want a different input method to appear as the default, after a reset.

If you're not fond of the Keyboard being the default input type every time you reset, you can change this.
Look for HKEY_CURRENT_USER/ControlPanel/Sip/DefaultIM
The value contains a string that represents a different default input type.
Here are several for your reference:

Input type

Set to this String value

Keyboard {42429667-ae04-11d0-a4f8-00aa00a749b9}Letter Recognizer {42429690-ae04-11d0-a4f8-00aa00a749b9}Block Recognizer {42429691-ae04-11d0-a4f8-00aa00a749b9}Character Recognizer {42429690-ae04-11d0-a4f8-00aa00a749b9}Transcriber {F0034DD0-2AD4-11d1-9CB0-E84BE8000000}