|
|||||||
| Register | FAQ | XDA-Portal | XDA-Wiki | Device database | Donate! | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Finally!!!!
I finally figured out a solution that will work for any GPS Application (actually, ANY Application) that you want to "Keep Alive". The long and the short of it is this: When you upgrade your WM5 ROM with the MSFP addition, the “Password” application (under START -> SETTING -> PERSONAL -> PASSWORD”) has been replaced by “LOCK”. This new application is part of the MSFP and is designed to give you greater protection for your data stored on your device. If enabled, this will “LOCK” your device if it doesn’t receive any input from the user. The real problem lies if you have your device set up to receive “Push Email” from an Exchange Server. The “Lock Settings” (i.e. how long your device will wait for user input until it “locks” the device) is established by your Exchange Server Administrator. If he/she has enabled the “Lock” feature to activate in 5 minutes, then your device will lock after 5 minutes of no user input. What’s worse is, as a user, YOU CANNOT CHANGE this setting. It has to be done on the Exchange Server side (i.e. your Exchange Server Administrator must change it). There is good news and bad news. First the bad news: You must own or purchase a copy of SKScheMa (by SKTools (http://s-k-tools.com)). Cost is $9.60 at www.pocketgear.com Now the good news: There’s a fix! This is a three step process: 1) Install the software and configure it properly. 2) Add a script 3) Add a “Watch” Function Step 1: a) Download and install SKScheMa. I would recommend installing it to Main Memory (this is what I did and it works). NOTE: I got an email from the developer that THE INSTALL PROCESS MAY NOT COMPLETE ALL THE WAY. Once you install the program from AS, you need to go into "File Explorer" and double-click on the following icon: sksw.exe (under the \windows directory). This will finish the install. IF YOU DO NOT DO THIS, YOU WILL NOT BE ABLE TO ACTIVATE THE "WATCH FUNCTION". THE WATCH FUNCTION MUST BE ACTIVATED IN ORDER TO PREVENT THE SCREEN FROM LOOKING UP. b) Open the software. c) The first thing we need to do is to enable “Watch Mode”. Click on “Tools -> Settings-> General” and look for “Watch Mode”. By default, it is turned off. To turn it on, just click on the box “Watch Mode” to highlight it, and in the top box (above where you clicked), use the pull down menu to select “On”. d) Now click on the box just below the “Watch Mode” (it’s titled “Make a shortcut for any saved script in …”). We want to turn this off, so once you’ve click on the box, use the pull down menu in the upper most box to select “No”. We’re done with Step 1! Click “OK” using the left soft key and we’re moving onto Step #2 Note: To make sure you’ve successfully turned on “Watch Mode”, use the right soft key and select “Tools -> Queue”. In the “tool bar” on the main screen, you should see: “Queue | Watch On”. If you don’t, you didn’t enable “Watch Mode”. Head back to the beginning of step one and make sure you enable “Watch Mode”. ----------------------------------------------------- Step #2 a) Copy the following into Notepad (on your computer): #r(#label) #p(whilerunning) #r(#sendkey) #p(#H) #r(#0) #sleep(58000) #r(#chkprocess) #p(TomTom Navigator.exe) #r(#iftrue) #p(whilerunning) #r(#label) #p(end) b) On notepad, select “File -> Save As”. THIS FILE MUST BE SAVED WITH A “.sksc” EXTENTION (i.e. TOMTOM.sksc). To do this from the “Save As” window, use the “Save As Type” pull down menu and select “All Files” (NOT .TXT!!!!). Once you’ve selected “Save As Type”, type the name of the file AND THE EXTENTION next to “File Name:” (i.e. type in TomTom.sksc). Now just click “Save”. d) Copy this file to the following directory on your PPC: \Windows\Start Menu\Programs\sScripts e) Proceed to Step 3. ------------------------------------------------------ Step #3 ---------------------------------------------------- Method 1 (Longer): a) Using the right soft key, select “Tools –> Watch”. b) Using the left soft key, select “New”. c) Scroll through the various fields and enter in the following information: “Watch for” : Select from the pull down menu “Windows” “Window title” : Type in “TomTom Navigator.exe” (without the quotes) “To execute If the Window is Activated” : Type in “:SKSCHM” (without the quotes) “with parameters” : #r(#script) #p(\Windows\Start Menu\Programs\sScripts\TomTom.sksc) #onlyrun (The above should all be on one line) d) When done, use the “Left Soft Key” to select “OK”. You should see your “Watch Function” listed. Use your stylus to click “OK” in the upper right hand corner. Now whenever TomTom is launched, it will be “kept alive” with this program. ---------------------------------------------------- Method 2 (shorter): a) Copy the following into Notepad (on your computer): #c[TomTom Navigator.exe] #a[:SKSCHM] #ap[#r(#script) #p(\Windows\Start Menu\Programs\sScripts\TomTom.sksc) #onlyrun] (This should be one long line) b) On notepad, select “File -> Save As”. THIS FILE MUST BE SAVED WITH A “.sksw” EXTENTION (i.e. TOMTOM.sksw). NOTE: THIS IS A DIFFERENT FILE EXTENTION THAN THE SCRIPT FILE WE JUST CREATED. To do this from the “Save As” window, use the “Save As Type” pull down menu and select “All Files” (NOT .TXT!!!!). Once you’ve selected “Save As Type”, type the name of the file AND THE EXTENTION next to “File Name:” (i.e. type in TomTom.sksw). Now just click “Save”. c) Copy this file to the following directory on your PPC: \Windows\Start Menu\Programs\sScripts d) On your PPC and using the right soft key, select “Tools –> Watch”. e) Now select “Tools -> Context menu -> Load from File…” f) Select the directory you just copied our “Watch Function” to (i.e. (\Windows\Start Menu\Programs\sScripts\) and select the file you just copied over (i.e. TOMTOM.sksw) by highlighting and clicking “OK” with the left soft key. g) You should see your “Watch Function” listed. Use your stylus to click “OK” in the upper right hand corner. Now whenever TomTom is launched, it will be “kept alive” with this program. It sounds more complicated than it really is. Let me know if you some questions. -------------------------------------------- A few comments on the script file: #r(#label) #p(whilerunning) % Creates a label for your "While Loop"; "whilerunning" Label #r(#sendkey) #p(#H) % Simulates the depression of the "Home Key" #r(#0) #sleep(15000) % This is a counter for 15 seconds (i.e. 15000 ms). You can increase this as necessary. #r(#chkprocess) #p(TomTom Navigator.exe) % Checks to see if the following process is running (i.e. TomTom Navigator.exe) You can modify this line for any application you want to keep alive. #r(#iftrue) #p(whilerunning) % If the process is running, return to label above marked as "whilerunning" (This is your "while loop") #r(#label) #p(end) % end of "While Loop" Hope this helps! EDIT: IMPORTANT UPDATE: For this to work properly, you must be using an English ROM. Thanks Rogier for the tip!
__________________
AT&T Fuze (Flashed with At0mAng V5.4 Fusion Power) ROM Version: 5.2.21041 (Build 21042.1.6.1) Radio: 1.12.25.19 Protocol: 52.39c.25.22U |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Ooooooo YES!!!!!
I am a Happy Man. This works now. Seems the German Version of the Utility does not liked the script or so. On an Englisch ROM all seems to work fine. Thanks a lot for your help.ö Rogier |
|
#3
|
||||
|
||||
|
AMAZING!
Admins: this should be stickied! "Chapeau weatheryoko!"
__________________
For those who think that World Wide Wrestling is REAL: http://i10.tinypic.com/5yj76o2.gif |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|