Desktop short cut / running script - G1 General

Hi,
I know there is Gscript, but I would like to be able to create my own scripts and add them as a desktop shortcut.
Is there any tutorial or wiki on that?
One of the scripts I would like to use, is starting 3G connection and then start an application. After you exit the program 3G connection should be automatically disabled.

Related

REQ: Tool/shortcut o switch from 3g to GSM and back

I tried this in another thread a while ago but as nobody even replied I thought I should try it again before I completely give up
Is there a tool (or can someone code one maybe?) to switch between 3G and GSM without going the "normal" route of
Settings-Phone-Options-Band(or whatever it´s called in the english version) and then change it to either WCDMA, GSM or Auto. Of course you will have to disconnect any active connection before you can do that.
A tool to accomplish the same thing would really help in improving battery life as with it you could switch to 3g only if needed (websurfing) and leave it in GSM mode most of the time.
If a tool is impossible to create, a shortcut to make the procedure above easier would help. too.
Yep i would love this too any takers :>
JEREMY
You could try writing a macro using mortscript - it can simulate taps on the
screen. And yes, I'd like to have such a tool, too..
Thanks for the Mortscript hint. I managed to write a tiny little scriptlet (it´s ridiculous really, but it does the job) that does the following through stylus tap simulation and app calls:
- Open the Phonepad
- open the options dialog
- select the "Band" tab
- change the band selection from 3g to GSM without clicking OK
- call a subscript which disconnects the current connection (otherwise a bandchange is not possible). The subscript is necessary as Mortscript will not process any command that comes after a "Disconnect"
- here I would like to click OK. But for the love of god...I can´t find the right coordinates on my Trion. Can anyone help?
- here I would like to close the phonepad again
Same stuf in a second script for GSM to 3g of course.
I´m pretty sure most of it can be done through SendTab/SendDown etc. Figured that out a little too late. Might clean it up a bit to make it less resolution-dependent.
Voila
Even without the last two steps it is rather useful. When you call the script it will do everything except press OK for you.
Band Tab
I upgraded to the Cingular (1.34) rom and now I do not have the "Band" tab on the phone settings. Has anyone else experienced this? I would love to have the utility to switch back and forth as the battery drain is too fast in
3G mode.
Thanks!
See this page for details:
http://www.securegsm.com/pages.php?pageid=85
"... If you do not see the “Band” tab, please download this CAB file and execute on your device. After executing this CAB file...
The above CAB file contains a registry change for your device. No special application is installed when you execute the above CAB file..."
Please note: login is required to download.
Alternatively, you can enable "Band" selection tab using registry editor.
BixbySpartan said:
I upgraded to the Cingular (1.34) rom and now I do not have the "Band" tab on the phone settings. Has anyone else experienced this? I would love to have the utility to switch back and forth as the battery drain is too fast in
3G mode.
Thanks!
Click to expand...
Click to collapse
SecureGSM -
The CAB file worked flawlessly. I appreciate the information and your assistance.
Thanks!
Ok, I cleaned up the two Mortscript scriplets to just use sendkeys. No more stylus tap simulation, makes it a lot more reliable.
Executing either script will now open the phonepad, go to options-band, diconnect the current connection and then change the band.
Unfortunately closing the phonepad doesn´t work riliably as it will leave the phonepad screen in the foreground and the UI will freeze.
Maybe someone a little more gifted can make this more interactive (e.g. ead what app is active and switch back to it after the band change or something).
For me it is good enough for now.
If anyone wants it, let me know.
What the heck. Maybe someone can make use of it.
VERY clumsy and thrown together in a couple of minutes. Should work on any Trion etc.
You will have to edit the window captions and paths as I did this on a German ROM.
"Telefon" is "phone" or whatever the phonepad caption/link to the phonepad is called.
Works on my Trion. Improvements as mentioned above more than welcome.
Latest Mortscript beta needed. Can be found here:
http://www.sto-helit.de/downloads/pocketpc/MortScript-4.0RC2.zip
uhmm.. just my 2 cents. there is slightly better way of doing this:
step #1: change band selection to GSM or to WCDMA directly in registry
step#2: flick device radio to flight mode on and then off
Also, step #2 will restart the radio regardles of established connection is present or not.
alternitevely if you would like to close data connection gracefully:
call datadisconnect.exe located in \windows. nice utility btw. it surely has CLI mode as well.
any C / C++ programmer should be able to get this project done in few hours at most.
SecureGSM said:
uhmm.. just my 2 cents. there is slightly better way of doing this:
step #1: change band selection to GSM or to WCDMA directly in registry
step#2: flick device radio to flight mode on and then off
Also, step #2 will restart the radio regardles of established connection is present or not.
alternitevely if you would like to close data connection gracefully:
call datadisconnect.exe located in \windows. nice utility btw. it surely has CLI mode as well.
any C / C++ programmer should be able to get this project done in few hours at most.
Click to expand...
Click to collapse
Great! As I said before, I just did this to have something (not much, I know).
Wouldn´t the "disadvantage" be, though, that you would have to enter your pin every time flightmode is turned off?
Do you know what registry entries this would be?
Is it HKLM,Software\OEM\UMTS,OpMode ? And if so, what would be the values for 3g, GSM and Auto?
EDIT: Think I found it. Auto=0, GSM=1, 3g=2
Is this correct?
Plus, is there any shortcut you can run to toggle flightmode? If so, these two things could be put into another Mortscript scriptlet (it can change the registry).
Thanks!
did a test over the last day I disabled incoming beams (which I've had ticked all the time apparently ) and I manually put the phone into 2g mode but had it connected all the time to gprs. man the battery life more than doubled I've still got 70% battery left after a heavy days of usage.
but I miss 3g speeds for web browsing tho. so I think a tool for 2g to 3g and back would be most appreciated preferably not using mortscript and with a message saying "switching to Xg mode" or something. unfortunately my programming skills are nearly non existant.
anyone
Jeremy
Install Flightmode.exe from WinMobileApps.com and run it via MortScript.
# UMTS
RegWriteDWord HKLM,Software\OEM\UMTS,OpMode,2
sleep 500
Run "\Programme\FlightMode\Flightmode.exe"
sleep 3000
Run "\Programme\FlightMode\Flightmode.exe"
Use OpMode, 1 for GSM only and 0 for Auto.
Thanks, but it was me posting this to ppc-welt
bball said:
Thanks, but it was me posting this to ppc-welt
Click to expand...
Click to collapse
I wasn't claiming to be the author, just wanted to share the information here. Usually it's the other way round, sharing information from the Developers in other forums. Hope it helps and, yes, bball appearently is the Author.
Nono, I didn´t take it like that, I was just surprised and thought it was quite funny to see my solution to this in the thread I originally asked for it
bball said:
Nono, I didn´t take it like that, I was just surprised and thought it was quite funny to see my solution to this in the thread I originally asked for it
Click to expand...
Click to collapse
Yeah, it is funny indeed. But the solution you found yourself hasn't been posted here so I was thinking it should be added so people in this forum can find it. This is the international forum to share information at.
Anyway, thank you for the great solution! It really works fine and I still have the great runtime of my Trion together with fast UMTS where I need/want it. I think this has a high value!
GSM & 3G switching via Skschema Scripts
Hi folks,
I know some of you have beens using Mortscript to change the network band in the registry and subsequently switch to 3G or GSM by clicking.
Well I had a look at seeing if I could do something similiar using a SKschema script.
This is what I have come up with so far.
Skschema has commands which allow it to switch the radio(gsm) on/off as well as writing and deleting values/keys to the registry. (Tested on the Hermes)
SwitchToGSM.sksc
This script Writes to registry the value "1" for OpMode, pauses 1 second, turns radio off, turns radio on and connects to your data connection(GPRS ONLY).
Code:
#r(#rgset) #p(HKLM;\SOFTWARE\OEM\UMTS;OpMode;DWORD;1) #sleep(1000)
#r(#gsmoff)
#r(#gsmon)
#r(#connect)
SwitchTo3G.sksc
This script Writes to registry the value "0" for OpMode, pauses 1 second, turns radio off, turns radio on and connects to your data connection(Auto - if 3G present it will connect to that).
Code:
#r(#rgset) #p(HKLM;\SOFTWARE\OEM\UMTS;OpMode;DWORD;0) #sleep(1000)
#r(#gsmoff)
#r(#gsmon)
#r(#connect)
You could assign both these Skschema scripts to a hardware buttons, even better if you use the voice notes button on the Hermes you could use one script for [press] and the other for [press & hold].
toggle2G_3G.sksc
This script I have tried to add some intelligence into the script, I wanted to use a script for 1 hardware button and for just one [press] to switch to GSM then a second [press] to 3G - so it really toggles between the two modes.
To achieve this I used a little bit of logic and an extra key in the registry.
Code:
#r(#rgget) #p(HKCU;\Software\sk\schema\rad;Gsense;DWORD;0)
#r(#iftrue) #p(set2G)
#r(#rgset) #p(HKLM;\SOFTWARE\OEM\UMTS;OpMode;DWORD;0)
#r(#rgset) #p(HKCU;\Software\sk\schema\rad;Gsense;DWORD;0)
#r(#goto) #p(act)
#r(#label) #p(set2G)
#r(#rgset) #p(HKLM;\SOFTWARE\OEM\UMTS;OpMode;DWORD;1)
#r(#rgdelkey) #p(HKCU;\Software\sk\schema;rad)
#r(#goto) #p(act)
#r(#label) #p(act)
#r(#disconnect) #sleep(1000)
#r(#gsmoff) #sleep(1000)
#r(#gsmon)
#r(#connect)
This is how the script works the "rad" key which I have put in the Skschema registry path, is completely functionless - It's merely there as a check.
The script firstly checks to see if this key exists?
If it does then the script moves along to the "set2G" line.
If it doesn't then the script continues, The OpMode value is changed to "0" - enables AUTO mode. Then the "rad" key is created and the script moves along to the "act" label.
following along from above at the "set2G" label, OpMode value is changed to "1" - enables GSM mode only. Then the "rad" key is deleted and the script moves along to the "act" label.
At the "act" label the current data connection (if present or not) is disconnected, a pause before doing this of 1 second, the radio is switched off with another pause of 1 second, followed by switching the radio back on. Finally the data connection is re-connected.
The "rad" key is used to enable the script to decide which switching is required to GSM or to 3G.
Maybe a similar toggle action in one script could be done in Mortscript?
For anybody with Skschema I have attached the 3 script files.
Chalky.
-------
checkout Skschema tutorials
enable Band selection
SecureGSM said:
Alternatively, you can enable "Band" selection tab using registry editor.
Click to expand...
Click to collapse
Can someone tell me which registry keys to change, to enable Band selection using registry editor? The cab file mentioned did nothing on my device when I clicked on it.
I looked in WM5_Tweaks_Other and saw nothing refering to band selection. Thanks.
Hi. I am doing a program with a botton icon to do this.
to activate only gprs:
1) Change the registry.
2) turn radio off.
3) turn radio on.
but only when i turn off the radio using comm panel the system "refresh" its data from registry and then it works. Any idea?
Thanks

Turning on phone at set time?

Hi. I frequently turn off my phone using the Comm Manager while leaving the PDA on during the evening. In the morning, I frequently forget to turn the phone back on and I was wondering if there was a program that can turn on (and perhaps turn off) the phone using the Comm Manager at a set time. Thanks.
Phone: 8125 on WM5 with original ROM
I'm looking for something like SleepWell.
http://www.connectivetools.com/sleepwell.html
The problem is that this program works only for smartphones. I tried it on my 8125 and it doesn't work. Moreover, the program deposited 300Kb of data which I can't seem to get rid of even after uninstalling it. But I'm still looking for such a program. Thanks.
Try Mortscript (Freeware). you can write a simple script that will set a notification event (or whatever it's called). I use it to run weather watcher automatically every morning. there are several forum strings, here and on others that have examples of different scripts that you can modify for your own needs. just do a google search for Mortscript, and Mortscript examples. It also has documentation included. Learning to use Mortscript will give you more control over your device than you ever though was possible.
I didn't think of MortScript, but even if I had, I don't have the technical know how to create do what I wish with a nice GUI.

Help with motoscript on wm6.5 (networking)

hey guys,
I hope that this is in the right section..... (mods, please move if not)
At work I have several vbs scripts that i use to do day to day task within Active directory. I'd like to write a motoscript that enables me to start these scripts from my device (touch HD running 6.5) when I'm at work.
I know that I need to do a few things in my script.
1 - start a wifi connection and connect to my work access point
2 - input a few parameters like username and such
3 - start a script thats on my work machine passing the inputed details on.
So far I can start the wifi connection by using Run("wifinetworks.exe") which is cool, but when i do it opens the available networks. Now if i leave the phone for a minute or two it does connect to the correct network but I still have the available networks screen open.
Is there a way of starting the connection without any GUI at all??
Also (and more importantly) how would I go about starting a app on a remote machine??
I'm think along the lines of mapping a network drive and then using RUN("X:\scripts\run me.vbs") but I'm worried that it would try to run the app on the phone and not on the remote machine.
Does anyone have any experience with these scripts? specially with networking with them??
Any help is greatly appreciated.
Thanking you in advance
Blastman

[TOOL][25-09-2009] MortScript Suite 2.0

Hello to all,
"Script Suite 2.0" is ready and it's my first "developer" contribution to this forum.
I'll try to extend with other scripts and contribution by other people to have a full library of scripts able to extends functionalities for programs like WAD, Throttle Launcher, and every other similar fundamentally able to read on registry and to show pics
Infact all scripts write on registry all the info needed, and save on the configured folders the pic.
I made my best to make very easy to use and configure for final user.
So in the end I built everything so that to make them fully working you would need 3 steps:
1- Downloading the package
2- Installing mortscript
3- Configure a single properties.ini file
Scripts are organized in folders, so if somebody doesn't want some of them, he can simply delete the folder and clean the sections on properties.ini.
I already planned many new scripts and some improvements, of course every suggestion is welcome, both for new scripts and for improvements
Before to go on I want to thank:
- Mort for Mortscript and MortPlayer. Really both programs wonderful and powerful
- Gslide for Gslide program. Great mortscript programming and organization here, without studying his work I couldn't give you tasks and rss scripts.
- Alan Smith on this forum for Mail and SMS scripts
- Alfonso Presa for Message2Reg (to use the above scripts)
- Jokes On You for sms' sender pic inspiration
- Rats for moon script inspiration
- Rumball for stock scripts inspiration
I hope I didn't forget anyone, if somebody find his work here please tell me to give him his right!
In following posts some explanation about how to use the "suite"
As proof, I applied all scripts on a WAD skin:
http://www.lakeridgesoftware.com/forum/showthread.php?t=15662
Changelog
v2.0
- Better list management (with delete)
- Last caller pic (similar to last sms sender pic)
- Refactoring to use common functionalities. In particular, now is possible to have advanced connection, advanced line formatting and scrolling list functions available for every scripts needing them
- Meteo - MoonState, script retrieving info about moon state on the internet
- Mail - used new functions to format subject and body
- Rss,tasks - Implemented list scrolling in rss and tasks using the common script
- Implemented scrolling photo
- Stocks - add dynamic stock sign (plus/minus)
- Location - take info from cellId and save as a string if you like
- GPS - Current location info + calculate directions
- Scheduler - improved management
v1.0
- Agenda - Saint of the day, tasks
- GPS - Read basic information from GPS
- Images - choose random images from a folder (and one level subfolder), open album on directory set as parameter
- Mail, Messages - integration of Alan Smith scripts
- Meteo - Meteo radars list
- Music - Mortscript controls and data from registry, search and download album art from internet
- RSS - Download feeds and open link if click on article
- Scheduler - scripts to launch the other auto-updating scripts
- Stocks - Stock info with managing of bought quotes
Properties.ini
Explaining Properties.ini
As said in first post, editing Properties.ini is the only thing you need to use all the info provided by scripts.
I think the best thing to do is to provide a sample Properties.ini (fully working on my machine) and to explain section for section:
[Registry]
RegRoot=HKCU
RegPath=\Software\My_Utilities\
*** Here everyone is free to configure his own registry path where to store information. However I would suggest to don't change it simply because all the info related to Message2Reg will go under this path (no way to change...) so I think it's better to have everything at a place. Moreover, the name is enough generic to be good for everybody.
[Connection]
#Type=Check|3g
Type=Check
RetryTimeout=5
Retries=3
3gNetwork=Vodafone Web GPRS
*** Added this section to let you decide how to manage connection.
Type: currently only two values are managed.
- Check means if connection is already present then use it.
- 3g means if connection is not present than force a 3g connection.
- I thought about a "wifi" managing too but didn't find a good tool to use on my HD to toggle WiFi. Every suggestion is accepted
RetryTimeout: how much to wait for connection
Retries: how many times retry the check.
- In this example we'll wait max 15 (=3x5) seconds before to say connection failed.
3gNetwork: Name of 3g network to use
[GPS]
RefreshGPSTime=5
RefreshCityTime=5
RefreshAutoTime=600
#Unit=Km|Mp
Unit=Km
ExpressWay=true
*** Here you configure the refresh GPS interval in seconds. Of course GPS must be active
RefreshCityTime indicates how many minutes wait before to update current location (you need a connection)
RefreshAutoTime indicate how many seconds wait before to automatically update the directions.
Unit indicate the unit measure chosen
ExpressWay indicate if you want to use motorway in calculating directions.
[Images]
GraphicsPath=\Program Files\Lakeridge\WisBar Advance Desktop\Themes\Filli_Common\Graphic\
ScriptsPath=\Program Files\Lakeridge\WisBar Advance Desktop\Themes\Filli_Common\Scripts\
RefreshImagesTime=120
*** Here you can configure:
*** scripts path (variable extensively used practically by every script)
*** graphics path, that is where your theme graphical files are
*** Time in minutes to wait before to change images
[Folders]
BigImageP1=\Storage Card\Skin\Wad2\Wallpaper800_P|file|bigImage.jpg
BigImageP2=\Storage Card\Skin\Wad2\Wallpaper800_P|file|bigImage2.jpg
BigImageP3=\Storage Card\Skin\Wad2\Wallpaper800_P|file|bigImage3.jpg
BigImageP4=\Storage Card\Skin\Wad2\Wallpaper800_P|file|bigImage4.jpg
BigImageL1=\Storage Card\Skin\Wad2\Wallpaper800_L|file|bigImageL.jpg
AnalogClock=\Storage Card\Skin\Wad2\BKG_CLock|file|AnalogClock\WadClock .png
SmallImageP=\Storage Card\Foto\My Pictures\|file|smallImage.jpg
SmallImageL=\Storage Card\Foto\My Pictures L\|file|smallImage2.jpg
OthersBigP=\Storage Card\Skin\Wad2\Wallpaper800_P\Other|dir|othersBigP .jpg
OthersBigL=\Storage Card\Skin\Wad2\Wallpaper800_L\Other|dir|othersBigL .jpg
OthersSmallP=\Storage Card\Skin\Wad2\Wallpaper800_P\Other|dir|othersSmal lP.jpg
OthersSmallL=\Storage Card\Skin\Wad2\Wallpaper800_L\Other|dir|othersSmal lL.jpg
*** Here it's possible to configure a free and dynamic list, that is you can name directories as you want and put all the directories you want. As you can see every folder has 3 properties, separated by "|":
*** Path
*** Type (dir or file)
*** Destination file
*** How it works? Well, those info needs to included Random.mscr script. For every folder, if type is "file" will randomly choose a file directly in that folder, else ("dir") will be chosen a file in a subdir. The chosen file will be saved in "GraphicsPath/Destination file".
"dir" is very important if you have a lot of wallpapers for example (I noticed more than 400 files in a single directory will slow down machine) or if you like to organize your photo in subfolder.
After you configured your list, start "randoms.mscr", and every RefreshImagesTime you'll have a new pic.
[FormatLongText]
LengthOfText=350
NoOfLines=10
LineLength=40
Adjust=2
*** Those parameters (mainly LineLength) needs to manage long strings in scripts like mail, rss, tasks, and other info you can retrieve from internet. If text/line is too long it will be cut and "..." will be inserted at end.
[Mail]
RefreshMailTime=30
*** Simply set how to wait until next mail sync
[MailServices]
MailService1=Gmail
MailService2=Hotmail
*** Free and dynamic list to set all the mail service you need
[Messaging]
ContactsPath=\Storage Card\Contacts\Contacts128\
*** This needs to know where to get sender sms or caller pic if you want to show in your skin
[Meteo]
RefreshMeteoTime=180
*** Here you can configure minutes before every radar download
[Radars]
1=http://static.die.net/earth/mercator/800.jpg
2=http://static.die.net/moon/400.jpg
3=http://magazine.enel.it/meteo/img/v_meteoimg/msg/italy/bis/curr_ita.jpg
4=http://eur.yimg.com/w/wcom/eur_italy_outlook_it_IT_440_dmy_y.jpg
5=http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGB-naturalcolor-centralEurope.jpg
6=http://eur.yimg.com/w/wcom/eur_satintl_440_dmy_y.jpg
7=http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_VIS006EColor-centralEurope.jpg
8=http://www.inmh.ro/images/mradar.jpeg
9=http://www.meteoromania.ro/images/harta/temp.jpg
*** Dynamic list to use all the meteo radar you wants. You need to name them as a sequence number if you want switching by them working
[Internet]
DefaultBrowser = \Windows\OperaL.exe
*** Choose your browser to start rss links
[RSS]
MaxElementsForFeed=10
RefreshRSSTime=60
*** Here you can configure RSS refresh time in minutes, and max number of elements for each RSS Feed. Can be handy if you have very big feeds but you needs only few on WAD2.
[RSS Feeds]
Repubblica Home=http://rss.feedsportal.com/c/32275/f/438637/index.rss
*** Free and dynamic list for RSS, you are free to choose name, simply set correctly the link!
[Tasks]
RefreshTasksTime=60
*** How many minutes wait before to refresh tasks in case you changed them.
[Stocks]
Interval=20
StartHour=8:0
StopHour=17:50
chartDownload=1
*** Refresh parameters for stocks. On weekend download is already disabled, for working days you can choose the interval (how many minutes to wait before next update), start and stop hour (for minutes less than 10 doesn't put "0" in front) and if you want to download charts
[StockList]
Borsa Milano = FTSEMIB.MI|FTSEMIB.MI|0|0|I
Euro Dollaro = EURUSD|EURUSD|5000|1,32|X
Euro Ron = EURRON|EURRON|0|0|X
Google = GOOG|GOOG|0|0|A
*** Free and dynamic list to manage your stocks.
*** First field is the name you find on Yahoo
*** Second field the one found on google (sometime they differs)
*** Third field how many stocks you own
*** Fourth field average price for your bought stocks
*** Fifth field type of stock, "X" for money change, "I" for general index, "A" for normal quotes. It's important to download the correct info/graphs
[Location]
RefreshLocationTime=5
*** Indicate how many minutes wait before to update current location (based on cellId)
Folders
Here some explanation about how to use the scripts inside folders
*** Agenda
- Tasks.mscr retrieve tasks from outlook and put on registry so you can read them in WAD
- ScrollTasks.mscr needs to scroll up and down tasks
- SantodelGiorno.mscr retrieve the Catholic Saint of the day from internet and put info on the internet. More a sample to see how to treat info coming from the net.
*** GPS
- GPSScript.mscr write on registry some info about GPS. It works only if GPS is active, of course.
- FindCity.mscr find all info about your current city and current address. It works thanks to GPSToday, which activate GPS and take some info (other are taken from internet)
- GetDirections.mscr calculate path between two address. It needs a connection. Can be used once or called automatically every a configurable number of seconds ([GPS] RefreshAutoTime)
- ScrollDirections.mscr to scroll up and down directions
*** Images
- Randoms.mscr will choose randomly files as explained in above post. It will take a file from the configured directory (or subdirectory), will save the chosen directory on registry, and will copy the file on the configured one.
- AlbumCameraFolder.exe can be used inside WAD2 to open the related image folder inside album.
For example "AlbumCameraFolder.exe BigImageP1" will open the "\Storage Card\Skin\Wad2\Wallpaper800_P" folder, if you use the above properties.ini file
Instead "AlbumCameraFolder.exe OthersBigP" willl open the randomly chosen subdir under "\Storage Card\Skin\Wad2\Wallpaper800_P\Other", because type was "dir".
Practically speaking in WAD you'll find a photo, and clicking on it you'll open the folder where the photo is.
- ScrollPhoto.mscr to scroll up and down photos in the same folder of current one in a linear way
- callerPic.mscr make possible to use the pic of last caller
*** Location
- Location.mscr read the current cellId and Lac and put in registry
- saveLocation.mscr let you save current location using the name you like
*** Mail
Those are the Alan Smith scripts, simply adapted to this organization, and more:
- SyncService.exe will sync the single service
- SyncAllServices.mscr will read your configured mail services and will update all of them
- OpenMailInbox.exe needs to open a service inbox
*** Messages
Again Alan Smith files, and more:
- senderPic.exe to update the sms sender pic when browsing them on WAD2
*** Meteo
- Moonphases.mscr download moon pic and read moon phases from internet
- DownloadMeteoRadar.mscr downloads all the Radars link configured.
- ChangeMeteoRadar.mscr needs to browse beetwen radars images in skin, and accept "next" or "prev" as directions
*** Music
- Various mortplayer remote controls to be used from skin
- WADAlbumArt.mscr go to internet trying to find the album art according to information stored on mp3, and written on registry by mortplayer (basycally author/album). If cover it's already present it will not try to download again
*** RSS
- MortXML.xml and RSS.xml are "services" scripts and don't needs to be touched
- DownloadRSS.xml will download feeds and update registry
- SetCurrentRSS.exe will set the current feed so to switch beetwen them on your skins
- OpenCurrentLink.exe it's to be associated to text read by WAD on registry to start the browser and read the news.
- ScrollRSSInfo needs to scroll RSS articles
*** Scheduler
- ScheduledDownload.mscr it's just a script to start all downloads together (for now). Maybe it will become a "serious" scheduler, however for now all single scripts have their own scheduling
*** Stocks
- StockConfig.mscr will read info from Stock List in configuration and update registry. Every time you change something in the list you need to run this script
- UpdateStocks.mscr in practice is the scheduler. If you are in the configured days and hours it will start the downloads
- DownloadGraph.mscr and DownloadStocks.mscr are the scripts to download the graph images and the stock informations. Normally they are managed by UpdateStocks.mscr
- SetCurrentStock.mscr and RefreshCurrent.mscr permits to browse beetwen graphs and informations and to update graphs.
*** Utility
- Connect.mscr let you choose how you want to manage connections. At the moment, it can simple check if a connection already exist or force a 3g connection. I would like to implement forcing a Wifi connection, however I still didn't find a reliable tool to toggle wifi
- FormatLine.mscr needs to clean texts and to format them in various lines if too long
- ScrollList.mscr it's the general script to manage scrolling generic lists of element up and down.
Good work, well done
Great work! Should put it in the MortScript examples accumulation thread, too.
I find that when the phone is off, although the location.mscr does run every 5 minutes, the location data obtained from rilcmdline during phone off is still the location data when the phone was last turned on. I proof it by putting a timestamp at the showedLocation field.
In summary, the location cannot update when phone is off. Is there any solution for this? Thanks.
actually this was posted in the examples a long time ago.
it's also been listed in the Morstscript Compendium of course...
Hi,
Me again.
So I am going to add RSS to StatusTicker with your RSS script.
With this rss:
Craigslist=http://losangeles.craigslist.org/sfv/zip/index.rss
It downloads the RSS file just fine. But it doesn't seem to be parsing the headers back into the registry.
I only just got started. If you happen to know what's making it not work that would be cool. I will look some more.
thanks much
ahlok_hk said:
Great work! Should put it in the MortScript examples accumulation thread, too.
I find that when the phone is off, although the location.mscr does run every 5 minutes, the location data obtained from rilcmdline during phone off is still the location data when the phone was last turned on. I proof it by putting a timestamp at the showedLocation field.
In summary, the location cannot update when phone is off. Is there any solution for this? Thanks.
Click to expand...
Click to collapse
Sorry for late answer, I had little time for phone lately.
However I simply used a freeware rilcmdline.exe I've found on the forum and I'm saving results on registry so to be available for other applications. I'm afraid the problem you said is about exe and I can't do anything with exe
A chance could be to activate screen before to update RIL, but I'm afraid battery will last very little after.
On the other side, I see this important if you use location to switch profiles, but if like me you only need a visual information, well, you'll have to switch on the phone to see location on WAD so no problem
howdykeith said:
Hi,
Me again.
So I am going to add RSS to StatusTicker with your RSS script.
With this rss:
Craigslist=http://losangeles.craigslist.org/sfv/zip/index.rss
It downloads the RSS file just fine. But it doesn't seem to be parsing the headers back into the registry.
I only just got started. If you happen to know what's making it not work that would be cool. I will look some more.
thanks much
Click to expand...
Click to collapse
Hello howdy,
sorry for late answer, as I said before had very little time for phone.
Strange your RSS doesn't work, I used the same script with little modifications for a Twitter script I'm going to post some time in v3.0.
You would need together the Download_RSS.mscr, RSS.mscr and MortXML.mscr script because everything would work (about writing in registry).
I use those scripts every day so let me know where the problem is (I'm sure you correctly setup the .ini file...)

[Q] Automatically turn wifi on and off

hey guys.
i am looking for an option to have my wifi turned on and off automatically. normally it should be off to save the battery but when i start an app like opera/youtube wifi should automatically turn on until the device goes to standby oder the app is closed..
on my last diamond 2 rom there was such an option available in the sense connection manager. and i just loved the option cause i never had to worry about my wifistat. it was always perfect. unfortunately my actual rom does not contain this option.
a perfect solution for me would be a cab that adds this option to my sense commmanger.
so if someone has an idea how to fix this isue maybe by a cab file or a registry change please let me know.
btw. i am using energy rom with maxsense.
thanks
bye
nobody that can help me?
You can do that with a mortscript.
I made the same with opera, youtube, quickgps and many other applications who needs internet connection.
How does it works:
For example when you press Opera's shortcut, automatically opens wifi, after x seconds (I set it to 8 seconds, I gave time to stabilize the wifi connection) a popup message will ask you if you want to run Opera.
If you press "Yes" runs Opera, if you press "No" closes wifi.
When you close Opera (after use) automatically close wifi.
Take the mortscript for Opera Mobile 10 (included wifi.exe).
If you like to use the mortscript to another application like youtube:
1. change the application directory's line at "Opera Mobile 10.mscr" file
2. rename ".mscr" & ".exe" files like your application (must have the same name)
3. optionally, change application's icon with ResHacker.
Be careful with directory paths of "wifi.exe" & "<application name>.exe" make the changes who needed inside of "<application name>.mscr".
"<application name>.mscr" opens with notepad.
Make a shortcut of ".exe" and put it anywhere you want (e.g. \Windows\Start Menu\Programs) for easy accessable.
Don't forget to delete the original Opera's shortcut.

Categories

Resources