[Windows Mobile Development and Hacking General] dagosjt:
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)