Suddenly realized this week that /sys/demo/fatbits should be using the file browser (from /sys/lib/textUtil) to open an image, rather than asking the user to manually type in a path. This is probably a simple change, but I'm pretty swamped right now trying to catch up on things after my trip. Anybody want to bang that out and submit a PR (or just send me the revised script)?
As per this request, I changed /sys/demo/fatbits.ms to use FileDialog from textUtil.
I tested three cases:
Cancel button is pressed. Nothing is done. :white_check_mark:
Select button is pressed on a valid image. The image opens. :white_check_mark:
Select button is pressed on an invalid image. The user is given the error message and nothing further is done. :white_check_mark:
Joe wrote on the MiniScript Discord:
As per this request, I changed /sys/demo/fatbits.ms to use
FileDialog
fromtextUtil
.I tested three cases:
Cancel
button is pressed. Nothing is done. :white_check_mark:Select
button is pressed on a valid image. The image opens. :white_check_mark:Select
button is pressed on an invalid image. The user is given the error message and nothing further is done. :white_check_mark: