Assign HD2 Task Manager to Hardware Send Key - HD2 General

Hi, This is my First Post to XDA. After using TP2 for 2 months, I just got my new HD2. Its a great piece of Hardware but I immediately notice following things:
1. The Standard Task Manager that used to sit at Top Right Corner is no longer there.
2. All Settings->Personal->Buttons does not have any Button Listed. So, I cannot assign a Task Manager to Hardware Key.
After investigating, I could find that the Task Manager that find from "Settings"->"Other"->"Task Manager" is located in \windows\taskmgr.exe
This is not a Bad Task Manager but I needed to assign this to a Hardware Key.
Following Registry entries will allow you to bring up the "taskmgr.exe" when you perform a Long Press to Send Key (Left Most Hardware Key on HD2):
Go to in registry:
HKLM\Software\Microsoft\Shell\
Create a new Key: Keys
Inside "Keys" create another Key: 40C6
Inside "40C6" create following Registry values:
1. Name= Name value= Send key(Hold) type=string
2. Name= Icon value= \windows\SendKeyIcon.exe, 0 Type=string
3. Name= Flags value= 0 Type=dword
4. Name= default value=\windows\taskmgr.exe Type=string
Now restart. This is working great for me.

or just use Duttys Task Manager for Leo which adds back the task manager to the top right of home screen and very nice it is too

snapworx said:
or just use Duttys Task Manager for Leo which adds back the task manager to the top right of home screen and very nice it is too
Click to expand...
Click to collapse
I used Dutty as well. It gives back the Lost Task Manager from TP2. However, I also need a ATL-TAB type task switcher.

rezaulkabir said:
I used Dutty as well. It gives back the Lost Task Manager from TP2. However, I also need a ATL-TAB type task switcher.
Click to expand...
Click to collapse
Try this
http://forum.xda-developers.com/showthread.php?p=1700898
I don't know about assigning it to keys though. May be something in the registry to assign buttons?

A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.

Hi all,
I'd like to map another key for a long press. For example the Windows logo hardware key. What is the code for this ? I only know 40C6 for the call key.
Thanks.

johncmolyneux said:
A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.
Click to expand...
Click to collapse
Man, that is brilliant! I thought I was going to have to install AE buttons to achieve this! thanks heaps.

johncmolyneux said:
A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.
Click to expand...
Click to collapse
If "long_send" exists, I cannot answer incoming call with this key.
Is it possible to assign a long press action to "home" or "Windows" key? What will be the right filename? It seems not possible with HD2 after seraching the forum.
Thanks.

Thanks!! This registry tweak works like a charm!
Trick with long_send.lnk doesnt work for me...
Another keycode is 40C7 for Endkey.

Does anyone know how to make this work on a bluetooth headset?
I'm trying to get cybertron Voice Commander to fire up on a long press of the send button on my bluetooth headset.
I've put a link to the app in /windows and named it long_send. The send key on my HD2 opens the app but the headset key doesn't?
Any idea why?
Regards
Clive

johncmolyneux said:
A much simpler way to run something from a long press on the send key is to make a shortcut to the app and rename it to "long_send". Then, copy it to the windows folder.
Click to expand...
Click to collapse
That is great!
Any other shortcuts for at least one of the HD2 keys (Home, Back, Win)?

Since I just ran into a problem with the long_send way of doing things, I thought I would add what I encountered.
I have just bought pocketshield, and wanted to have a task manager on a long send key function. Changing copying a shortcut to \windows and renaming it long_send worked great, until I power cycled. At that point the long_send disappeared, and I had to redo the shortcut trick.
I figured something was deleting it, so I used total commander to change the shortcut properties to a system read only file. This worked for the long_send function, but it broke my task manager...
So, I deleted the long_send shortcut, rebooted, and the task manager worked again, so it seems there is a conflict. I ended up using the registry hack from the first post to get it working.
Cheers!

An easier approach... You can assign any volume key long-press to the task manager(or to any program), with Volumex software
Volume keys are easier to reach as they are always next to your thumb(left hand) or next to your index (right hand). Especially on the HD2 which is big and HW keys too far below...

any solution for the win key?

sorry. duplicate..

slayerns said:
any solution for the win key?
Click to expand...
Click to collapse
+1
I would like to map this to the win hard button too.

Hello,
How to change the function to the button "Back" HTC HD2?
Merci

cliver said:
Does anyone know how to make this work on a bluetooth headset?
I'm trying to get cybertron Voice Commander to fire up on a long press of the send button on my bluetooth headset.
I've put a link to the app in /windows and named it long_send. The send key on my HD2 opens the app but the headset key doesn't?
Any idea why?
Regards
Clive
Click to expand...
Click to collapse
Well, I wonder how HTC could miss this point about assigning buttons and bluetooth stuff as flixibility is probably the most important thing that wm users want.
For me, I have tried the long_send.lnk trick with MSVC, which works , but I can't receive call with send button. Now my main problem is the call button on my headset that when I long press it, it doesn't start any application, but after I install Cyberon VSD, it starts. There should be somewhere that we can configure the file location in which this long press function triggers, but still can't find it. I even can't find the Cyberon exe files.
Any idea, guys? Thanks in advance..

rezaulkabir said:
Hi, This is my First Post to XDA. After using TP2 for 2 months, I just got my new HD2. Its a great piece of Hardware but I immediately notice following things:
1. The Standard Task Manager that used to sit at Top Right Corner is no longer there.
2. All Settings->Personal->Buttons does not have any Button Listed. So, I cannot assign a Task Manager to Hardware Key.
After investigating, I could find that the Task Manager that find from "Settings"->"Other"->"Task Manager" is located in \windows\taskmgr.exe
This is not a Bad Task Manager but I needed to assign this to a Hardware Key.
Following Registry entries will allow you to bring up the "taskmgr.exe" when you perform a Long Press to Send Key (Left Most Hardware Key on HD2):
Go to in registry:
HKLM\Software\Microsoft\Shell\
Create a new Key: Keys
Inside "Keys" create another Key: 40C6
Inside "40C6" create following Registry values:
1. Name= Name value= Send key(Hold) type=string
2. Name= Icon value= \windows\SendKeyIcon.exe, 0 Type=string
3. Name= Flags value= 0 Type=dword
4. Name= default value=\windows\taskmgr.exe Type=string
Now restart. This is working great for me.
Click to expand...
Click to collapse
I am not shure what goes into Name field and what into String field, i have tried to put Name value= Send key(Hold) into Name field, also Name value into Name, Send key(Hold) into string, and it didn't work for me. Can u tell me please what goes into what field. thanks

Here is the ready complete registry key
http://www.megaupload.com/?d=OLB5RHLE
Put in the phone and start, soft reset after that.
Go to settings\personal\buttons and assign program for the list that appears below.

Related

CommManager on Hard button?

Tried to assign CommManager to a hardbutton but had no luck, any reghacks or similar that I can do to assign it f.ex HOLD Audio REcord button?
Go to windows directory and you can find CommManager.exe file. Create a short cut and copy to "\Windows\Start Menu\Programs" . Now Comm Manager will apear in your available programs list. No go to Settings --> Buttons and assign it to any button you want.
ric h710 said:
Tried to assign CommManager to a hardbutton but had no luck, any reghacks or similar that I can do to assign it f.ex HOLD Audio REcord button?
Click to expand...
Click to collapse
I used Resco Explorer.
Find windows/commeneger.exe and in Resco Eplorer choose "send to start menu as shortcut. (or something like this)
After this you can assign to any hardbutton
double.........
Thanks alot, now it works perfect!!!
Is CommManager.exe a hidden file? Using File Explorer I can't see it in my Windows directory....
Yes it's cool to have a shortcut for commanager, but I am only able to configure the voice and the camera button. Isn't there a way to configure "press and hold" in one of the other buttons as a shortcut? Is it possible to configure a shortcut directly to wifi on/off, instead of commanager (that would save me a couple of clicks every time I arrive home)?

