Hi,
I am trying to change one of my soft keys to "Compose a new SMS" but I am unsure of what file needs to be launched to allow me to compose a new SMS, could someone point in the right direction? I am running WM6 with vp3G 3.62.3 rom. Thanks guys!
I believe a shortcut like this will do it:
20#\Windows\tmail.exe -service "SMS"
And you can check this thread out.
you can also check this thread...
http://forum.xda-developers.com/showthread.php?t=359458&page=33
New Menu for WM5 (also works for WM6 of course) might be worth checking out. It is hands down the most useful program I have on my hermes.
Do this registry edit (note : 113 is for right softkey, 112 is for left)
[HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\TODAY\KEYS\113]
Open = windows\tmail.exe -service "SMS" -to "" -body ""
Accidentally I deleted the "Settings" Icon in Program Launcher. How can I get it back? It doesn't appear in the Program List. And for tweaking the registry I needed the actual name of the settings application.
Anyone knowledgeable?
Hi, I almost deleted mine when tweaking start menu icons
You need to edit/change following registry keys:
HKLM\Software\HTC\Manila\ProgramLauncher
there find subkey number corresponding to Your icon (0=Top left, 1=Top Midle, 2=Top Right, 3=Next row left column...).
For command Settings You need to edit these Keys:
- Command = "--switchtopage Manila://settings.page"
- DispName = "Settings"
- IconPath = "\windows\HTC\Assets\Images\programlauncher\Program_icon\settings_88.qtc"
- Path = "\Windows\manila.exe"
ChAr
Thanks, you saved my day!
char said:
Hi, I almost deleted mine when tweaking start menu icons
You need to edit/change following registry keys:
HKLM\Software\HTC\Manila\ProgramLauncher
there find subkey number corresponding to Your icon (0=Top left, 1=Top Midle, 2=Top Right, 3=Next row left column...).
For command Settings You need to edit these Keys:
- Command = "--switchtopage Manila://settings.page"
- DispName = "Settings"
- IconPath = "\windows\HTC\Assets\Images\programlauncher\Program_icon\settings_88.qtc"
- Path = "\Windows\manila.exe"
ChAr
Click to expand...
Click to collapse
just a quick question - could this be a way you could edit those 'LOCKED' icons? i would really like to move some of those around - say having my tomtom up the top etc... i havent found a way round this as yet... :-S
Remove Locked Start Menu / Programs tab Items
Free up the start menu / Programs Tab icons that are there by default and not removable you need to change (Thanks Mallman)
Code:
HKLM/Software/HTC/Manila/ProgramLauncher/0/IsReadOnly
HKLM/Software/HTC/Manila/ProgramLauncher/1/IsReadOnly
HKLM/Software/HTC/Manila/ProgramLauncher/2/IsReadOnly
HKLM/Software/HTC/Manila/ProgramLauncher/3/IsReadOnly
Change this value from 1 to a 0 and you can then edit their shortcuts.
radak23 said:
... i havent found a way round this as yet... :-S
Click to expand...
Click to collapse
*rolls eyes* it's in the wiki and it's in the sticky on this forum...
Purpose:
This purpose of this VBScript is to process and organize data in RGU/REG files to remove duplicates, identify faulty entries, and move entries to ascending alphabetical order (the same way it is displayed in a registry editor).
Requirements:
Windows Scripting Host (included in most versions of windows)
rgucomp.exe and cereg400.dll located somewhere in your path (same folder as the script probably won't work if the script is run from another folder)
.reg and .rgu files are expected to be UTF-16LE with BOM
Usage:
Drag a .rgu, .reg, or .hv onto RGUber.vbs OR run "wscript.exe RGUber.vbs example.rgu"
Details:
When an rgu|reg file is specified, RGUber will:
1) create backup of input file
2) rename input file to boot.rgu
3) use rgucomp to convert it to *.hv
4) use rgucomp to convert new .hv to original rgu path\name
5) Reorder all keys in ascending alphabetical order and all values for each key in ascending alphabetical order with default value first
When an hv file is specified, RGUber will:
1) use rgucomp to convert it to *.rgu
2) Reorder all keys in ascending alphabetical order and all values for each key in ascending alphabetical order with default value first
Options
Open RGUber.vbs in your favorite text editor. All options are set at the beginning with (hopefully) meaningful descriptions.
Code:
'//Path to rgucomp (leave this as default if rgucomp.exe is located in your system path)
Const RGUCOMP = "rgucomp.exe"
'//Path to notepad, only needed if %OPENAFTER% is true
Const NOTEPAD = "notepad.exe"
'//The following options can be set to True/False or 0/1
'//Organize registry entries in ascending alphabetical order
Const REORDER = True
'//Open in %NOTEPAD% after conversion is done
Const OPENAFTER = False
'//Save any errors from rgu -> hv conversion
Const LOGERRORS = True
'//Save a backup copy of %INPUTRGU% as "%INPUTRGU%_Backup.rgu"
Const BACKUPRGU = True
Other info
If target file already exists, RGUber will ask if you want to overwrite.
Text files (the MS way) typically contain CRLF for next line. Output from rgucomp.exe contains many CRCRLF. RGUber removes the extra CR.
I have very few comments in the code. If requested, I will upload another copy with as many detailed comments as I can manage.
I tried to code this as efficiently as VBScript can possibly be. I kept getting errors when trying to run 'rgucomp.exe -b -nologo' so instead of running it directly, RGUber creates a bat file, executes it, then deletes it.
On my AMD Phenom 9600 with Vista64 and 3 SATA in Raid5, RGUber completes rgu->hv->rgu of 2084 lines in <3s
RGUber always saves output from rgu->hv conversion but deletes the file if there were no errors.
RGUber crashes on files with no reg entries (e.g. empty app.reg in an EXT package that does not add any registry entries)
Changelog:
v1.21a
Values are now sorted in alphabetical order for each key
v1.2
Replaced Organize function with one from RGUOrder
Lost ability to reorder values for each key (To be readded in next version)
v1.1
Fixed a bug with removing hashdata from output (RGUber would mix data from two keys under one)
Changed sorting algorith with a much faster one
v1.02
Added option to remove RegistryUpdate key from rgucomp output
Fixed a typo where RGUber was not removing the system attribute from input rgu files
v1.01
Fixed typo where RGUber was waiting for backup file instead of log file
Change 'Done' msgbox to one that shows beginning time and ending time
v1.0
Initial Release
RGUOrder v1.4
This script will only reorder the contents of an rgu without processing with RGUComp, thereby keeping comments and delete key entries. RGUComp/cereg400.dll are not needed to use this app.
Changelog:
v1.4
Fixed a bug where if the original rgu did not end with a new line then the last entry after being sorted would be lost.
Fixed two bugs where only the first 25 tabs and first 25 spaces would be removed before sorting (This did not affect data integrity or performance, but the checksum would be different each time you run the output back through RGUOrder until all the original tabs/spaces were removed)
Added code to prevent multiple entries of the same key from being reordered
Fixed other miscellaneous bugs/oddities introduced with v1.3
v1.3
Added code to add a delete key for each subkey of a deleted key so that when reordered, the key deletion isn't broken
v1.2
Fixed a bug where the last key processed was being concatenated to another with no CRLF producing an invalid rgu file
I'm not sure if this relates to your app but I have a small question:
If a dumped a rom (raw, not kitchen type) and removed several apps/programs but did not clean the registry (very tedious), will this help me clean it up (remove dead paths, etc)?
And if so, how will it know just by dragging the .hv file? I mean how will your app know if a registry entry does not have the app/program included in the rom anymore?
Please forgive me if my question does not relate to your app
There is no way for my app to know, it isnt that smart
It would take an extensive app/database to know which keys are related to which apps.
Thanks for this post
updated to v1.1
v1.02 had a bug in the code which removed hash data from output which made it mix data from the key before it with the key after it
If I ever get around to updating again, I will use hvedit instead of rgucomp
I get an error.
Script: D:\RGUber.vbs
Line: 136
Char: 2
Error: File not found
Code: 800A0035
Source: Microsoft VBScript runtime error
Any reason why?
I attach the file i want to sort alphabetically.
I have no idea
It worked for me with no problem (file attached)
Please tell me the location of RGUber.vbs and of 51329f91-0017-4364-bcff-e032c5d45b01.rgu
Great application bro!!
Only limitation is that I have to put reg400.dll and rgucomp in C:\windows
c_shekhar said:
Great application bro!!
Only limitation is that I have to put reg400.dll and rgucomp in C:\windows
Click to expand...
Click to collapse
yeah, I tried to get around that but I didn't find anything feasible with vbscript :-/
Actually, they don't have to go in C:\windows
I reinstall windows regularly so I keep as many apps portable as I can. I have a bin folder on another partition that I add to the system path variable after a new install for stuff like this.
selyb said:
yeah, I tried to get around that but I didn't find anything feasible with vbscript :-/
Actually, they don't have to go in C:\windows
I reinstall windows regularly so I keep as many apps portable as I can. I have a bin folder on another partition that I add to the system path variable after a new install for stuff like this.
Click to expand...
Click to collapse
can you elaborate this a bit more. Because I too would like a similar arranfements...
My C:\ partition has Vista64
My F:\ partition has all my documents, downloads, music, movies, etc and a folder F:\bin\
F:\bin contains >100 downloaded command line programs and vbs scripts that I have written including
RGUber.vbs
lame.exe
rgucomp.exe
cereg400.dll
FixVTS.exe
faad.exe
nuerecmod.exe
Tag.exe
find Advanced System Properties (I can't remember how, it's different for XP/Vista/7) go to the Advanced tab and hit the Environment Variables button
Under system variables, scroll down to 'Path', double click it. This defines your 'system path'. It contains a list of folders separated by semicolon ";". At the end, add a semicolon and the path to the folder you want to add (e.g. ;F:\bin) after that, hit ok. XP may need to reboot to reflect the change but I'm not sure. Vista and 7 are affected immediately.
With this setup, you can open a command prompt in any folder on your computer and type "RGUber.vbs xyz.rgu" and it would work as if all the files are in that folder.
Thanks a lot bro!!!
I am grateful...
I'd really like to use this, but unfortunately I get this error regardless of the app.reg I drag onto the script:
Script: C:\RGUber\RGUber.vbs
Line: 232
Char: 3
Error: The system cannot find the path specified.
Code: 80070003
Source: (null)
Thanks if you can advise.
Quetzecotyl said:
I'd really like to use this, but unfortunately I get this error regardless of the app.reg I drag onto the script:
Script: C:\RGUber\RGUber.vbs
Line: 232
Char: 3
Error: The system cannot find the path specified.
Code: 80070003
Source: (null)
Thanks if you can advise.
Click to expand...
Click to collapse
Hmmm... this line asks the system for what is in the %temp% variable and attempts to change the working directory to the result.
Open RGUber.vbs in notepad and go to line 232
Modify
Code:
WSH.CurrentDirectory = WSH.Environment("SYSTEM")("temp")
to
Code:
WSH.CurrentDirectory = "C:\RGUber\"
then try again
Works great after your fix, selyb. Thank you for this useful app and your many helpful contributions to the Kaiser forums.
Quetzecotyl said:
Works great after your fix, selyb. Thank you for this useful app and your many helpful contributions to the Kaiser forums.
Click to expand...
Click to collapse
Yeah, I may relocate from Kaiser forums to Rhodium. I have an AT&T Tilt 2 in the mail to me ATM
Grats on getting a Rhodium. Found a question after using it for a while. This is just one example of such behavior, but why does:
Code:
[HKEY_CURRENT_USER\Software\HTC\TaskManager\ExclusiveList\System]
"CMBandSwitching.exe"=dword:0
get turned into:
Code:
"CMBandSwitching.exe"=dword:0
How do I make it regard CURRENT_USER keys?
Quetzecotyl said:
Grats on getting a Rhodium. Found a question after using it for a while. This is just one example of such behavior, but why does:
Code:
[HKEY_CURRENT_USER\Software\HTC\TaskManager\ExclusiveList\System]
"CMBandSwitching.exe"=dword:0
get turned into:
Code:
"CMBandSwitching.exe"=dword:0
How do I make it regard CURRENT_USER keys?
Click to expand...
Click to collapse
I had this problem with an earlier version. If you are using v1.1 then please attach the original rgu/reg. I have tried and I can't seem to reproduce it since I fixed it already.
Please, replace rgucomp with hvedit . I really need your help because rgucomp doesn't work for me . Thanks in advance .
tomcug said:
Please, replace rgucomp with hvedit . I really need your help because rgucomp doesn't work for me . Thanks in advance .
Click to expand...
Click to collapse
why doesn't rgucomp work? I would be surprised to learn that hvedit will work when rgucomp won't.
As you probably know HTC ezsip 2.1 disables native winmo SIP methods like handwriting and the native keyboard. Luckily you can reenable these via some regkeys.
First create the following dword value:
Code:
HKLM\Software\HTC\ezsip\
SIPMenuEnableMSSIP=1
Now go HKCR\CLSID\ and find the GUID of the SIP you want to enable:
Code:
Keyboard -> {42429667-ae04-11d0-a4f8-00aa00a749b9}
Block Recognizer -> {42429691-ae04-11d0-a4f8-00aa00a749b9}
Letter Recognizer -> {42429667-ae04-11d0-a4f8-00aa00a749b9}
Transcriber -> {F0034DD0-2AD4-11d1-9CB0-E84BE8000000}
Phone Pad -> {51A2CB38-154E-4C92-A625-A83871C99EC2}
then open the subkey IsSIPInputMethod and change the deafult value to 1
For example, if you want to enable the MS keyboard, make the following modification:
Code:
HKCR\CLSID\{42429667-ae04-11d0-a4f8-00aa00a749b9}\IsSIPInputMethod\
Default=1
Now you can copy and past in any application using ctrl+c and ctrl+v
mnet said:
As you probably know HTC ezsip 2.1 disables native winmo SIP methods like handwriting and the native keyboard. Luckily you can reenable these via some regkeys.
First create the following dword value:
Code:
HKLM\Software\HTC\ezsip\
SIPMenuEnableMSSIP=1
Now go HKCR\CLSID\ and find the GUID of the SIP you want to enable:
Code:
Keyboard -> {42429667-ae04-11d0-a4f8-00aa00a749b9}
Block Recognizer -> {42429691-ae04-11d0-a4f8-00aa00a749b9}
Letter Recognizer -> {42429667-ae04-11d0-a4f8-00aa00a749b9}
Transcriber -> {F0034DD0-2AD4-11d1-9CB0-E84BE8000000}
Phone Pad -> {51A2CB38-154E-4C92-A625-A83871C99EC2}
then open the subkey IsSIPInputMethod and change the deafult value to 1
For example, if you want to enable the MS keyboard, make the following modification:
Code:
HKCR\CLSID\{42429667-ae04-11d0-a4f8-00aa00a749b9}\IsSIPInputMethod\
Default=1
Now you can copy and past in any application using ctrl+c and ctrl+v
Click to expand...
Click to collapse
can any one make a cab file for this as i tried it all and never worked
this doesn't work for me either.
actually, it does. dunno what I did wrong earlier...
Brilliant, thanks!
A cab would be handy tho'
What I have for Letter recognizer :
42429690-ae04-11d0-a4f8-00aa00a749b9
hoss_n2 said:
can any one make a cab file for this as i tried it all and never worked
Click to expand...
Click to collapse
No cab, but I found the Keybord needs
HKCR\CLSID\{615623e0-a400-11d1-8910-0000f81ea21f}\IsSIPInputMethod\Default = 1
and if you want the bigger abc keys without 123, set
HKCR\CLSID\{615623e0-a400-11d1-8910-0000f81ea21f}\KPMode = 0
Regards
I am trying to add an extension to the context menu of the File Explorer. I know how to do this in desktop windows, but it doesn't work in Windows Mobile. This is what it looks like for destktop windows:
Code:
RegistryKey key = Registry.ClassesRoot.CreateSubKey("*");
RegistryKey shellKey = key.CreateSubKey("Shell");
RegistryKey emacsKey = shellKey.CreateSubKey("emacs");
emacsKey.SetValue(null, "Edit with emacs");
RegistryKey commandKey = emacsKey.CreateSubKey("Command");
commandKey.SetValue(null, "c:\\emacs\\bin\\emacs.exe %1");
I tried the same thing on WM6.5.3, only I switched the call to emacs for "pword.exe %1". No additional items showed up in my context menu. I decided to ditch the "*" and try to add a context menu for a specific file type first. My next attempt looked like this:
Code:
RegistryKey extensionKey = Registry.ClassesRoot.CreateSubKey(".csv");
extensionKey.SetValue(null, "csvfile");
RegistryKey csvfileKey = Registry.ClassesRoot.CreateSubKey("csvfile");
RegistryKey shellKey = csvfileKey.CreateSubKey("Shell");
RegistryKey openKey = shellKey.CreateSubKey("Open");
RegistryKey commandKey = editKey.CreateSubKey("Command");
commandKey.SetValue(null, "pword.exe %1");
RegistryKey editKey = shellKey.CreateSubKey("EditFile");
editKey.SetValue(null, "Edit This File");
RegistryKey commandKey = editKey.CreateSubKey("Command");
commandKey.SetValue(null, "pword.exe %1");
Which creates an (abbreviated) registry tree like this:
Code:
[-] HKEY_CLASSES_ROOT
[-] .csv = csvfile
[-] csvfile
[-] Shell
[-] Open
[-] Command = "pword.exe %1"
[-] EditFile = "Edit This File"
[-] Command = "pword.exe %1"
My "Edit This File" option still does not show up in the context menu when I right click on a .csv file, but if I left click on it, it opens up in Pocket Word, as expected.
There must be some way to do this. I just don't know why it can't match the way it works in desktop windows. I guess I have two questions:
1. Is it possible to add context-menu items in File Explorer through the registry?
2. If so, can I extend it to files of all types? ( "*" )
I am using C# right now, but if there is an easier solution in C/C++ I'm open to it. Thanks in advance for any tips.
I'm trying the same thing and I also have no solution for this.
But i found a code sample from Microsoft, it's called CTXMenu and is included in the Windows Mobile 6.5.3 DTK.
It demonstrates how to implement a context menu extension handler.
The application extends the File Explorer context menu that appears when you tap and hold a file.
Unfortunately it's coded in C++ and I'm not so familiar with C++, so I can't help you with your problem.
But if this code sample is useful for you, I would appreciate it if you could tell me how you managed it to get this work.
I had similar problem these days. After about 2 days of googleing and editing and trying (with my minimal c++ knowledge) I succeded to create menu item which started my application with filename parameter. Of course I used the CTXMenu example and some other examples too.
As far as I know (and tried) there is not other way than extension to file manager.
Good thing is you can create menu item for all filles ("*").