[Touch Pro2, Tilt 2 Windows Mobile ROM Development] GSLEON3:
PTT Camera/Video Start HotFix (Script Quick Fix)

You can customize this script as you see fit. All the tools are there for the novice to the more adventurous.

TWO KEY FUNCTION

1. For the Novice, Simply install RhodiumKBControl to your device.

a. Then copy the three files (Snap.exe, Snap,mscr & VipMSCRexe.mscr) to

your device" \Windows" folder.

2. Start RhodiumKBController (It will be in "Settings\System") and it will be the shortcut named "Keyboard Config"

a. Create a new key by selecting "Menu", "Add Key", then press the PTT key to add it to the BK Control programs configuration menu.

* b. Then select "Double Click", "Run Program", and browse to "\Windows\Camera.exe". Double Click of PTT will now launch Camera application.

* c. I then select "Long Press", "Run Program", and browse to

"\Windows\Snap.exe".

The long PTT button press will now snap your pic or start your video

d. Press OK at the bottom left softkey, make certain that the "PUSHTOTALK [4] button you just mapped is selected; (there will be a check mark to the left of the item) and select Update Config at the left softkey.

Now the camera is opened with double click, and only when the camera is open, a long press will focus and then snap a picture.

(ALTERNATE ONE KEY PICTURE FUNCTION)

2. Start RhodiumKBController (It will be in "Settings\System") and it will be the shortcut named "Keyboard Config"

a. Create a new key by selecting "Menu", "Add Key", then press the PTT key to add it to the KB Control programs configuration menu.

* b. Then select "Long Press", "Run Program", and browse to "\Windows\Camera.exe".

* c. Then Select "Long Press" event and select the (+) plus button in the Action field to add another action to Long Press.

* d. Then select "Run Program", and browse to "\Windows\Snap.exe"

e. Press OK at the bottom left softkey, make certain that the "PUSHTOTALK[4] button you just mapped is selected; (there will be a check mark to the left of the item) and select Update Config at the left softkey.

Now the camera is opened with a long press, and when the camera is open, an additional long press will also focus and then snap a picture.

*

These steps can be modified by utilizing the VipMSCRexe.zip tools & different script commands which can be found in the MortScript-Manual.pdf. Both of these items have been included in the attachment.

I personally wanted it to be two completely separate events, so that is how I set it up. I simply wrote a script that say's "Wait till the active (foreground) window is the camera, IACSP_20, and then am emulating a long screen tap of two seconds, which focuses the cam & then snaps the pic. I had never before written a script to do anything but make registry changes & it has been a long while at that, but it only took two minutes to research the idea and write the script using notepad, well EditPad Pro in my case, but any notepad type program will work.

FYI, the focus of the picture will be at the center of the screen as I utilize MouseUp/Down/Sleep script commands. Direct key or even text commands sent to OS or window will not function on this camera package as the KB driver and camera package are for non-HW keyboard models.

I taught myself mortscript a few months ago & it is a very, very simple to learn tool that is quite powerful. It will NOT hurt your device & there are many script repositories on the web available for use or for reference. Play around, learn something new that will enable you to do some pretty neat things, almost endless what you can do with MortScript and it really is easy to master, even if it's just a bit at a time.