Map more hardkeys

Hi there,
Is there a way to map more hardkeys in Opal? I currently only have "Button1" and "Button1 (Hold)" listed in Settings/Personal/Buttons.
I looked up the keys in registry:
HKLM\Software\Microsoft\Shell\Keys\
There are actually three folders/keys:
40C1 = Button 1
40C4 = Button 1 (Hold)
40C6 = Undefined?
Can I add more keys by editing registry? Anyone has experience doing this?
I'm going to try this old trick
1. install PHM Regedit (or any other registry editor)
2. go down to this location HKLM\SOFTWARE\Microsoft\Shell\Keys
3. create a key "40C8"
4. Go to the key HKLM\Software\Microsoft\Shell\Keys\40C5
5. Select all values under that key and copy it
6. Paste it under the new key "40C8" you just created in step 3
7. rename it to suit a readable name like "Backlight"
8. Softreset using some app like psShutXP or pocket plus (and NOT using the hole)
8. now, you can configure this button as u do normally (for the rest of the buttons)
I'll just try some random numbers (eg. 40C1, 40C2...)
Source post
Keep you posted!
vanshyp said:
Keep you posted!
Click to expand...
Click to collapse
I tried the wonderful PQz_CHECK.exe to detect Opal's hardkeys. Problem is that I don't see them in Settings/Personal/Buttons after adding them to the registry with the method you find in my former post.
eg. The big "Action" button is presumably hardkey "400D". I added the necessary data to HKLM\Software\Microsoft\Shell\Keys\400D but nothing gets listed.
I think only buttons that start with 40Cx are listed in "Buttons".
Maybe someone can find a solution to this? I know there is AEBPlus, but I like poking around
It would be great if we could get all the keys in the "Buttons" menu in Opal's ROMs.

HTC Snap (Sprint) Re-mapping Internet & My Circle shortcut keys

