Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/osascript
- set safariRunning to true
- if application "Safari" is not running then
- set safariRunning to false
- end if
- tell application "Safari"
- if safariRunning = false then
- delay 0.1
- tell application "Safari" to close window 1
- end if
- make new document
- activate
- end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement