Guest urphonesux Posted July 23, 2010 Report Posted July 23, 2010 is anyone here able to write scripts using mortscript? If so i would like to throw a idea out there for something that would be VERY useful for us omnia users
Guest urphonesux Posted July 23, 2010 Report Posted July 23, 2010 i would like to propose a script that automatically kills a idle data connection after 30 secs or so but still allows apps internet access when needed. The way i see it playing out is anytime that i click exit or a X button the script runs a check to see if the data is connected. It then runs a check to see if there is any app that is using that data connection and if not it automatically clicks the disconnect data button here looking at the capabilities of mortscript it should be doable but since i am a noob to it I am asking here for any help regarding the issue
Guest spv_dman Posted July 25, 2010 Report Posted July 25, 2010 (edited) I've written a similar application basically altering the registry: #update registry to enable idle data disconnection (set at 30 seconds idle time) RegWriteMultiString( "HKLM","\Comm\ConnMgr\Planner\Settings","SuspendResume",Array("GPRS_bye_if_device_off")) RegWriteDWord( "HKLM","\Comm\ConnMgr\Planner\Settings","CacheTime","00000030") #enable data connection (instead of using the application "NODATA") RegWriteDWord( "HKLM","\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\MyDataConnection","Enabled","00000001") #Run application sleep(500) Run( "\windows\OperaL.exe","http://m.yahoo.com" ) #update registry to disable idle data disconnection RegWriteMultiString( "HKLM","\Comm\ConnMgr\Planner\Settings","SuspendResume",Array("~GPRS!")) RegWriteDWord( "HKLM","\Comm\ConnMgr\Planner\Settings","CacheTime","00000600") #disable data connection (instead of using the application "NODATA") RegWriteDWord( "HKLM","\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\MyDataConnection","Enabled","00000000") I'm also using it to automatically launch Opera and open a specific website. In my case, the data connection remained active while Opera is running. Data connection automatically terminates when I close Opera See attached mortscript. Hope this helpsDataIdleDisconnect.zip Edited July 25, 2010 by spv_dman
Guest urphonesux Posted July 25, 2010 Report Posted July 25, 2010 thanks for the application. Do you experience any battery heatup when using this?
Guest khrisstyan Posted July 25, 2010 Report Posted July 25, 2010 (edited) Hi.I use this script to refresh images in wad2,but the refresh is not in order(1,2,3....),so if someone can help me to make that possibel I will be very grateful.Thank you urphonesux, the attached cab is working for me,i found it on a web site (no battery heatup)5.txtGPRS_1_Minute_Auto_Disconnect.CAB Edited July 25, 2010 by khrisstyan
Guest spv_dman Posted July 25, 2010 Report Posted July 25, 2010 thanks for the application. Do you experience any battery heatup when using this? No, not at all
Guest spv_dman Posted July 25, 2010 Report Posted July 25, 2010 Hi.I use this script to refresh images in wad2,but the refresh is not in order(1,2,3....),so if someone can help me to make that possibel I will be very grateful.Thank you urphonesux, the attached cab is working for me,i found it on a web site (no battery heatup) I used this command to refresh WA3, I don't use WAD so I can't test if it's the same. I suggest you post your inquiry in the lakeridge's WAD forum. Run(WA3Dir \ "ThemeChgr.exe", WA3) Where WA3Dir = themechgr.exe location WA3 = theme location (*.wisbar)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now