Hi.
I was curious if anyone knows a way to re-map the internet browser shortcut key that is on the bottom right of the Sprint HTC Snap. I would like to have it open Skyfire instead of IE. Skyfire is set as my default browser but the button still opens IE. Also, do the same thing with the Mycircle key but change it to open Task Manager.
Thanks.
The file is in \Windows and it's called short_circle.lnk. Just make a new .lnk and call it short_circle.lnk and copy it to \Windows overwriting the old one.
Hi I got the Inner Circle key remapped using both short_circle.lnk and long_circle.lnk.
I am still having trouble getting the internet key to remap to Skyfire. I have tried making PIE.lnk, short_IE.lnk, long_IE.lnk, short_PIE.lnk, long_PIE.lnk. None of these seems to do the trick. Any ideas?
webworker01 said:
Hi I got the Inner Circle key remapped using both short_circle.lnk and long_circle.lnk.
I am still having trouble getting the internet key to remap to Skyfire. I have tried making PIE.lnk, short_IE.lnk, long_IE.lnk, short_PIE.lnk, long_PIE.lnk. None of these seems to do the trick. Any ideas?
Click to expand...
Click to collapse
That key may be hardware coded into the keyboard driver. Not sure.
Hello,
i have an German Model of the Snap.
And i don´t Use Inner Circle. So the TaskManager will be the best Applikation on this Button.
But it don´t work.
I Edit the Files
- InnerCircle.lnk
- Short_Circle.lnk
and Change ist to the TaskMgr.exe.
I Restart my Phone, but the Button always Call the InnerCircle Funktion.
What is my mistake?
Greatings
Christian
c.radi said:
Hello,
i have an German Model of the Snap.
And i don´t Use Inner Circle. So the TaskManager will be the best Applikation on this Button.
But it don´t work.
I Edit the Files
- InnerCircle.lnk
- Short_Circle.lnk
and Change ist to the TaskMgr.exe.
I Restart my Phone, but the Button always Call the InnerCircle Funktion.
What is my mistake?
Greatings
Christian
Click to expand...
Click to collapse
Christian, instead of editing the Short_circle.lnk file directly, try as follows:
1. Copy the TaskManager.lnk file from your Windows/Start Menu to another folder (i.e /Storage Card)
2. go in /Storage Card and rename TaskManager.lnk as Short_Circle.lnk
3. Copy this file into /Windows
This should work..at least it did for myself.
Regards
Hello,
thanks for your reply, but it doesn´t works.
The InnerCircle Key always start the Inner Circle Applikation.
Greetings
Christian
1) use total commander or the likes,
2) change the read-only attribute on the short_circle.lnk.
3) then replace the shortcut with whatever application you'd like to run and save it as short_circle.lnk.
Thanks! This worked for me.
ookba said:
That key may be hardware coded into the keyboard driver. Not sure.
Click to expand...
Click to collapse
Hi there,
Do you have more info on that ? I have a S521 (Frenchy ass, fruity ass), and the so-called internet key is for Live Mess-enger. I would be really interested in mapping a different function to that key.
Hi,
is it possible to re-mapping also key dedicated for Live Messenger? I try it in the same way, like for Inner Circle (which work correctly), but without effect.
I know this reply is late, but for anyone still playing around with HTC SNAPs:
lojza_ said:
Hi,
is it possible to re-mapping also key dedicated for Live Messenger? I try it in the same way, like for Inner Circle (which work correctly), but without effect.
Click to expand...
Click to collapse
Yep I managed this one:
do the same for \Windows\Start Menu\Messaging.lnk
I Used Total Commander, edited Short_Circle.lnk to be non read only
Found the shortcut i wanted to use, edited the file and copied the shortcut link (do a select all), then edit Short_Circle.lnk, remove the old shortcut path and select all and then paste. Enjoy your Custom single Button shortcut key
I have Telstra Branded Snaps, and i had to remove the security off the phones before i could untick the read only attribute on the Short_Circle.lnk shortcut.
To remove the security:
Install "Clear Security.cab"
Install and Launch Microsoft’s Security Configuration Manager on your PC
Select Security Off from the drop down menu and click the Provision button, the program will install a file called Tool.cab on the mobile device.
MS Security Configuration Manager available here:
http://www.microsoft.com/downloads/...8c-d587-47e0-908b-09fee6ea517a&displaylang=en

Please help - can't change the right softkey!

