View Single Post
Old 01-25-2024, 04:10 PM   #7
orontee
Connoisseur
orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.orontee ought to be getting tired of karma fortunes by now.
 
orontee's Avatar
 
Posts: 85
Karma: 250308
Join Date: Sep 2023
Location: Toulouse, France
Device: Vivlio Touch HD Plus, reMarkable Paper Pro
Code:
dialog ICON_CODE UNUSED_TITLE MESSAGE [BUTTON_ONE_LABEL] [BUTTON_TWO_LABEL]
Meaning of ICON_CODE: 0 no icon, 1 information icon, 2 question mark icon, 3 warning icon, 4 error icon.

AFAICT UNUSED_TITLE is... unused, just use "".

Button labels are optional.

Exit status will tell what button was selected by user.

Example:
Code:
dialog 3 "" "Is flx listening to an audiobook or looking at hisereader screen" "Reading" "Don't know"
Attached Thumbnails
Click image for larger version

Name:	scr0018.png
Views:	212
Size:	54.9 KB
ID:	206024  

Last edited by orontee; 01-25-2024 at 04:13 PM.
orontee is offline   Reply With Quote