Pocket PC Freeware .mobi
Subscribe for RSS feed Twitter
This is controlled with the file hardkeymenu.txt. It’s an ASCII file with the next layout {key seq}={Description}={Command} where:
{key seq}
is the sequence of abbreviations of key strokes (38 Chars Max).
The abbreviation to use of each key is shown on screen when a key is pressed (timeout 1 sec).
For example, for Down Key the abbreviation is DN~
(The '~' is required)
{Description}
is the text to display on screen when the exact sequence of key strokes has been reached.
{Command}
is the command to execute when the exact sequence of key strokes has been reached.
The command should include the complete path of the file to run (any registered file) and can include parameters to pass to the file included in [ ].
If the command does start with the letter 'R' then the command will be executed and the utility will exit. Otherwise it will remain running.
For example,
L8~L8~=Voice Command=RProgram FilesVoice Commandoicecmd.exe
if L8 key is pressed twice,
it will display Voice Command and then
execute Program FilesVoice Commandoicecmd.exe and
remaining running
F7~=EXIT=hardkeymenu.exe [FORCE_EXIT]
if F7 key is pressed,
it will display Exit and then
execute hardkeymenu.exe passing to it the parameter FORCE_EXIT
Then it will exit.
Sample file is provided.
If the utility is started with parameters:
1. FORCE_EXIT will terminate any instance of it running
2. REMOVE_NOTIFICATIONS will remove the notifications (see secondary functionality)
The utility can read the file namely hardkeymenu-hot.txt which can contain the registry entry for the hot key to be set.
Example:
SOFTWARE\Microsoft\Shell\Keys\40C7
The utility will also load the file hardkeymenu.gif as a background picture if found.
Secondary Functionality:
Remove the notifications such as sms, missed calls etc (icon on the system tray, the flashing light etc).
This functionality is enabled by running the utility and passing to it the parameter REMOVE_NOTIFICATIONS.
Once this functionality is enabled, the utility will try to read the file hardkeymenu-f1.txt
This file must contain the registry keys which are subkeys under H_C_UControlPanelNotifications
(use a registry editor to locate them).
In the registry description of each key is given so it will not be hard to locate the required key.
Next to each key the ID needs to entered for faster performance.
If the ID is not set (recommended for testing purposes) then the program will try to locate it and if it finds it then it will display a message with the corresponding number.
For example,
the line
{A877D660-239C-47a7-9304-0D347F580408} 17412
clears the notification of missed calls for PDA2K.
the line
{A877D65B-239C-47a7-9304-0D347F580408} 22
clears the notification of unread sms for PDA2K.
the line
{A877D65B-239C-47a7-9304-0D347F580408}
clears the notification of unread sms for PDA2K and it will display a message that it found the ID to be 22
Sample file is provided.
Complementary utils:
It will switch the bluetooth from on to off and vice versa by simulating the key strokes that the PDA2k accepts.
(I could not figure out how to do it with direct calls)
May not work on other PDAs (have not been tested on any other)
It will switch the volume from on to off (vibrate) and vice versa by simulating the key strokes that the PDA2k accepts.
Most likely will not work on other PDAs (have not been tested on any other)
(I could not figure out how to do it with direct calls)
Installation Instructions:
Copy all files provided to root "/" .
Update Description:
v1.0:
- Given to public.