hi
you can use --text-info dialog for such trick.
just send linefeed character (echo -e '\f') to clear existing
text
( echo -e "\f\none" ; sleep 1 ; echo -e "\f\ntwo" ; sleep 1 ; echo -e "\f\nthree" ) | yad
--text-info
On Mon, 8 Apr 2024 18:03:49 -0700 (PDT)
xensurve <
xens...@gmail.com> wrote:
> I'm looking to update text in yad without having to open a new yad window
> (
> RESULT1=$(echo "checking...)
> # run some command then
> RESULT2=$( echo "finished")
> ) | yad --title "RESULTS" \
> --buttons-layout=spread \
> --button="Exit":0 \
> --fixed \
> --form \
> --field "<span color='yellow' font='Times New Roman bold italic
> 10'>$RESULT1</span>:LBL
>
> how would I create a loop to update the text within the same window after
> the commands are run the up date to RESULTS2 any help would be great thanks
>
--
wbr
Victor Ananjevsky, <
vic...@sanana.kiev.ua>