Revisions made by tamc up to 08:28 Wed 03 May 2006
Note, if you wish to edit or undo these revisions, please follow the links from here. You cannot do it from here, becuase someone may have edited the page more recently and because you may need a password to edit the page.
08:28 Wed 03 May 2006
- 0. h1. Applescript to send message to 30boxes
- 1.
- 2. I find the ability to forward messages to www.30boxes.com and have them added to my calendar extremely useful.
- 3.
- 4. I created an applescript to slightly automate the process:
- 5.
- 6. <pre>
- 7. <code>
- 8. tell application "Mail"
- 9. set theMessages to the selection
- 10. repeat with thisMessage in theMessages
- 11. display dialog "30 Boxes subject:" default answer (thisMessage's subject as string)
- 12. set theSubject to text returned of result
- 13. set newMessage to make new outgoing message
- 14. tell newMessage
- 15. set subject to theSubject
- 16. set content to thisMessage's content
- 17. make new to recipient with properties {address:"add@30boxes.com"}
- 18. end tell
- 19. send newMessage
- 20. delete newMessage
- 21. end repeat
- 22. end tell
- 23. </code>
- 24. </pre>