Mapping MortScripts to Hardware Buttons with AEButtons *problem* - Touch Diamond, MDA Compact IV General

Installed AEButtons & MortScript 4.1.
I wanted to write Scripts to change button action depending on active window (done this fine on old devices)
Even a simple Script action such as "MouseClick 460,24" (click OK) will not work when mapped to a hardware key, works with softkeys !
Any ideas !!

I think it is manilla taking over, I could only map the volume keys, but home and back don't seem to work.

Yeh, that was my first thought, any other link I make to execute on remapped "Send,End keys" work fine ! just Mortscripts !
Finding it hard to get this device as easy to use as my first WM device (S100)
Almost seems like no one at HTC ever use um before selling them !

Related

Remapping hardware buttons

There are several applications which allows you to remap buttons (AE Button Plus, HButton...). If you dont need more than 6-8 shortcuts you should be fine with this. (I prefer this remapping solution because it doesnt require to keep some program running in RAM)
These shortcuts are basically generic but here's what I've found and tested on Wings.
Code:
Shortcut Current App. Remapping
Long_POC.lnk - OK
Long_End.lnk Lock Not tested
Long_Home.lnk - OK
Long_Send.lnk - OK
Short_POC.lnk CommManager OK
Long_Power.lnk Turn Off OK
Long_Pound.lnk Line Switch ???
Long_VolUp.lnk Voice Dial. OK
Long_Camera.lnk Camera OK
Short_Power.lnk Quick App. OK
Short_Camera.lnk Camera OK
Long_VolDown.lnk Voice Notes OK
Long_NonCamera.lnk ??? ???
Short_NonCamera.lnk ??? ???
(NonCamera = POC on some devices. I dont know why is it on Wings but probably because of generic WM keypad map.)
Code:
Key Name Hardware Button
POC CommManager
End End Call
Home Home
Send Send Call
Power Turn On/Off
VolUp Volume Up/+
Camera Camera
VolDown Volume Down/-
How to use...
1. Create a shortcut of a program
2. Rename the shortcut to the shortcut name of a key you want to asign to (TaskManager.lnk to Long_Home.lnk for example)
3. Copy it to \Windows\ directory
Wow! Awesome! Thanks for shedding light on this!
Tested short_power.lnk successfully.
[ADDITION]
IE button: is PIE.lnk + Short_IE.lnk.
About
If you need turn on WiFi, you have to press at least 4 keys by default to start WiFi (using Comm Manager).
After installation of WirelessToggle, just press and hold Comm Manager button to toggle Wifi (on/off). (Alternatively you can use attached exe and assign WirelessToggle to any button / shortcut you want to).
And as always: There are few more programs that can be used for faster turning on/off WiFi but this keeps the RAM free as much as possible.
Installation:
WirelessToggle.cab - just install
Run WirelessToggle.exe (from \Program Files\smartmadsoft\WirelessToggle) manually (just once) before using the shortcut (otherwise you wont be able to confirm dialog window asking you about running unsigned code)
Download:
WirelessToggle.zip (4 kB)
Support:
Tested only on S730 but it should work on other devices as well (will test it later).
Great work moneytoo!
This is real usefull, thanks for sharing!
does anyone know the WM6.1 connection manager (wireless manager in home screen) file name?
wireless toggle doesn't work for me (wm6.1) it removes all wireless settings from the WM comm manager, and swiches wireless off right after I've enabled it.
i need to look into this, whether it will work on a diamond, cause it's hardware button associations are plain stupid...
tuem said:
i need to look into this, whether it will work on a diamond, cause it's hardware button associations are plain stupid...
Click to expand...
Click to collapse
Does it work on the Diamond? I'm getting a Touch Pro in a month and I really hope it works...
tuem said:
i need to look into this, whether it will work on a diamond, cause it's hardware button associations are plain stupid...
Click to expand...
Click to collapse
What did you find out?
Does it work on your Diamond?
i right clicked on psshutxp.exe and selected create a shortcut.. i renamed file to Long_Power.lnk .. dropped in my windows folder and reset my htc touch pro (cdma) ,,, never asked if i wanted to overwrite anything ...
now when i press down my power button... the same default action happens... it is not running psshutxp....
Remapping headset button?
I'd like to bounce an idea and see if your solution might work for this specific issue.
Seems like the headphone button = green answer button on newer htc systems. If I press the headhpone button twice - I'd like to jump one track forward. Press it three times, I'd like to jump one track back again. Would this be possible to map somehow? That is, multiple key inputs?
Regards.
Has anyone here found a solution for the touch diamond?
Wrong forum m8, this is the Wings smartphone, not the Diamond pocketpc
spone1 said:
Wrong forum m8, this is the Wings smartphone, not the Diamond pocketpc
Click to expand...
Click to collapse
I know that this is the Wings forum but nevertheless I would like to know if anybody has found a similar mapping functionality for the HD2... I tested several shortcuts but only long_send.ink seems to work.
For Multibuttonmappingwhatsoever I can recommend HButton as it allows to activate different things depending on how long you press the button. Remapping doesnt really work for me after all, nothing happens..
Hi, I want to remmap Home Button in HTC HD2(Leo). But when I search the link, I can't find anything that mention about home.
Any suggestion? Thx..
R0b3rt2 said:
Hi, I want to remmap Home Button in HTC HD2(Leo). But when I search the link, I can't find anything that mention about home.
Any suggestion? Thx..
Click to expand...
Click to collapse
Oooopss.. Sorry, wrong thread.
I'm just too desperate.
For the HD2 unfortunately only the long_send button seems to work. I tested the others mentioned on the first page of this thread but they did not work - at least not by using shortcuts or reg keys (but I did not test any special software as HButton).

