It`s next action runs $1/vob-avi.encode in the current shell to reread it`s $OUTFILE value.
The next action then refreshes the Entry Box and it`s $OUTFILE value.
Code: Select all
export Encode="<window><vbox>
<frame Input File><vbox>
<button><label>Output File</label>
<action>vob-avi.sh outFILE</action>
<action>. $1/vob-avi.encode</action>
<action>refresh:OUTFILE</action>
</button>
<entry><variable>OUTFILE</variable><input>echo $OUTFILE</input></entry>
<button ok></button>
</vbox></window>"
gtkdialog3 -p Encode
Many of Puppy`s dialogs must kill and rerun themselves to refresh themselves.
I assume that this is the only way to get this to work?