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.
-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")
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 "Verification" -sub "Are you sure?" echo $?
Link insertion (Windows):
FOR /F %%F in ('dialogbox -input -title "Link" -sub "Insert the link:"') do (set link=%%F)
Question (Windows):
dialogbox -quest -title "Verification" -sub "Are you sure?" echo %ERRORLEVEL%
$ apt-get install zenity
This project is licensed under the ISC License.