Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "Terminal"
- if not (exists window 1) then reopen
- activate
- do script "uptime" in window 1
- end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement