Sumtotal
is a List-Box which displays the contents of a comma-separated text file of two fields, a key and a value. The listbox displays the sum total of the values in the list retrieved from the file. For Example, a long list of balances of accounts may be summed in the total entry field.
The Listbox has a scrollbar and accommodates a list as long as needed.
USAGE:¶ ↑
Create a text file containing:
require 'sumtotal' Sumtotal.run
save the text file as “sumtotal.rbw” or “sumtotal.rb” on your desktop if you are using Microsoft Windows as an Operating System.
if Ruby is in your PATH, clicking on this Ruby file will start the Widget.