Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Writing RTF control words

$
0
0

I'm trying to create a header with page numbering in an RTF file. Using a text editor I can enter '{\header Page \chpgn}' and get my page numbering. If I use _GUICtrlRichEdit_AppendText to add it characters are escaped and it is displayed as simple text (which makes sense). Looking at the source for _GUICtrlRichEdit_AppendText and the ReadBmpToRtf example I tried enclosing that with '{\rtf }' or '{\rtf1 }' but nothing gets written to the RTF file and @error is 0 coming out of _SendMessage. I'm a bit stumped.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>