Hi.
In a small sample:
Code:
#!/bin/sh
# @(#) s2 Demonstrate capture of entered text.
VERSION=$( zenity --version )
echo " Zenity version is :$VERSION:"
NAME=$( zenity --title "Entry box for name" --entry --text \
"What is your name?" )
echo " Variable NAME is :$NAME:"
which follows the man page note for the second example:
Quote:
... The entered text is returned on standard output.
|
The example produces, after a name has been entered:
Code:
% ./s2
Zenity version is :2.8.2:
Variable NAME is :Bill Case:
Best wishes ... cheers, makyo