SHARE
TWEET

Untitled

a guest Aug 20th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. osascript 'tell app "System Events" to display dialog "Save and close all your files and application"'
  2.      
  3. once user pressed ok (if condidion need to use here)
  4. if[user input is ok]; then
  5. some commands need to execute
  6. else
  7. display as terminated
  8.      
  9. (apple script[scpt] file not executing in self service, so bash script required)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top