diff options
Diffstat (limited to 'help/C/l10n_scripts/filesel.sh')
-rwxr-xr-x | help/C/l10n_scripts/filesel.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/help/C/l10n_scripts/filesel.sh b/help/C/l10n_scripts/filesel.sh new file mode 100755 index 00000000..e9abe1d3 --- /dev/null +++ b/help/C/l10n_scripts/filesel.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +FILE=`zenity --file-selection --title="Select a File"` + +case $? in + 0) + echo "\"$FILE\" selected.";; + 1) + echo "No file selected.";; + -1) + echo "No file selected.";; +esac + |