a guest Aug 20th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- osascript 'tell app "System Events" to display dialog "Save and close all your files and application"'
- once user pressed ok (if condidion need to use here)
- if[user input is ok]; then
- some commands need to execute
- display as terminated
- (apple script[scpt] file not executing in self service, so bash script required)
RAW Paste Data