On Fri, Feb 13, 2009 at 11:35 AM, Marc Tompkins <marc.tompk...@gmail.com>wrote:

> On Fri, Feb 13, 2009 at 11:11 AM, Alan Gauld <alan.ga...@btinternet.com>wrote:
>
>>
>>> {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf440
>>>
>>
Here's a quick-and-dirty way to do what (I think) you want to do:

Skip the first curly brace ("{") - find the next one.  Just before it,
insert a space + the datestamp text.  That's it.  Now if you open the RTF
file in Word, or WordPad, or whatever RTF reader you have on your system,
your text will appear (in the system-default font and style, 'cause you
inserted it before any document styles) at the top of the document.

Note: this is absolutely NOT valid RTF; it only works because Microsoft
specifically requires that RTF readers obey Posten's Law.  If you later edit
the modified file in Word, WordPad, etc. your datestamp text will be moved
to a more appropriate area of the file and you might have a hard time
finding it again.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to