Config Building Tutorial
Samurize Visual Tutorial
Questions, comments and criticism can be emailed to NeM at
Note: for this tutorial I have the Highlight Meters option in the bottom panel enabled and I have set the grid size to 5x5. These steps are not necessary (but the former one may help!)
- Open the Config.exe program (located in your Samurize directory)
- First we'll start with a nice rectangular box to sit our meters in .
Click on the Edit Graphics tab and click on the Add Background Object button. Select Add Rectangle from the drop-down menu.
You should now have a rectangular box sitting in your Design Area like so:
Feel free to change its color (by clicking on the Select Color button and selecting a color from the color box popup. You also might want to make the rectangle a bit bigger by click-dragging the corners of the rectangle out.
- Next, we'll add a meter - one that displays your CPU usage as a graph. Click on the Edit Meters tab, click on the Add Meter button and select Add Perfmon... from the dropdown menu. You will be presented with a window like this:
Make sure all the settings in your window are the same as the one above (except for the box that reads //NEM - this should have the name of your computer here instead!
Click OK once you are finished.
- You should now have a small box (it's actually the meter) in your Design Area that reads something like "Perfmon: 81".
Click on this meter and select Graph for the Draw Type. You should see the meter change in the Design Area. Move and resize the meter as you did for the colored rectangle so that it fits within the colored rectangle. You should now have something that looks like this:
- Next we'll add a progress bar that shows your Physical memory (RAM) usage. Click on the Edit Meters tab, click on the Add Meter button and select Add Memory from the dropdown menu. You should have a new meter in your Design Area that reads something like "Free Memory: 298mb".
Click on this meter and select Progressbar for the Draw Type. You should see the meter change into a horizontal bar in the Design Area. Now, the amount of memory (in megabytes) you have free isn't a very useful statistic to show on your progressbar; it would make a lot more sense to show, say, the percentage of memory that is free. This way, when the bar is empty, all your RAM is being used and vice versa. To achieve this, click on the Source tab and select '%' for the Unit.
Drag the new meter into the colored rectangle you made. You should now have something like this:
- Finally, we'll add an ActiveScript meter. For this tutorial, I will use the ExternalIP script I wrote (yeah yeah self-pimpage.. so sue me! The principles are the same for all scripts). Download a copy of this script if you don't have it already and put the ExternalIP.vbs file in your Samurize/Scripts directory (this is where all script you download should be placed).
Click on the Edit Meters tab, click on the Add Meter button and select Add Active Script from the dropdown menu. You should have a new meter in your Design Area that reads something like "ActiveScript: [Not Yet Executed]".
Now, go to the Source tab, click on the Select Script pulldown menu and select "ExternalIP.vbs".Next, click on the Select Function to Run pulldown menu and select "getExternalIP" from the menu. You may wish to change the calue in the Run every X min field to a larger value (this is how often the script runs - make this a higher number to save on bandwidth ).
Click on the Test Script button to test the script. It should return your WAN IP address in the form XXX.XXX.XXX.XXX. Drag the meter into your colored rectangle. You should now have something that looks like this:
There, our simple config is complete! It's a little basic (ok, it's VERY basic!!) but the more you play around with the program, the better you'll get. It's that simple.
More will be added by request.
- Data downloaded/uploaded per second
Add Meter->Add Perfmon...->Network Interface in Performance Object box, Bytes Received/Sec (or Bytes Sent/sec) in Counters list, your network card/modem in Instances list.
If you have any more queries, try the FAQ.
|[ Back to Samurize Tutorials | ]|