PDA

View Full Version : How to assign a shortcut to EndKey, SendKey, Power Button, PTT Button!!


hma4
3rd January 2008, 08:40 PM
Hello :)

Since some of you guys asked about this , well there you go:
if you look inside the keyboard driver with a good disassembler (IDA Pro) you would see that you can create these link files :

Long_PTT.lnk (push to talk button+long press)
Long_End.lnk (the read key+long press)
Long_Send.lnk (the green key+long press)
Short_PTT.lnk (push to talk button)
Long_Power.lnk (Power button +long press)
Short_Power.lnk (Power button)

So basically all you need is to create these link files and put them in to windows folder. You can assign these keys to any shortcut you want ;)

I attached one of my favorite short cuts ;) unzip the file then put it in to your windows folder. then press Send Key for about 2 to 3 second to run the shortcut. It will bring up the wifi networks.

Have fun.
Hma4

ps:for assigning EndKey to HTC EndKey look here:
http://forum.xda-developers.com/showthread.php?t=356192

petervbeck
3rd January 2008, 09:11 PM
This is just great! Hats off! Now Endkey makes some sense to me... :)

smittyofdhs
3rd January 2008, 09:18 PM
This has to be the best trick found since I got my Tilt. THANK YOU!!!

Mine is setup as follows:

Long Send - Comm Manager
Long End - Invoke S2U2
Short PTT - PocketPlus4 Alt+Tab Switcher
Long PTT - Voice Command

I did the PTT button mappings with PP4's button enhancement instead of the lnk files mentioned above. But the other 2, which until now, have not been useable for long presses, so THANK YOU again.

surur
3rd January 2008, 09:23 PM
While poking around in the keyboard driver, did you see a way to assign a shortcut to sliding the keyboard out? I think a HTC Action-type app for the Kaiser is not a bad idea.

Surur

Edvard_Greig
3rd January 2008, 09:28 PM
ok, I feel really dense, how do you assign the keys? I don't see them listed under buttons after copying the lnk file to my \windows directory. Can this only be done when cooking a ROM? What am I missing? (I did a soft reset after the copy)

smittyofdhs
3rd January 2008, 09:33 PM
ok, I feel really dense, how do you assign the keys? I don't see them listed under buttons after copying the lnk file to my \windows directory. Can this only be done when cooking a ROM? What am I missing? (I did a soft reset after the copy)

they won't show up there. Just try the button after you copy the lnk file to windows directory.

What I did was find the shortcuts that I want to use for the send and end button. Copy those shortcuts and rename them to the above names. Then move the shortcut into windows directory. it worked right away, no reboot needed.

Edvard_Greig
3rd January 2008, 09:37 PM
Ah got it! Thanks!

galenmd
3rd January 2008, 10:50 PM
OMG this is so awsome! Thank you!!

I already have the PTT button reprogrammed using the registry hack listed elsewhere. I think I will leave those as is and use this method after the next hard reset.

gullum
3rd January 2008, 11:59 PM
Dam this is realy good findings :) you just keep amazing me hma4 now I have to but the endkey back into my rom :)

Nadavi
4th January 2008, 12:15 AM
Great Catch! :)

Thanks,
Nadavi

J273
4th January 2008, 12:18 AM
Would this also work with a touch dual?


Thanks

smuook
4th January 2008, 12:58 AM
Thanks for this... this is nice. ;)

smittyofdhs
4th January 2008, 01:06 AM
Would this also work with a touch dual?


Thanks

it can't hurt to try, just try the Send Long shortcut, it works immediately without reboot.

TSoma
4th January 2008, 02:46 AM
How on earth do you find the shortcut codes to put in the file?

hma4
4th January 2008, 03:05 AM
How on earth do you find the shortcut codes to put in the file?

It's very simple ! :) just find a short cut from your windows folder , say AudioManager.lnk for example .. then copy it to your PC .. open a notepad , drag and drop the file to notepad , then edit the address inside the file and save it (pick one of those names i mentioned on the first post) then copy it to your windows folder and you are done ! :)

galenmd
4th January 2008, 05:02 PM
Are there any long press hacks for the other 4 hard keys (<OK>, <Start>, etc)?

v3patel
4th January 2008, 05:32 PM
Hello :)

Since some of you guys asked about this , well there you go:
if you look inside the keyboard driver with a good disassembler (IDA Pro) you would see that you can create these link files :

Long_PTT.lnk (push to talk button+long press)
Long_End.lnk (the read key+long press)
Long_Send.lnk (the green key+long press)
Short_PTT.lnk (push to talk button)
Long_Power.lnk (Power button +long press)
Short_Power.lnl (Power button)

So basically all you need is to create these link files and put them in to windows folder. You can assign these keys to any shortcut you want ;)

I attached one of my favorite short cuts ;) unzip the file then put it in to your windows folder. then press Send Key for about 2 to 3 second to run the shortcut. It will bring up the wifi networks.

Have fun.
Hma4

ps:for assigning EndKey to HTC EndKey look here:
http://forum.xda-developers.com/showthread.php?t=356192

I have created small script that you can use to assigned and remove buttons using Mortscript. In order for it to work please download mortscript 4.1.0 from this website (http://www.sto-helit.de/index.php?module=download&entry=ms_program&action=list)>> install it >> download attached zip and unzip in any folder of your choice and then doubleclick on that file in your device. Currntly it only work for lnk files but i will add exe file later on.

cuboosh
4th January 2008, 05:50 PM
where is this attachment?

smittyofdhs
4th January 2008, 05:59 PM
Are there any long press hacks for the other 4 hard keys (<OK>, <Start>, etc)?

those have to be done thru registry or by use of an app like Pocket Plus 4. I know there are probably some free ones out there, but PP4 is what I use.

Jim_R
4th January 2008, 06:10 PM
Thank you!!!

Any chance a Long_End.lnk can be devised that opens Wireless Manager?

:D

smittyofdhs
4th January 2008, 06:18 PM
Thank you!!!

Any chance a Long_End.lnk can be devised that opens Wireless Manager?

:D

use file explorer, locate \windows\start menu\programs\. Then find the Comm Manager.lnk, copy it & rename it to whatever long press you want, then move the renamed file to \windows.

v3patel
4th January 2008, 08:08 PM
where is this attachment?

Sorry at first timewhen i attached forum did not like attaching .mscr files. new zip file is now attached.

Jim_R
4th January 2008, 09:07 PM
use file explorer, locate \windows\start menu\programs\. Then find the Comm Manager.lnk, copy it & rename it to whatever long press you want, then move the renamed file to \windows.

For some odd reason I didn't find a Comm Manager.lnk there, but I did find it in \Windows, so I'm all set! :cool: Thanks much!

smittyofdhs
4th January 2008, 09:13 PM
For some odd reason I didn't find a Comm Manager.lnk there, but I did find it in \Windows, so I'm all set! :cool: Thanks much!

that's right, the Tilt by default didn't ahve that shortcut. I added to mine because I hated usign the wireless manager link on the connection bubble. Yeah, the one in the windows directory is what I used to....

perfect!

cushcalc
4th January 2008, 09:58 PM
Hello :)

Since some of you guys asked about this , well there you go:
if you look inside the keyboard driver with a good disassembler (IDA Pro) you would see that you can create these link files :

Long_PTT.lnk (push to talk button+long press)
Long_End.lnk (the read key+long press)
Long_Send.lnk (the green key+long press)
Short_PTT.lnk (push to talk button)
Long_Power.lnk (Power button +long press)
Short_Power.lnl (Power button)

So basically all you need is to create these link files and put them in to windows folder. You can assign these keys to any shortcut you want ;)
. . .

I thought Long_Send.lnk would be useful, but unfortunately it overrides the default behavior while in a phone call, namely that of toggling speakerphone on or off, which is a feature I use often.

Long and Short PTT press are already defined in XDA-Live ROM, and are re-definable in Settings>Buttons. Long_End is defined as lock + GPRS end, and can be changed in Registry to be GPRS end only.

If Long and Short Power button presses were redefined, how would the standard functions of that button be replaced?

Yet, anyway, nice to have this info. Thanks for finding it!

marcelvanblankers
4th January 2008, 10:13 PM
Hello :)

Since some of you guys asked about this , well there you go:
if you look inside the keyboard driver with a good disassembler (IDA Pro) you would see that you can create these link files :

Long_PTT.lnk (push to talk button+long press)
Long_End.lnk (the read key+long press)
Long_Send.lnk (the green key+long press)
Short_PTT.lnk (push to talk button)
Long_Power.lnk (Power button +long press)
Short_Power.lnl (Power button)

So basically all you need is to create these link files and put them in to windows folder. You can assign these keys to any shortcut you want ;)

I attached one of my favorite short cuts ;) unzip the file then put it in to your windows folder. then press Send Key for about 2 to 3 second to run the shortcut. It will bring up the wifi networks.

Have fun.
Hma4

ps:for assigning EndKey to HTC EndKey look here:
http://forum.xda-developers.com/showthread.php?t=356192

if i'm wrong, plz say so, but does this mean i can make Long End.lnk behave like Short_Power.lnk. So Long_End.lnk will power off and Power on device?

If so, who's up for it.

Greetz

Bouloama
4th January 2008, 10:16 PM
Can we also assign something to the OK key (under the scroll wheel)? like Long_OK.lnk ?

hma4
5th January 2008, 05:59 AM
I thought Long_Send.lnk would be useful, but unfortunately it overrides the default behavior while in a phone call, namely that of toggling speakerphone on or off, which is a feature I use often.

Long and Short PTT press are already defined in XDA-Live ROM, and are re-definable in Settings>Buttons. Long_End is defined as lock + GPRS end, and can be changed in Registry to be GPRS end only.

If Long and Short Power button presses were redefined, how would the standard functions of that button be replaced?

Yet, anyway, nice to have this info. Thanks for finding it!

You are right :) well the whole idea was to map the HTC EndKey to the end key :) That's what i was looking for at first place. can you give me the registry to change the lock+GPRS to GPRS ?! :) thanks

ogreen
6th January 2008, 06:55 PM
Any one know what the where a shortcut to the Today screen is located? I am tying to make a long_start link.

Jim_R
6th January 2008, 10:57 PM
Any one know what the where a shortcut to the Today screen is located? I am tying to make a long_start link.

:confused: A short press on the end button will bring up the today screen if you on any other screen.

v3patel
7th January 2008, 02:30 PM
Any one know what the where a shortcut to the Today screen is located? I am tying to make a long_start link.

If you have quick menu installed then attached file will help you to get shortcut to today's screen
-----------------------
32#"\Windows\QuickMenu.exe" -c:1024
-------------------------

cushcalc
7th January 2008, 09:26 PM
You are right :) well the whole idea was to map the HTC EndKey to the end key :) That's what i was looking for at first place. can you give me the registry to change the lock+GPRS to GPRS ?! :) thanks

