Re: Any help with this new script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-10-18 at 00:32 -0700, Ian MacGregor wrote:
> <snip>

> 2) how to capture the o or 1 that zenity --question returns (deternins 
> whether the user chose "OK" or "Cancel" in the zenity --question 
> messagebox) and then have a seperate action occur depending on whether 
> the user chose "OK" or "Cancel". So, I need to learn the proper way to 
> use the "case" in the if/then statement above. Any ideas on either of these?

if zenity --question  
then
	echo "true"
else
	echo "false"



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux