#!/bin/bash



OPENFILE=`kdialog --icon /usr/share/pixmaps/aiso2.png --caption "Select Cue File" --getopenfilename $HOME/ "*.cue |CUE File"`

if test -z $OPENFILE
then
exit
else
echo continua
fi

PLAYER1=`kdialog --icon /usr/share/pixmaps/aiso2.png --caption "AcetoneISO2" --combobox "Select Writing Speed ex. 4x,8x :" "4" "8" "10" "12" "16" "24" "32" "40" `
if test -z $PLAYER1
then 
exit
else
echo continua
fi



konsole -e cdrdao write --eject --speed $PLAYER1 --device /dev/cdrom --driver generic-mmc "$OPENFILE"

kdialog --caption "AcetoneISO2" --msgbox "Process Completed"
exit



