| Name | Modified | Size | Downloads / 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 | 1 |
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 insertion:
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