Advertisement
Guest User

ApplescriptTerminal

a guest
Jun 8th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tell application "Terminal"
  2.     if not (exists window 1) then reopen
  3.     activate
  4.     do script "uptime" in window 1
  5. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement