I’ve been playing a bit with a nice program called “Rainmeter“. It calls itself a “customizable resource meter“, but actually it’s a lot more 😀 It lets you control your desktop, and do almost anything with it.

Surplus! There are already tons of prefab skins out in the wild, so the most easiest thing you can do is download one of these, install it, and enjoy it’s power ^^

But ofc, we’re going to modify and enhance things a bit :mrgreen:

So it begins…

It started when browsing the tweakers.net “huiskamer” (a place to chat about every random subject :mrgreen: ) I found the show-offtopic about desktops, and saw a post made by EWK. He made a very nice skin with rainmeter based on this one by White-Baron from DA.

So I downloaded them, tested them, and they where indeed pretty nice. But the combination with my pretty colourful sidebar gadgets was a real visual piece of sh*t.

So I needed Rainmeter replacements for them 😎

So I started reverse engineering the existing .ini-files from the EWK skin 🙂
Learned some code using the rainmeter-documentation.

First of all, Rainmeter uses “Measures” and “Meters”. The measure calculates things, fetches information or invents things, and the meters write them to the screen.

For example: a WebParser, to scrape information of the internet. This was used to get information from the MobileVikings-api, and from the dommel.com website 😆

We know the MV-api is hiddden behind the url https://#user#:#password#@mobilevikings.com/api/2.0/basic/sim_balance.xml . So we create a measure to fetch this from the internet 🙂
The RegExp, as described in the url above, takes this information, search for some tags, and puts the information found between those tags (which is (.*) in one big array. So the information between valid_until is stored in the 1st location, the information between data is stored in the 2nd, sms the 3th, and so on…


Next step is to create another measure, which takes information out of this array, and offer it to the meter.


This simply takes the information located in the 3th place of our array.

And then last step, our meter :mrgreen:

Text=You have %1 sms left.
FontColor=#Colour#, 230

Which is pretty straightforward. A name, go fetch a string, our variable from [MeasureSMS], some information about the location and the size of the text put on the desktop, and some fontinformation 😎

And kapow, our first information on the desktop appears

And another thingy that was done: the time was implemented in 0-12 hours instead of going to 23h like we’re used to in Belgium ^^ Just check the url.

In the end it’s just another measure using


for hours and minutes.

Download: MV parser, original skin from EWK . Should be placed in C:\Users\*insert username*\Documents\Rainmeter\Skins . the .ini-file in MV should be edited, using your own password and username 😉 Dommel parser on demand…
And the original from the original: SimpleSentence

Lol, power-noob-fail of mendel, at first I published my code from the MV-parser with my own password in it… In plaintext 😕 OOPS

my desktop:
Oh look! My desktop :-) on Twitpic

4 reacties
  1. Moet gij ni studeren ? 😉
    En ‘k wil da seriously ook wel is installeren hier !

  2. Oni zei:

    Do you mind posting or sending me the Dommel webparser code? I tried to figure it out myself but can’t get it to work.. Does Dommel still accept user:pass@crm…? I feel like my code is going wrong there somewhere :/

    • Oni zei:

      It works!
      Apparently I messed up my own code in that first part where the login was submitted xD
      Thanks a million!

Geef een reactie

Vul je gegevens in of klik op een icoon om in te loggen.

WordPress.com logo

Je reageert onder je WordPress.com account. Log uit /  Bijwerken )

Google+ photo

Je reageert onder je Google+ account. Log uit /  Bijwerken )


Je reageert onder je Twitter account. Log uit /  Bijwerken )

Facebook foto

Je reageert onder je Facebook account. Log uit /  Bijwerken )


Verbinden met %s

%d bloggers liken dit: