I want to make an AppleScript that takes the body the selected email message and turns it into a text file (XML). The email body will already bare all necessary XML formatting. The script would literally emulate copying the body and pasting it into TextEdit and doing a Save As with extension XML. I could easily build a Script or Automation that takes the clipboard but haven't found a way to capture the body of the selected email.
Anybody know?
Anybody know?