title: How can I copy text to the clipboard using AppleScript
body: <p>I would like to create an application using AppleScript to copy the system info and email it to myself.  I know to to do the emailing aspect and how to make the email have the content of whatever is in the clipboard.  How might I use AppleScript coding to copy text to the clipboard?</p>
  
  <p>In case it helps here is the way to email whatever is in the clipboard:</p>
  
  <pre><code>set a to "uselessdecoy@gmail.com"
  tell application "Mail"
  tell (make new outgoing message)
  set subject to (the clipboard)
  set content to "content"
  make new to recipient at end of to recipients with properties {address:a}
  send
  end tell
  end tell
  </code></pre>