#!/bin/sh

. ./0common.sh || exit 1

VOLUME=$(
$DIALOG --stdout \
        --title "RANGE BOX" \
        --rangebox "Please set the volume..." 0 0 0 12 5
)

case $? in
  0)
    echo "Volume set to $VOLUME.";;
  1)
    echo "Cancel pressed.";;
  255)
    echo "Box closed.";;
esac
