xslt_processor Kommander front-end to xsltproc for Quanta Plus. Chris Hornbaker Form1 0 0 461 250 Quanta+: xsltproc unnamed 11 6 Layout5 unnamed 0 6 Spacer4 Horizontal Expanding 30 0 ExecButton1 &Translate # Set up the CMDLINE var and run xsltproc @GroupBox1 xsltproc $CMDLINE CloseButton1 &Close GroupBox1 # get file to be tested location @CheckBox1 if [ !$CUR ] then TMP0=`dcop | grep quanta` TMP1=`dcop $TMP0 WindowManagerIf currentURL` FILE=`echo $TMP1 | cut -b6-` else FILE=`echo '@FileSelector1'` fi STYLESHEET=`echo '@FileSelector2'` OPFILE=`echo '@LineEdit1'` # Put it all together CMDLINE="-o $HOME/$OPFILE $STYLESHEET $FILE" unnamed 11 6 Layout17 unnamed 0 6 CheckBox1 Current file true # Check if we're using the current file and make note of it if [ !@FileSelector1 ] then CUR=1 else CUR='' fi Layout15 unnamed 0 6 TextLabel1 false File location: FileSelector1 false @widgetText Layout14 unnamed 0 6 TextLabel2 Stylesheet location: FileSelector2 @widgetText Layout13 unnamed 0 6 TextLabel1_2 Output file name: LineEdit1 @widgetText CheckBox1 toggled(bool) FileSelector1 setDisabled(bool) CheckBox1 toggled(bool) TextLabel1 setDisabled(bool)