Download Latest Version dialogbox_linux-x86.zip (683.7 kB)
Email in envelope

Get an email when there's a new version of dialogbox

Home
Name Modified Size InfoDownloads / Week
dialogbox_win32.zip 2023-01-19 693.8 kB
dialogbox_linux-amd64.zip 2023-01-19 714.0 kB
dialogbox_linux-x86.zip 2023-01-19 683.7 kB
dialogbox_linux-armel.zip 2023-01-19 665.0 kB
README.md 2022-08-01 1.2 kB
Totals: 5 Items   2.8 MB 0

dialogbox

Cross-plataform Dialog Boxes Tool written in Go

Custom Input/Dialog boxes to get user input/choice for bash/batch scripting automation and interaction. A graphical control element in the form of a small window that communicates information to the user and prompts them for a response.

Usage of dialogbox:

 -date
       Date selection dialog box.
 -error
       Error dialog box.
 -file
       File selection dialog box.
 -folder
       Folder selection dialog box.
 -info
       Info dialog box.
 -input
       Text input box.
 -pass
       Password input box.
 -quest
       Question dialog box. (Check the Exit code)
 -sub string
       Box subtitle. (default "Subtitle")
 -title string
       Box title. (default "Title")

Examples:

Password insertion:
password=$(./dialogbox -pass -title "Password" -sub "Insert Password:")
link=$(./dialogbox -input -title "Link" -sub "Insert the link:")
Question:
./dialogbox -quest -title "Confirmation" -sub "Are you sure?"
echo $?
echo %ERRORLEVEL%

Linux:

$ apt-get install zenity
Source: README.md, updated 2022-08-01