title: I am trying to create an automator run shell script that purges memory and its not working
body: <p>Could someone tell me what is wrong with this: </p>
  
  <pre><code>tell application "Terminal"
      activate
  
      tell application "System Events"
          keystroke "sudo"
          keystroke return
          keystroke "purge"
          keystroke return
      end tell:
  
  end tell
  </code></pre>