Help: Want to remap hard button

Hi all,
Anyone can help to remap the hard button??
I want to change the Home key to Alt-tab, and the Back key change to OK/Close (1 press for ok and long press for real close the application). I have tried AE button plus, but not function very well.
Attached is the Alt-tab s/w i have used.
Don't know why HTC put a Home and Back key in WM pro device
Thank you very much,
did you reset the device after you changed the settings?
yes, but still doesn't work
There's a software called Hbutton. You might wanna try it.
Just tried Hbutton, but it doesn't work on diamond.........
Awww.. now how am I gonna survive on the diamond without Hbutton?!
There's another software called SmartSkeys (or something oike that) Not sure of it'll work.
Anyone got any suggestions on which software to use to map diamond buttons to many functionalities?
This one works on Diamond: AE Button Plus.
To my understanding from testing AEButton on the Diamond, I have realized that:
The HOME key cannot be remapped.
The Back key is essentially a "WIN" key. You can create a new button and remap the Back key. HOWEVER, the shortcuts DOES NOT WORK when you are at today screen. So here is what I do, I remapped the Back key single click to "Escape". double click to close program, long click to close all programs.
Thats the only logical thing i can think about using the back button due to the limitations.
Any ideas?
Escape = ok/close ?
With AEB Plus I managed to map "action long" to "task manager", but the setting doesn't seem to survive a soft reset.
Problem with TouchFLO 3D.
Disable TouchFLO 3D, you might map home/ok button by mappingware.
Setting -> Personal -> Today -> Items
Use SortInchKey, if you enable TouchFLO, you might map VolUp/VolDown/Ok(exclude Today screen) buttons.
Tried AE Button Plus 2.6.3, the "ok" button in AE Button Plus list can refer to back key, my setting is press 1 to minimize, long press to close current application. However, AE Button Plus can't handle the Home button. I already sent a request to them, hope their next version can sort it out.
I'm posting here to find this later. I use AEB on all my devices and want a Diamond. Hopefully it gets "worked out".
tkhs said:
Problem with TouchFLO 3D.
Disable TouchFLO 3D, you might map home/ok button by mappingware.
Setting -> Personal -> Today -> Items
Use SortInchKey, if you enable TouchFLO, you might map VolUp/VolDown/Ok(exclude Today screen) buttons.
Click to expand...
Click to collapse
Yes, the mappings worked when TouchFLO was disabled. But when TouchFLO was enabled again, the mappings then didn't work.
Can someone please help me?
I use a golf GPS/Scoring program on my diamond (mobile golf scorer) and on it there is an option to use hardware button to turn display on/off, this keeps the gps active permantly. Its mapped in the program as 'button c' which from what i can tell should be the 'right hardware button' on a usual ppc.
I'm trying to map it as 'back button' using AEBPlus but it will only work on the main diamond screen or 'today' screen. I've tried mapping it to various buttons on the diamond but When i start the golf program it does not work.
Has anyone any ideas? I need to remap a button that will turn the display off no matter what i'm running.
Thanks again
I'd love to change the function of the "Back Button" aswell,
it has been annoying me since the first day I got it.
HButton seemed very promising, but sadly, it doesn't work.
Do hardware keys also have a registry number like the softkeys?
Like 112/113 for the softkeys?
Wondering anyone will use "Home" and "Back" button regularly....Maybe u guys can share your experience on how to smartly use this 2 buttons as I don't have any idea.........
Hello everyone!
This topic is very actual especially on all russian forums (hpc.ru 4pda.ru 4pda.info). Did anyone overcomed this difficulty with remapping hardware buttons? I tryed AEButton Plus but I was unsuccessfull in remapping the dimaond's "back" button - is there any one who did it? Please share the experience - it would be very very usefull to remap this button and to bind it to launching Dynamo3 task manager.
Thanks in advance.
ILya.
None of the programs named here work correctly on the Diamond, including AE Buttons Plus.
However, these buttons CAN be mapped. I know that because the capacitive buttons tester program can detect and show that you pressed these buttons. While this program is active, if you press the home key, it shows that you pressed the home key, but you don't go to the home screen. So it's possible, but only HTC knows how. We need their API's.
aydc said:
None of the programs named here work correctly on the Diamond, including AE Buttons Plus.
However, these buttons CAN be mapped. I know that because the capacitive buttons tester program can detect and show that you pressed these buttons. While this program is active, if you press the home key, it shows that you pressed the home key, but you don't go to the home screen. So it's possible, but only HTC knows how. We need their API's.
Click to expand...
Click to collapse
so this method willn't work too? http://forum.xda-developers.com/showthread.php?t=355141
the silly part on the htc side is to have 3 of 4 hw buttons do almost the same - if you are in an application, pressing home, back or hang-up button will act as "escape". am i wrong?
for one thing, it would be at least useful to have an "ok" button.
the ideal setup for me would be to use the "go to the tf3d home tab" function of the home key by pressing the "hang-up" button and use the home key as "ok"...

[Resolved] Remap volume control buttons

Sorry if it was already covered elsewhere, - is there any way to remap auctions for these side buttons on Diamond ? I don't change volume level that often, all done through profiles, imho up/down arrow or scroll function would be much more beneficial ...
Update: AEButton Plus does the thing perfectly, thanks to Geekess for the hint
volume up/down is OK but long press may be very useful for Explorer, task manager etc...
In other words configurable .. would be great for camera too, not easy to make pictures with central button, not stable enough ...
I did not follow development news for previous HTCs, so not sure if it was ever done before ...the fact is that these buttons are not available from Settings (
You can use PQZ II for remapping the volume key. Try to google it.
csc0503 said:
You can use PQZ II for remapping the volume key. Try to google it.
Click to expand...
Click to collapse
thanks mate, you are a star
http://www.nicque.com/PQz/PQzII.htm
no version for diamond yet, will play with WM6 version tonight ...
hertc said:
will play with WM6 version tonight ...
Click to expand...
Click to collapse
well, does not look good at the end, maybe these are hidden features, but I could not find a way of how to use the volume buttons independently (they work as Ctrl or Alt, no problem here, but I wanted to use them as one button - one action, not two buttons - one action). Another problem, Up/Down or Scroll are not available for selection as actions ....
So it should be possible to change that, the matter of finding the right program now ..
Wish there were more buttons on Diamond, or at least proper navigation buttons ...
Hmm... for me it does not work, get the message:
keyboard hook faild
any suggestions?
What works for me is AEButton Plus (payware, no affiliation). I have reconfigured my volume buttons to single press = arrow up/down and long press to volume. The program has a nice function: you can choose to let the volume buttons have their default behavior during a phonecall.
I'm using the trial right now, but if I can't find a freeware program that has the same functionality I will probably buy this.
May I ask how you've gone on with AEButton? I'd be interested to hear your long(er) term experience of having used it as it sounds like exactly what I want/need.
Mathew
all good, does what it says, configured it once and just using since ..
Tried latest HButton 2.3, but think it is not compatible ... anyone else tried it?

Sky remote record by mobile

Anyone got this working on the Diamond. Working fine on my old SE W850 - dont know where to start with the Diamond
I'd like this too.
Can only think about doing it via web browser
I use the k800 version and remaP my left and right hardkeys to act as softkeys but the text is tiny!
How do you download the K800 version of Sky Remote?
Sky doesn't let you chose a particular phone during online setup.
Sky By Mobile Java App
Here's the Java app download.
http://mobile.sky.com/SBM/SonyE_novid/SkyMobile_SonyWithoutTv.jar
All I got to do now is try to remap hardkeys!
Got AE Button Plus, but a bit scared of all it can do.
Can Ericsson68 tell us how he remapped hard keys?
Is running TF3D, cos that seems to overwrite hard key functions when run?
Just got round to trying this.
How do i run the file as .jar files are not assosiated with any apprication?
Put .jar file on Diamond first using activesync.
Then run Jblend first and install and run java apps or .jar files from there.
I still can't get it to logon yet.
fillippe said:
Put .jar file on Diamond first using activesync.
Then run Jblend first and install and run java apps or .jar files from there.
I still can't get it to logon yet.
Click to expand...
Click to collapse
Have you looked at
http://www.digitalspy.co.uk/forums/forumdisplay.php?f=35
I know that people have had problems. You might find the answer there.
Hi
I used AE button and then remapped the left and right ring keys to long presses = left and right soft keys. I never do long presses on the left and right ring keys so this made sense to me.
Prepare to need a magnifying glass when you do get logged in though. And from experience put your password in before the user name. For some reason doing it the other way around often crashes it.
Ok! Got application working - am able to enter password and user name.
Have tried remaping keys, but dont understand how or why. Could you go through it step by step.
Have a copy of AE Button Plus installed.
Thanks
Another jar file
This one allows the soft keys to work but doesn't actually manage to login for me.
I attach the file for you to try.
Solution!
trice1921 and colthekid worked this solution out at http://forum.xda-developers.com/showthread.php?t=507152 for the Touch HD / Blackstone. It works for the Diamond as well. I'll copy the solution here and hope the mods don't mind.
The java file is here http://mobile.sky.com/SBM/SonyE_novid/SkyMobile_SonyWithoutTv.jar
The HasKeyboard reg key is important and you will need to disable the volume control in S2U2 if you use it. Enjoy!
Firstly, follow the instructions in the original article posted by gears ie. register on the web for sky mobile and download and install the java software and SkyMobile_SonyWithoutTv.jar file.
Also register for "Remote Record" via your Sky+ box (instructions on the Sky.com website)
Next, as the HD does not have a hardware keyboard, we need to "spoof" the OS into thinking the HD does have one. This is done in one key in the
registry (which I found completely by accident while looking for a different one!).
Goto... "HKCU/Software/Microsoft/Shell" and change the value of "HasKeyboard" to 1
Soft Reset the phone.
We will then need to map some of the buttons to give us up/down/left/right, Enter and Left/Right Soft keys. As NickMilner suggests above, i use "AE Button Plus" and my mapping instructions assume that's what you will use. (the program does cost but i don't know of any other one that provides double, triple and long press options for each key and appears to work well enough in free/trial mode anyway!)
Map the following in AE Button Plus
Volume Up button: Single press - Volume Up
Double press - Press Up Arrow
Triple press - Press Left Arrow
Long press - Press Left Soft Key
Volume Down Button: Single press - Volume Down
Double press - Press Down Arrow
Triple press - Press Right Arrow
Long press - Press Right Soft Key
Green Phone Button: Single Press - Press Green Button
Double Press - Press Enter
I would have liked to use the Red Phone button, but whatever selection i made, the red button always acted as an "Exit" button in the java app, so I went with the above. It's a bit complicated I know with all those double and triple presses, but IT WORKS and i've soon got used to it. I'm sure you could chose your own combination of presses, but the above ones work.
Well, there you go, see if it works for you (I Bl**dy hope so...this has taken me ages to write!!)
Click to expand...
Click to collapse

looking for a simple button reconfigurator

Hello,
i'm looking for a replacement for AEBplus
I only need a few simple things:
left and right button - should rotate my screen, like it does when i open the keypad
ok button - task manager (or today screen from where i could start the taskmanager)
ok button (long press) - start an application
end call (long press) - lock the device (the you need to enter your password kind of lock)
What program other that AEB can do that and wont use as much CPU resources as AEB does?
you can just go to settings>buttons and assign either keft or right soft key to screen rotate, easiest way IMO
No i cant..there is only the left and right softkey button. Nothing else..and i could not setup a long press this way.
nurps said:
No i cant..there is only the left and right softkey button. Nothing else..and i could not setup a long press this way.
Click to expand...
Click to collapse
x1ButtonMapper, already tried that?
cheers
I use AEButon Plus on my X1a and I am thrilled with it. It doesn't have much (if any) negative effect on performance on mine.
Have you tried it on the X1?
Also for End Key there is a program called "Long Press End Key" I think. It is nice, and cooked into a lot of ROMs.
Hannigan174 said:
I use AEButon Plus on my X1a ...
Have you tried it on the X1?
Click to expand...
Click to collapse
hi m8, he's trying to replace it with an alternative app...as stated in #1
DrakenKorin said:
x1ButtonMapper, already tried that?
cheers
Click to expand...
Click to collapse
Havent tried that yet, can it do what i want?
I guess i could use mortscript for rotation, long press is obviously possible.
But what do i use as fast taskmanager? Can i start the built in taskmanager as application? And what can i use to password lock my device?
Edit: seems i loose the TAB key with X1ButtonMapper and the EndCall button isnt inclueded...thats bad
Is there a way to change some of the keys directly in the registry?
nurps said:
Havent tried that yet, can it do what i want?
I guess i could use mortscript for rotation, long press is obviously possible.
But what do i use as fast taskmanager? Can i start the built in taskmanager as application? And what can i use to password lock my device?
Edit: seems i loose the TAB key with X1ButtonMapper and the EndCall button isnt inclueded...thats bad
Click to expand...
Click to collapse
have a look here, didn't check, just searched (doing your homework btw...)
nurps said:
Is there a way to change some of the keys directly in the registry?
Click to expand...
Click to collapse
advanced config - menu (button) - more settings - key mappings
Mobile Magic doenst support the buttons i need. No longpress for End and no support for the OK button at all..that was the first program i tried.
To bad the options for the End key are grey in Advanced Conifg.
X1BC should allow for a lot more options than mx X1ButtonMapper. I think there is also a second application from the same author called X1BH or something. Check that out.
X1ButtonMapper is pretty lightweight actually. The most overhead involved will be by calling the script functionality but that is done asynchronous, meaning that X1ButtonMapper doesn't wait for the called application or script to finish - it just launches it.
I didn't remap the red and green phone buttons because they can't be easily remapped and I think they are central buttons which should keep their original functionality. I think remapping them will cause more bugs than you will gain functionality. With X1ButtonMapper you already gain enough options for the remaining keys (each with short and long press) which should be enough for most applications. You can also reassign the missing FN+key combos on the keyboard.
I did use the Tab key as Ctrl substitude because I think Tab is not important for Windows Mobile. It is substituted in most dialogs with the right/left keys so use these. You can get the original Tab function when pressing FN+Tab for the few situations where you really need it.
I am using X1ButtonMapper for a long time now and havn't had any stability issues - maybe that's the trade off for having less features.
X1Button manager somehow didnt react to my OK key. I allready have a standalone taskmanager mortscript could run but Ok didnt do anythink. Longpress of the softkeys to rotate the screen worked nicely though.
Longpress delay is a little longer than im used to but that not a big problem.
The longpress of the End key has allready a keylock function as standard setting (wich i find totally stupid because i turn the device of with the switch on top). There must be a registry setting that i could alter so it would run the password lock instead.
I will check into X1BC...
X1BC works thank you...and i like it much more than X1BM because i can setup everything to my likings, longpress timing, vibration on/off and wether i want a Control key replacement.
I could even use the panel key to lock my device if reprogramming of the end key button is not possible.
Does anyone know wich program i have to run to password lock my device? Maybe its possbile with mortscript..i should check that...

Categories

Resources