View Single Post
  #52 (permalink)  
Old 04-22-2010, 03:23 PM
lost_'s Avatar
lost_
N00b
Offline
 
Join Date: Feb 2010
Posts: 40
Reputation: 15
lost_ is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Toggle 1X updated for 6.5.1(FIXED!) (Drastically increase battery life!)

It's the same thing. The mortscript does what you do. If you do it manually, I would recommend WMLongLife.

To call WMLongLife from Mortscript on our VGA Diamond:

PHP Code:
  Run("\Windows\WMLongLifeSwitch.exe"
  
WaitForActive("Band Switcher"10)
  ...
  
# 2G
  
MouseClick("Band Switcher"12040)
  ...
  
# WMLongLife controlled
  
MouseClick("Band Switcher"120180)
  ...
  
# 3G Auto
  
MouseClick("Band Switcher"120100
(or do a DLL call if you want to call it from your code)
Reply With Quote