> -----Original Message----- > From: Rui Miguel Seabra [mailto:[email protected]xx] > Sent: Monday, December 15, 2003 5:35 PM > To: [email protected] > Subject: RE: Nautilus Scripts > > > btw an improved version? > Haven't had a chance to test this out.. Can I ask anyway?? 1. EXT=".txt" 2. BNAME=`basename $New_Document $EXT` 3. if test ! $New_Document == $BNAME ; then 4. New_Document=$BNAME 5. fi 6. echo "$New_Document" Line 3 will test if anything was typed into the zenity dialog box??? NewB here.