From Tilt XDA-Live v1.1 thread: (http://forum.xda-developers.com/showthread.php?t=346855&page=2&highlight=XDA-Live+v1.1) In Kyphur's XDA-Live v1.1 and v1.2, Long Press Red End Key is set up to be lock + terminate GPRS, and you can change it to terminate GPRS only as follows:

Quote:
Originally Posted by cushcalc
Can this be optional?

I am used to, and like, long press of RED End Key being shutdown of GPRS connection.

Change the value of "HKCU\ControlPanel\Keybd\LongEndFunction" from One to Zero.

__________________

However, trying Alex's MM Tilt ROM now, and this registry setting doesn't work there - so I think we must ask Kyphur what registry setting he cooked in to XDA-Live that enabled the dual function in the first place.

Edit 2008-01-08:

I was able to assign just "Lock" to Long_End.lnk by creating a shortcut in QuickMenu for "Lock", putting that shortcut into \Windows and renaming it to Long_End.lnk. And since I have GPRS set via KaiserTweak to shut down after 10 minutes of inactivity, I think I've got my needs covered. I liked the clean "Two birds with one stone" effect that Kyphur enabled, but this works pretty well for me.

Will this do it for you?

debauch
7th January 2008, 11:02 PM
Anyone know if there is a short cut (.lnk file) to turn bluetooth on and off? I searched the windows directory but didn't find anything that made sense to me.

I want to assign bluetooth on/off to the PTT key so I don't have to open the Communication Manager...one less step.

Thanks.

redgarter437
8th January 2008, 12:55 AM
Thanks for this find! It's very easy and convenient to assign button commands this way!

I do have a question, though... I'm using the default AT&T Tilt ROM, and I've assigned Short_PTT.lnk to the Wireless Manager. It works, but there's a problem: not only does the Wireless Manager load, but AT&T's PTT application also loads!

Is there a way to disable the AT&T PTT app (without doing the registry editing, etc.)? I'm avoiding tampering with the registry, but I can if I have to.

Thanks!

Wilhelm
8th January 2008, 06:39 AM
I tried to assign it to A2DP toggle but it says it can't run because it's not signed.

Beeble
16th January 2008, 03:26 PM
Cheers for this!

Now i can have my ptt button start a new txt - damn M$ for removing the "new" from messaging!
(oh, for those who want to do the same, just make a shortcut to** "tmail.exe" -service "SMS" -to "" ** no *'s tho!)

AldaR
25th January 2008, 11:38 PM
how can I make settings->connections->connections shortcut ?

v3patel
26th January 2008, 12:00 AM
how can I make settings->connections->connections shortcut ?

create shortcut

23#ctlpnl cplmain.cpl,19,0?shellres.dll,-13953
unzip attched file.

AldaR
26th January 2008, 05:33 PM
create shortcut

23#ctlpnl cplmain.cpl,19,0?shellres.dll,-13953
unzip attched file.
"23#ctlpnl cplmain.cpl,19,0?shellres.dll,-13953"

ty very much but
how can u know it?

v3patel
26th January 2008, 05:36 PM
"23#ctlpnl cplmain.cpl,19,0?shellres.dll,-13953"

ty very much but
how can u know it?

keep reading all post in the the best foums in the world XDA-FORUM you will get 99% to your questions without asking.

AldaR
26th January 2008, 09:39 PM
keep reading all post in the the best foums in the world XDA-FORUM you will get 99% to your questions without asking.
can u give a clue.. I search whole words I think but ı cant find ?

flushbeer
27th January 2008, 07:49 AM
Hi !

Does anybody know a way to assign "UMTS on/of" to the buttons? I don't use it very often, but if i do, I would need an easy way of turning it on without goint through menus.

thx

myteematt
28th January 2008, 06:35 PM
On our phones if the keyboard is opened you can toggle wifi with the Function key and then the right arrow key. Can this also be mapped to a key like Long Send, and if so can someone please help with solution. Thanks in advance.

P.S.
I've already tried AE Button Plus and VJVolubilis and they didnt work

AldaR
30th January 2008, 05:12 PM
is there a way like this to make shortcut for explorer and message buttons

racajay
13th February 2008, 08:29 AM
I thought Long_Send.lnk would be useful, but unfortunately it overrides the default behavior while in a phone call, namely that of toggling speakerphone on or off, which is a feature I use often.

Long and Short PTT press are already defined in XDA-Live ROM, and are re-definable in Settings>Buttons. Long_End is defined as lock + GPRS end, and can be changed in Registry to be GPRS end only.

If Long and Short Power button presses were redefined, how would the standard functions of that button be replaced?

Yet, anyway, nice to have this info. Thanks for finding it!

I am using Dutty's DualTouch v4 RTM Rom on my Tilt and after flashing with this my Long Send key is mapped to comm Manager. Do you know how can I remap it to toggling speaker phone on or off (I use this feature often)

bommerlunder
16th February 2008, 09:49 PM
hi,
i have 8925 and i've already read the whooole thread and also searched for anykeyword but i have a problem that when i go to windows folder (using Resco explorer) i can't see any of those files listed iin the first post ?!?!
for ex Short_PTT.lnk (push to talk button)
i'd like to assign this key to
- short press: show today
- long press: go to vibrate mode
any clues? thanks!

theformula
17th February 2008, 11:26 AM
It's very simple ! :) just find a short cut from your windows folder , say AudioManager.lnk for example .. then copy it to your PC .. open a notepad , drag and drop the file to notepad , then edit the address inside the file and save it (pick one of those names i mentioned on the first post) then copy it to your windows folder and you are done ! :)

And I thought I was a smarty-pants with the drag and drop in notepad trick. Your the man!

Earthworm
19th February 2008, 08:12 PM
Love this tip. I now have my long press send key linking to comm manager :D One question though. I'm using Duttys WM6.1. Short press end key (Red) will first disconnect GPRS, second short press links to today. Does anyone know how I can get the first short press to link to today? My GPRS auto disconnects after 2 mins anyway. Having to sometimes press the end key twice to get to today is a bit annoying :mad:

sirsycho
19th February 2008, 11:22 PM
well I've searched all over this forum and others and can't find an answer. This is a periodic thing I check but as yet have yet to find an answer.

I would like to map a hardware key to the in-call Mute function. Not to be confused with the silent profile or the silence ringer function. I am looking to Mute the microphone. I saw a post here that looked like someone got it to work with AE Button Plus but I couldn't replicate his success.

Anyone know of a way/tool to map the in-call Mute to a hardware button?

Thanks!!!

racajay
20th February 2008, 01:37 AM
It's very simple ! :) just find a short cut from your windows folder , say AudioManager.lnk for example .. then copy it to your PC .. open a notepad , drag and drop the file to notepad , then edit the address inside the file and save it (pick one of those names i mentioned on the first post) then copy it to your windows folder and you are done ! :)

I am using Dutty's DualTouch v4 RTM Rom on my Tilt and after flashing with this my Long Send key is mapped to comm Manager. Can anybody attach the Long_End.lnk file from Original Tilt Rom I want to remap my Long Send key to speakerphone.

my95z34
20th February 2008, 03:34 AM
Thanks for this find! It's very easy and convenient to assign button commands this way!

I do have a question, though... I'm using the default AT&T Tilt ROM, and I've assigned Short_PTT.lnk to the Wireless Manager. It works, but there's a problem: not only does the Wireless Manager load, but AT&T's PTT application also loads!

Is there a way to disable the AT&T PTT app (without doing the registry editing, etc.)? I'm avoiding tampering with the registry, but I can if I have to.

Thanks!

I've got the same problem. Any luck?

ilordvader
20th February 2008, 04:14 AM
Can someone help me assassin
AT&T's PTT button to start TeleNav

Thank you

cherrro
21st February 2008, 08:50 PM
I search for the program that can run that (see the photo). I think it's HtC Press Power key but i'm not sure.
If you have the link ... thank you!!

I have htc P3600 (with wm6 Faman 4.03).

Help me please.

artyjeep
22nd February 2008, 12:13 PM
I agree that this is a great find but it's not quite working for me. I created a Short_PTT link to Voice Recorder. It does launch Voice Recorder but it is also still attempting to authorize PTT. Do I need a registry hack to eliminate this? If so, could someone post the instructions?

Thanks

acboydston
22nd February 2008, 02:33 PM
Thanks for this find! It's very easy and convenient to assign button commands this way!

I do have a question, though... I'm using the default AT&T Tilt ROM, and I've assigned Short_PTT.lnk to the Wireless Manager. It works, but there's a problem: not only does the Wireless Manager load, but AT&T's PTT application also loads!

Is there a way to disable the AT&T PTT app (without doing the registry editing, etc.)? I'm avoiding tampering with the registry, but I can if I have to.

Thanks!

I am quite certain that a registry edit is required. In order to remap the PTT button, I have read that others have found it necessary and have personally found it required to delete:

HKLM/Services/PTT

Hope this helps.

flexte
22nd February 2008, 02:56 PM
Great find. This helps out a lot!

artyjeep
23rd February 2008, 04:39 PM
I've got the same problem. Any luck?

I had this same problem. You have to modify the registry to remove the HKLM/Services/PTT key. This link has complete instructions that worked for me.
http://forums.wireless.att.com/cng/board/message?board.id=cingular&thread.id=66438

acboydston
23rd February 2008, 11:10 PM
So does anyone know how I would use Long_End.lnk to make holding the red button turn the tilt off? I guess all I need to know is where/what is the function that does this.

@dom@
28th February 2008, 09:00 PM
I search for the program that can run that (see the photo). I think it's HtC Press Power key but i'm not sure.
If you have the link ... thank you!!

I have htc P3600 (with wm6 Faman 4.03).

Help me please.

Hi cherro
It is the Schaps Power Key app and untill now it's only available in some ROMs.This is already asked in other threads too, look here (http://forum.xda-developers.com/showthread.php?t=360024) or here (http://forum.xda-developers.com/showthread.php?t=370528), and you can also try to request it directly to Mr. Schaps (http://forum.xda-developers.com/member.php?u=354354).
Maybe you can use this other one, but quite different:
http://kaiser.tsone.info/Screens/End.jpg
This is the HTC End Key (http://forum.xda-developers.com/attachment.php?attachmentid=58136&d=1195040605)
;)
Ciao

scottcates
10th March 2008, 05:11 PM
this may seem like a simple request... but I'd like to change the settings of the power button (on right side of ATT Tilt) to map on the PTT button instead. I've mapped to lots of other things, fixed the registry so teh PTT button is active in the button list for assignments, but i cannot determine what is the actual command/choice/setting to allow for me to click on the PTT button and "wake" the phone, versus using the power button (which i find very inconventient to use)...


I know this may seem simple, but I've really been working on this for over a day, now, and I cannot seem to figure out what the actual commands are that allow the power button to wake the phone

(and before you respond, NO, it's NOT screen toggle, screen on, OR screen off)

any help/ideas?


-Scott

helpme
10th March 2008, 11:13 PM
cool discovery!

I wonder how do I map a button to check the brightness of the backlight as in the HTC Home plug-in.

cambrian
11th March 2008, 02:11 AM
hi,
i have 8925 and i've already read the whooole thread and also searched for anykeyword but i have a problem that when i go to windows folder (using Resco explorer) i can't see any of those files listed iin the first post ?!?!
for ex Short_PTT.lnk (push to talk button)
i'd like to assign this key to

- long press: go to vibrate mode
any clues? thanks!

anybody have a solution to this? I would like to assign long PTT button to vibrate mode. I know that the program vibrateswitch exists but it seems to have some problems. thanks.

medkid
16th March 2008, 11:50 AM
I try these shortcuts on my Atom life but it doens't work, can anyone give me an advice ? :)

kolgomorov
21st March 2008, 12:19 PM
You can assign these keys to any shortcut you want ;)


If I have a link wich point to a folder, it doesn't open the folder with button pressing. :mad:

leeky
25th March 2008, 06:30 PM
Do anyone know how to set up a long PTT or others key into Vibrate sounds mode. I know the previous 8125 have this option but can't find it on my new 8925

ChInEsE ChIcKeN
26th March 2008, 03:30 PM
wouldnt you think adding an upgrade to allow you to remapp the windows, ei explore,messaging, and ok buttons would be good int the motoscript app

Alkhal
12th April 2008, 06:49 PM
For those not getting how to do this... What I did was use Resco Explorer (Can use any File Explorer) went to the Windows folder then to Start Menu from there went to Programs. Searched for the .Ink of the app I wanted (IM+.Ink). Copied it then pasted it in the Start Menu folder. From there I renamed the .ink I just pasted, to whichever button I wanted it assigned to (Short_PTT.Ink). Finally copied it to my Windows folder and deleted the .ink I placed in the Start Menu folder. Voila....

ilordvader
14th April 2008, 10:05 PM
Try This -
{Solved}is there a way to remap PTT button?? (http://forum.xda-developers.com/showthread.php?p=2117286#post2117286)

bigboyhf
14th April 2008, 10:29 PM
My red end key takes me back to the Today screen the same as pressing the OK button. Long press locks the phone. I would like to have the red end key actually terminate the visible running program and leave everything else (butttons) exactly the way it is. Is there a way to do this? Did a search and came up very unclear...

mkhale
6th May 2008, 10:27 PM
they won't show up there. Just try the button after you copy the lnk file to windows directory.

What I did was find the shortcuts that I want to use for the send and end button. Copy those shortcuts and rename them to the above names. Then move the shortcut into windows directory. it worked right away, no reboot needed.

Can you tell me, after renaming the shortcut, exactly do you place the file?
What's the correct shortcut for voice dialing (to utilize my PTT button)?

krana
26th May 2008, 10:37 PM
I could not find the shortcut for silent/vibrate mode and in-call Mute function in the windows dir. Can anyone please tell me where can I find these. Thanks

MUSICMOGUL
4th June 2008, 12:46 AM
has anyone got this working on the mogul/ titan

Noonski
15th June 2008, 06:42 PM
I have created small script that you can use to assigned and remove buttons using Mortscript. In order for it to work please download mortscript 4.1.0 from this website (http://www.sto-helit.de/index.php?module=download&entry=ms_program&action=list)>> install it >> download attached zip and unzip in any folder of your choice and then doubleclick on that file in your device. Currntly it only work for lnk files but i will add exe file later on.


I made an OEM with Mort 4.1 and a cab from your Fab script..

http://forum.xda-developers.com/images/attach/cab.gif Long Press Key Set.cab (http://forum.xda-developers.com/attachment.php?attachmentid=92853&d=1213547077)
http://forum.xda-developers.com/images/attach/zip.gif xMORT.zip (http://forum.xda-developers.com/attachment.php?attachmentid=92859&d=1213547944)
Makes the lives of those that don't know MartScript BU hart easier.
(I'm one of them)
But from these two i have removed the PTT option in the script.
Works Great on Touch 2.20.7 Builds

JZ SmartMort
7th July 2008, 11:09 PM
Announcing JZ SmartMort v1.4!

Now you can use JZ SmartMort to map advanced commands on your PTT & long-PTT buttons of your Kaiser/Tilt!

Have a look at the screenshots of JZ SmartMort, available HERE (http://forum.xda-developers.com/showthread.php?t=382043) or at SourceForge (http://sourceforge.net/projects/jzsmartmort). Below are the prominent features that the software offers.

Copy / Paste
Clipboard / URL history
Multi-browser (Opera Mini, Opera Mobile, NetFront, Skyfire, Internet Explorer)
Make any installed browser system-level, where it opens links from anywhere. Ability to have a default browser (with a special timeout in case you want to open a link with a non-default browser).
Hardware buttons - supports Pocket PCs & SmartPhones for advanced hardware button mapping.
Opera Mini - shortcut on the Start Menu, different paste & URL handling methods to accommodate different phones.
JBed - create Start Menu shortcuts for any JBed app, run JBed App directly using JZ SmartMort, troubleshoot your JBed installation.
Ability to open synced Mobile Favorites with any browser, process killing and many other interesting features.
Includes general tweaks and hacks which will keep growing

Revisions:
v1.4 *** 2008-07-07

- Created help files.

- Browser: Skyfire fully compatible now, new scan/detection with fail-over paths (if browsers references don't exist in the usual locations like the registry). If default browser timeout is set to zero, the JZ Browser prompt will be bypassed entirely.

- Opera Mini: full-screen, kill JBed option, multiple URL & pasting options.

- Lots of new options for button mapping. All known registry and link file button hacks now integrated to allow virtually any command to be called up. Also provides ability to create a CUSTOM link file from scratch.

- Changed menus to include menu-returns for easy navigation and better user friendliness. Added letters to Action menu as qwerty keyboard shortcuts.

- Phone-specific menu under JZ Settings which expands button mapping for BlackJack II (Samsung i617) CV/MediaNet buttons, as well as, AT&T Tilt (HTC Kaiser) PTT & Long-PTT buttons. More will be added.

- Creation of Start Menu shortcuts & opening of JBed applications w/o needing to open JBed first.

- 3 different methods under JZ Settings > JZ Misc. Options for opening Favorites. Save a Favorite from the JZ Browser script when you pop a link.

- Incorporated VitoCopyPaste with a timeout to return your directional pad action button back to normal.

- Various speed & optimization considerations incorporated.

- Function to deal with MortScript losing focus (e.g. when Home is pressed while Mort choice menu is running).

bTrizzy
17th July 2008, 03:31 AM
Can we also assign something to the OK key (under the scroll wheel)? like Long_OK.lnk ?

?????

Also is there a way to unmap the Power Button? I currently have it set to blank put get an error message that shortcut is not found. My power button is stuck so need to find a solution.

bTrizzy
17th July 2008, 07:00 AM
this may seem like a simple request... but I'd like to change the settings of the power button (on right side of ATT Tilt) to map on the PTT button instead. I've mapped to lots of other things, fixed the registry so teh PTT button is active in the button list for assignments, but i cannot determine what is the actual command/choice/setting to allow for me to click on the PTT button and "wake" the phone, versus using the power button (which i find very inconventient to use)...


I know this may seem simple, but I've really been working on this for over a day, now, and I cannot seem to figure out what the actual commands are that allow the power button to wake the phone

(and before you respond, NO, it's NOT screen toggle, screen on, OR screen off)

any help/ideas?


-Scott

Need help with this tooo.

TANGjuice
3rd August 2008, 10:16 PM
Is it possible to customize the right and left soft keys on the home screen?
If so, how???

rose4you
26th August 2008, 09:00 PM
I am getting an error (Target file name error)
I created a lnk file from my computer Long_End.LNK and copied to storage card. Inside the file I added "\Program Files\S2U2\s2u2.exe" When I press end key for more that 3 seconds I am getting target error. Do i have to use any cab file?

rose4you
26th August 2008, 09:07 PM
This has to be the best trick found since I got my Tilt. THANK YOU!!!

Mine is setup as follows:

Long Send - Comm Manager
Long End - Invoke S2U2
Short PTT - PocketPlus4 Alt+Tab Switcher
Long PTT - Voice Command

I did the PTT button mappings with PP4's button enhancement instead of the lnk files mentioned above. But the other 2, which until now, have not been useable for long presses, so THANK YOU again.

Can you attach the lnk files? Do we have to install any cab file?

tuem
11th September 2008, 02:20 AM
gotta try this...

whistler4ever
11th September 2008, 06:15 PM
Can you attach the lnk files? Do we have to install any cab file?

just use total commander and you can create the lnk files!

sahuja
2nd October 2008, 01:01 PM
A problem which can be resolved using this.
I access the internet on my notebook PC using the Internet Sharing connected via a USB.
To preserve battery life:
1. I have set the device to switch off after 10 seconds(limit it between a few seconds to max 5min), the power off button is not that well positioned and is hard for a manual press each time)
2. I have checked the option: To Not charge my battery when USB is connected so that i dont end up using battery recharge cycles, this essentially implies that even the USB is connected its running on batteries.

After the time i have set in 1, elapses the ph automatically switches of, disconnecting the Internet Sharing. To do that i again manually have to uncheck the option to not to "switch off" after X seconds.

Once i am done with my Internet Sharing(may be afew hours), i have to manually re-enable the option to switch off after X seconds.

Can i program my Long_Press_PTT key Or add an option on my Long_Press_End_Key to Enable/Disable the "Switch Off Phone after X seconds". This will be really helpful.

kazim
8th October 2008, 12:31 AM
Hi, did anyone find a way to assign shortcuts to the other hard keys (Windows key, IE key, messaging, etc)? I searched this thread and others and didn't find a way..
I can go into Settings/System/Buttons, but then I can only choose installed programs..

What I really want is to make my Messaging key go directly to "New SMS" (right now I have to click SMS/MMS, then New, then SMS). I already have a .lnk file that will do that when clicked, but I want to assign this file to the messaging key.

JZ SmartMort
9th October 2008, 12:38 AM
Hi, did anyone find a way to assign shortcuts to the other hard keys (Windows key, IE key, messaging, etc)? I searched this thread and others and didn't find a way..
I can go into Settings/System/Buttons, but then I can only choose installed programs..

What I really want is to make my Messaging key go directly to "New SMS" (right now I have to click SMS/MMS, then New, then SMS). I already have a .lnk file that will do that when clicked, but I want to assign this file to the messaging key.
On most HTC phones, there is a way of having LNK files under the \Windows directory. An example is \Windows\short_camera.lnk which would be executed if you quickly press the camera button.

On PPCs, there is native button functionality like you're doing above but you noticed that you can only point it to installed programs and not even be allowed to provide params like (iexplore.exe "yahoo.com")...

Anyway, both of those ways are available in my software and allow you to use advanced level commands to map buttons to. Check my signature for a link... Thanks! JZ

celsius0010
9th October 2008, 11:05 PM
Does this work on the titan.. I tried it all and its not working.. If not is there a way to bring to the titan

septlc
25th October 2008, 12:21 AM
hi there.. a short question..

is it possible to assign on the power button of omnia sgh-i900 when we press it for short time to execute S2U2, instead of just turning the screen in black ?

B73C
25th October 2008, 03:25 PM
Can someone please confirm that this does not work on all ROMs?

I have an Artemis (HTC P3300) and am using T.I.R.v8A WWE (http://forum.xda-developers.com/showthread.php?t=438961).

Thanks.

hgrimberg
11th November 2008, 04:03 PM
I have the same problem with the Power button. Did you get a solution?

JZ SmartMort
28th December 2008, 10:55 PM
A problem which can be resolved using this.
I access the internet on my notebook PC using the Internet Sharing connected via a USB.
To preserve battery life:
1. I have set the device to switch off after 10 seconds(limit it between a few seconds to max 5min), the power off button is not that well positioned and is hard for a manual press each time)
2. I have checked the option: To Not charge my battery when USB is connected so that i dont end up using battery recharge cycles, this essentially implies that even the USB is connected its running on batteries.

After the time i have set in 1, elapses the ph automatically switches of, disconnecting the Internet Sharing. To do that i again manually have to uncheck the option to not to "switch off" after X seconds.

Once i am done with my Internet Sharing(may be afew hours), i have to manually re-enable the option to switch off after X seconds.

Can i program my Long_Press_PTT key Or add an option on my Long_Press_End_Key to Enable/Disable the "Switch Off Phone after X seconds". This will be really helpful.

These are most-likely registry entries... the best way to answer your own question is to set the checkmark, then take a registry dump/export using PHM RegEdit or CERegEdit. Then unset the checkmark, take another reg-dump and compare the two files with WinDiff.exe or something like that... once you find it, just write a MortScript to do what you want, but that's beyond the scope of my answer.

Alfyk
19th February 2009, 08:21 AM
Hi
sorry for the stupid question, but i haven't understood
how may i create a new shortcut
like
Long_Power.lnk (Power button +long press) or
Short_Power.lnk (Power button)
I searched into my Tytn2 and i didn't find them.
Do i need IDA Pro ?
May u help me please ?
Thx

Beeble
20th February 2009, 11:46 PM
Please forgive me if i seem a little short or unhelpful Alfyk - its been a long day!

To create a shortcut, use a file manager (on device) like total commander (search for it, i belive its freeware, but may not be) or even create in windows (PC) - start a text file (.txt) and type in it the location of the target, then save and rename the shortcut <shortcut_name>.lnk (ie long_power.lnk).

Dont take offence, but if you re-read this thread slowly - seriously, read every post, in order, from #1 - you will probably have a very good understanding of what you need to do.

If not - post again, explain what you would like to acheive - and very importantly - what you have tried to do to acheive this (prob best to write it down as you go!).

If you say (for example) i want XYZ, i've read this thread, googled the site, seen the wiki & posts by members A, B & the great guide by C & D - but they dont let me do XYZ, only WXY, can anyone help. - you will 99% get a great reply!


Hope it helps!

strikeone
29th March 2009, 03:19 AM
thanks for this great post hma4.

brandonhall517
22nd July 2009, 05:16 PM
ya i have read every single post and i am still clueless on how to do this. i downloaded total commander, and i am able to locate the .lnk files that i want to assign short cuts to, however i am totally lost once it comes to the next step. i dont now how to copy the .lnk file and transfer to my pc or how to change anything or do anything lol help!!

brandonhall517
22nd July 2009, 05:31 PM
nevermind, im a dumbass. sorry. i had to re read every post again to truly understand, guess i was overthinking it

corps20k
21st January 2010, 07:58 AM
this may seem like a simple request... but I'd like to change the settings of the power button (on right side of ATT Tilt) to map on the PTT button instead. I've mapped to lots of other things, fixed the registry so teh PTT button is active in the button list for assignments, but i cannot determine what is the actual command/choice/setting to allow for me to click on the PTT button and "wake" the phone, versus using the power button (which i find very inconventient to use)...


I know this may seem simple, but I've really been working on this for over a day, now, and I cannot seem to figure out what the actual commands are that allow the power button to wake the phone

(and before you respond, NO, it's NOT screen toggle, screen on, OR screen off)

any help/ideas?


-Scott



sooo is there anyway of doing this?

i dont like waking up the phone with the power
button. i'd rather map its functions to the PTT
button ..


thanks.

waschaa
16th March 2010, 04:12 AM
I have only send key-long in setting-buttons list.
I want to add other keys like home-long, back-long, windows-long.
help me, plz~

demichel
5th April 2010, 03:22 PM
What links to sleep mode (same as if you short press the power button)?

jmdesai
27th April 2010, 04:07 AM
What links to sleep mode (same as if you short press the power button)?
...and we would be grateful for the hints....
May be nobody here knows the answer.....but certainly experts can drop some hints!!

JZ SmartMort
27th April 2010, 07:07 AM
...and we would be grateful for the hints....
May be nobody here knows the answer.....but certainly experts can drop some hints!!
I'm not sure on a tilt but have a look at the first post, doesn't it say "short_power.lnk" --- isn't that the answer you're looking for?

jmdesai
27th April 2010, 11:39 AM
I'm not sure on a tilt but have a look at the first post, doesn't it say "short_power.lnk" --- isn't that the answer you're looking for?

Oh, I am sorry if my post was not very clear, but here is what I want (and may be some other Tilt users too)

I used Palm Treo Series for many years, starting from Treo 150 and then migrating through whole Treo series, Treo 270/600/650/680 and then Centro. One thing which was *very* convenient on those devices was screen ON/OFF by pressing RED button. Power button on Tilt is most inconviniently located on right upper side, preventing single handed operation (perhaps intentionally intended to punish users??? ;))

Can we replicate this behaviour on Tilt? That is to have screen on/off by pressing Red button?

I am searching for this solution since many days on Xda as well as other sites, but till now I have drawn blank.

I am also aware of the fact that this may be difficult if not impossible, because it involves waking up the device from sleep, but only an expert having deeper knowledge of windows mobile can tell.

jmdesai
27th April 2010, 01:41 PM
I could get a partial solution. It is possible to wake up the device by pressing any of the hardware keys:

Start/Settings/System/Key Lock/Do not lock Buttons

The remaining part is: How to switch off the screen by pressing RED button (long or short press).

denco7
27th April 2010, 03:17 PM
I could get a partial solution. It is possible to wake up the device by pressing any of the hardware keys:

Start/Settings/System/Key Lock/Do not lock Buttons

The remaining part is: How to switch off the screen by pressing RED button (long or short press).

AE Button plus allows you to remap all your buttons for a variety of functions, including sleep and on/off. This is the last free version

http://www.freewarepocketpc.net/ppc-download-ae-button-plus-v2-3-1.html

Or for the more featured pay version

http://www.pocketgear.com/en/usd/plattform:windowsmobile/2917461,product-details.html

jmdesai
27th April 2010, 03:19 PM
I could get a partial solution. It is possible to wake up the device by pressing any of the hardware keys:

Start/Settings/System/Key Lock/Do not lock Buttons

The remaining part is: How to switch off the screen by pressing RED button (long or short press).

Solved!
Assigned Mysuspend to Long_End.lnk

Mysuspend is at thread 544475

big3
30th April 2010, 05:30 AM
After messing around for a little I was able to reprogram the PTT button to lock my device; however I already have my end key programmed to do this. What I would like is for the PTT button to allow me to turn on and off (or just off) my data connection (NOT WIFI). I dont know if I looked past it, or what, but I cannot seem to find the right ".lnk"

Thanks for the help all!

denco7
30th April 2010, 12:35 PM
After messing around for a little I was able to reprogram the PTT button to lock my device; however I already have my end key programmed to do this. What I would like is for the PTT button to allow me to turn on and off (or just off) my data connection (NOT WIFI). I dont know if I looked past it, or what, but I cannot seem to find the right ".lnk"

Thanks for the help all!

Again, AE Button Plus. Assign any key to anything you want

big3
30th April 2010, 02:24 PM
Again, AE Button Plus. Assign any key to anything you want

Unless I am missing something, the list does not contain anything that will turn off the data connection. I saw one for wifi, bluetooth and dial-up, but none for DATA.

Anyone else?

denco7
30th April 2010, 05:00 PM
Unless I am missing something, the list does not contain anything that will turn off the data connection. I saw one for wifi, bluetooth and dial-up, but none for DATA.

Anyone else?

Launch Button Plus>select Button 6>select Single press>scroll down to #43 " Close DialUp connections " > Tap Ok your done. WiFi ?....Bluetooth ?.......DialUp ?..........what other data connections do you have ?

big3
3rd May 2010, 04:05 AM
while I appreciate the help Denco7; I guess I wasnt clear, and looking back I really wasn't. The program AEButtons, or w.e. its called does not work. I have it set just like you said, and it does nothing. If I set it to something else, it still does nothing. Under my user settings under the personal option, button inputs, I have the PTT button listed as none; therefore any other program that see's this should be able to do something with out conflict. Can anyone shed some light on this?

mimidudu
28th July 2010, 12:08 AM
I wish someone would help me create a link with EndKey + Long Press.

EndKey is in \ windows
Slut2Shutdown is in \ Program Files \ Slut2Shutdown

I am newbie on this issue. LinkCreator I use to generate a shortcut.

Since already many thanks.

one_e00
30th September 2010, 08:33 PM
Oh, I am sorry if my post was not very clear, but here is what I want (and may be some other Tilt users too)

I used Palm Treo Series for many years, starting from Treo 150 and then migrating through whole Treo series, Treo 270/600/650/680 and then Centro. One thing which was *very* convenient on those devices was screen ON/OFF by pressing RED button. Power button on Tilt is most inconviniently located on right upper side, preventing single handed operation (perhaps intentionally intended to punish users??? ;))

Can we replicate this behaviour on Tilt? That is to have screen on/off by pressing Red button?

I am searching for this solution since many days on Xda as well as other sites, but till now I have drawn blank.

I am also aware of the fact that this may be difficult if not impossible, because it involves waking up the device from sleep, but only an expert having deeper knowledge of windows mobile can tell.

i'm using htc hd right now, but still need the same program.. especially when i put my device in otterbox 1900 (intend to buy).

one_e00
30th September 2010, 08:41 PM
I could get a partial solution. It is possible to wake up the device by pressing any of the hardware keys:

Start/Settings/System/Key Lock/Do not lock Buttons

The remaining part is: How to switch off the screen by pressing RED button (long or short press).

i can't find Key Lock in the System :(