Skip to content

Commit

Permalink
Merge pull request #236 from iAGorynT/iAGorynT-Code-Snippet-Changes
Browse files Browse the repository at this point in the history
Update zUserinput.sh
  • Loading branch information
iAGorynT authored Dec 10, 2023
2 parents 85d7b99 + 3db395f commit 563bdbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ShellScripts/zTests/zUserinput.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,14 @@ echo

echo "Text Dialog Box / Display Input..."
echo
# Display Text Dialog Box
textin=$(osascript -e 'tell app "System Events" to display dialog ¬
"Insert Text" ¬
with title "Text" ¬
buttons {"OK", "Quit"} default button "OK" ¬
default answer ""' \
-e 'text returned of result')
# Display Entered Text on Command Line
echo "Your text is: $textin"
# Set Focus Back To Termius App
focustermius=$(osascript -e 'tell app "Termius" to activate')
Expand Down

0 comments on commit 563bdbd

Please sign in to comment.