Hi guys!
I tried to change my right softkey from "Menu" to "BT Toggle" (a bluetooth switching program I've already installed) using Advanced Configuration Tool 3.3 but it didn't work on my HD2.
When I restart the HD2, the key is changed to "BT Toggle" but after entering the PIN and after HTC sense started the key is named "Menu" again.
I looked into the registry but all is right there, the changes were saved. But why is the new softkey name only displayed before starting HTC sense and not after?
Any ideas?
Best regards,
Oliver
Home RSK
I wouldn't mess with the right soft key of sense.
Only the left.
How would you edit the quick tabs?
If you aren't using sense, only the WM interface, you can edit those SK's.
Did you get BT Toggle to work?
It wouldn't for me.
Benz-Driver said:
Hi guys!
I tried to change my right softkey from "Menu" to "BT Toggle" (a bluetooth switching program I've already installed) using Advanced Configuration Tool 3.3 but it didn't work on my HD2.
When I restart the HD2, the key is changed to "BT Toggle" but after entering the PIN and after HTC sense started the key is named "Menu" again.
I looked into the registry but all is right there, the changes were saved. But why is the new softkey name only displayed before starting HTC sense and not after?
Any ideas?
Best regards,
Oliver
Click to expand...
Click to collapse
This one works with my HD2:
http://forum.xda-developers.com/showpost.php?p=4292054&postcount=11
Sorry, what do you mean with
I wouldn't mess with the right soft key of sense.
Only the left.
Click to expand...
Click to collapse
My english isn't that good...
Using this post by vovichek62 as a guide I used the following process to change the right soft key:
Download LuaDec from here and extract
Copy \Windows\07c67730_manila from device to luadec folder (and somewhere else as a backup).
Open a command prompt there
Run
Code:
luadec 07c67730_manila > 07c67730_manila.lua
Open 07c67730_manila.lua in an editor like notepad
You need to change two functions. The fuction above "SetSoftKey = l_0_0" sets the text for the soft buttons. This is my modified line:
Code:
_application:SetRightSoftkey(Softkey(Locale:GetString("IDS_CONTACTS"), OnMenuPressed))
I think it was originally set to IDS_MENU. That "OnMenuPressed" is the function called when you press it.
So now you need to change that function - The function above "OnMenuPressed = l_0_0". On mine this is now:
Code:
l_0_0 = function()
_application.Navigation:Navigate(URL("Manila://people/browserlayer/peopleAll.page"), false)
end
Now, back in the command prompt run:
Code:
luac -o 07c67730_manila 07c67730_manila.lua
and copy 07c67730_manila back to your device.
If you were up for it you could probably copy some of the left soft key code to allow changing the right soft key in the registry.
Xaddict is right, once you do this you can no longer tweak your home buttons. If I need to change one I go back in to the registry and find:
HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\0\IsSet (where 0 is the button number) and change the value to 0. If you then restart manila (or your device) you can change that button. It will still show the old text and icon until you do. I also made a simple .reg which clears all the buttons, attached. For me it was worth this hassle as I could remove the People tab.
Tx fot BT Toggle
Nice one.
Thanks very much : )
Benz-Driver said:
This one works with my HD2:
http://forum.xda-developers.com/showpost.php?p=4292054&postcount=11
Sorry, what do you mean with
My english isn't that good...
Click to expand...
Click to collapse
iv just made a new 07c67730_manila file that reads from the registry
so all you have to do is download my 07c67730_manila file
http://www.filefront.com/16489283/07c67730_manila
then copy it to your windows folder (backup the old 07c67730_manila file)
then in registry at:
HKLM > Software\HTC\Manila
Change:
HomeRSKPath
HomeRSKText
HomeRSKArguments
to anything you like
for contacts:
HomeRSKPath Manila://people\browserlayer\?.page
HomeRSKText anything you like something liek contacts or all people
HomeRSKArguments leave this blank
how to remove quick Links without the menu:
all you do is hold the quick link you dont want for about 3-4 seconds and then drag it away this works on my dutty rom but gessing its the same for all roms
I am using HD2Tweaks - beats the hassle of backing up/copying manila files, editing registry entries - to assign the left and right softkey at the Home/Today screen.
But the available options are a fixed set.
Telephone (default for left), Menu (default for right), Backlight, Contacts, Contacts List, Notes, Calendar WM, Calendar WM (week view), Calendar WM (month view), New Appointment, Tasks, Messaging, SMS/MMS, Internet, Opera, Camera, Album, Comm Manager, File Explorer, Google Maps, Internet Sharing, MyPhone, RSS Hub, Radio FM, Windows Live, You Tube.
http://forum.xda-developers.com/showthread.php?t=588652
HD2Tweaks does not work for me on duttys rom so if HD2Tweaks works thats grate but mine is like a backup option
Holding quicklinks for 3-4 secs dont work for me. I'm on 1.66 WWE stock ROM. Need help on how to remove quicklinks. Also does anyone know the path for New SMS on LSK or RSK? Thanks!

VJ KeyPress - Send a '1' to the phone.

Okay, so I'm using Google Voice with call presentation on, and I want to setup a shortcut to send a '1' to the phone to accept an incoming call. I just got a bluetooth watch and I want to be able to have the watch send the key so I don't need to dig out my phone when I'm in the car.
So, to test this a little bit I installed KeyPress and I setup that if I double press my start button in AE Buttons, it runs KeyPress with the parameter of 97. This works perfectly. No issues at all.
But when I try to create a short cut, everything fails. If I just press tap VJKeyPress, I get the little "help" screen. If I create a shortcut, and tap it, I also get the help screen. But when I try to modify the shortcut to pass the '97', then it fails.
I'm guessing that I'm missing something in the syntax, but I can't figure it out.
I have the path, in quotes:
"\P F\vijay555\VJKeyPress\VJKeyPress.exe"
Then I've put 97 at the end just plain, in quotes, in <>, I've put in right behind the .exe inside the quotes... Nothing seems to work at all. I'm at a total loss.
Anyone have a suggestion?
Hi,
Could you send me a screenshot of the configuration screen in AE Buttons.
I can't think why it wouldn't work, but what you could do is create a normal shortcut that launches VJKeypress with the required parameters, and then use AE Button to launch that .lnk shortcut itself, rather than VJKeyPress.exe
Should you get really stuck, VJBrisk might be able to help you, but I think the above should be adequate.
Drop me a PM (and post in the thread) again if you get stuck.
V
Oops... I didn't think I explained myself properly.
The AE Buttons is WORKING. It's the normal shortcut link that I can't get to work... and that's the thing I really need to get working.
Sorry, my bad, didn't read it properly.
I normally put example shortcuts in my cabs, but curiously I've got none in the cab on my phone. Can't believe the app is nearly 5 years old! Wow.
Anyway, I just tried making a shortcut.
If you paste the following:
Code:
55#"\Program Files\Vijay555\VJKeyPress\VJKeyPress.exe" 133
into a text document, and rename it Test.lnk, and copy that over to your phone, it should create a shortcut that locks your phone.
If that works, just change the parameter to do what you want.
What app are you using to create shortcuts?
And what's the significance of the \p\f in your first post?
V
A bit more information...
I tried to write a simple MortScript to run this as well. According to the MortScript manual, to run an app, you use this command:
Run ( "\path\AppName" [,"Parameter"] )
In other words, the path and the command first, and then put in the optional parameter. When I put in just the app name:
Run( "\Program Files\vijay555\VJKeyPress\VJKeyPress.exe" )
And run the script, I get the little help popup as I would expect. When I put in the parameter:
Run( "\Program Files\vijay555\VJKeyPress\VJKeyPress.exe" , "97" )
Nothing happens.
vijay555 said:
If you paste the following:
Code:
55#"\Program Files\Vijay555\VJKeyPress\VJKeyPress.exe" 133
into a text document, and rename it Test.lnk, and copy that over to your phone, it should create a shortcut that locks your phone.
Click to expand...
Click to collapse
Okay... well that locked the phone fine.
If that works, just change the parameter to do what you want.
Click to expand...
Click to collapse
I'm using both the text editor on Windows and Word on my PPC (not saving it in Word Format when prompted).
What app are you using to create shortcuts?
Click to expand...
Click to collapse
Just Copy the original file and then paste as shortcut.
And what's the significance of the \p\f in your first post?
Click to expand...
Click to collapse
Didn't feel like typing out \Program Files\.
Okay, so using the '133' definitely worked, but when I change it to 97 (the code to send NumPad1), it doesn't work.
But it DOES work when I tell AE Buttons to run VJKeyPress with the parameter of 97. Ugh... very odd.
Just for the fun of it, I also tried setting up a button in AE Buttons to run the shortcut that has '97' in it. That didn't work. I'm at a complete loss to figure out what's going on.
It may be that the keypress is occurring, but it's being fed into AE Buttons rather than the Phone Dialler, ie if when you press the required button, AE Button becomes active, which launches VJKeyPress, which presses 1 <b>within</b> AE Button, not the phone dialler.
You could test this by trying other keys and seeing what happens.
Also try activating Word or something else on your phone and launch the shortcut - see if the desired key gets pressed.
Also, you said NumPad1 - this is the number pad on a pc keyboard.
Try 49, which is just key 1.
V

Categories

Resources