Page 1 of 1

2Bars plugin

Posted: February 10th, 2007, 4:24 pm
by elesquiador
Attached is a plugin to display a single custom character that shows two vertical bar graphs. The function number (1-8) determines which character will be used, and each of the 2 parameters is the value of one of the bars. The minimum and maximum values are assumed to be 0 and 100.

syntax is:
$dll(2bars, <custom character number to use>, <value of left bar>, <value of right bar>)

You can use this to get a graph of the CPU usage of each of your dual cores:

$dll(2bars, 1, $dll(perf,4,5,\Processor(0)\% Processor Time), $dll(perf,4,5,\Processor(1)\% Processor Time))

The C++ source code is in the plugin development forum, if anybody would like to modify or improve this plugin.

Posted: April 8th, 2007, 11:00 pm
by fishthecat
This works really well. Thanks!
I use it to show both my system volume and winamp volume in the same block. :)

Posted: March 17th, 2009, 2:19 am
by makarona
Not work for me. Just blank screen, when i use example from .txt file. Sorry:)

Posted: June 26th, 2009, 6:35 pm
by custommx3
same here.. nothing

Vista 32bit.

Posted: June 26th, 2009, 10:02 pm
by mattcro
If your language/locale setting is not English, you will have to change the performance counter names in the 2bars example.

To test the plugin itself, try something simple like
$dll(2bars, 1, 30, 100)