Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Convert multiple text files to Mail notes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Convert multiple text files to Mail notes
Authored by: kodosaru on Jul 21, '14 06:55:12AM

Two Things

1. (related to paczor's issue) On Mac OS X 10.9.4, Python 2.7.6 (brew version), you can't have a tab character in front of the END""". Should be:

24 end tell
25 end tell
26 END"""

or you get a, "258:261: execution error: Can’t get end. (-1728)." Must be HEREDOC requirement for Python?

2. When you import RTF instead of TEXT, you the RTF format strings become visible in the note. Might be nice improvement to script to filter those.

Nice script, thanks.



[ Reply to This | # ]