Created
October 1, 2012 21:24
-
-
Save rmanly/3814523 to your computer and use it in GitHub Desktop.
AppleScript Window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# script your commands here | |
touch file1 | |
# this is the window block | |
/usr/bin/osascript << EOF | |
tell application "Finder" | |
activate | |
display dialog "Running Maintenance Tasks" buttons {"Finish IT!"} with icon caution | |
end tell | |
EOF | |
# final command(s) runs after button is pressed | |
touch file2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment