yosik
01-29-2008, 04:41 AM
Is the above possible?
I tried working via the clipboard but could not find a way to copy a string into the clipboard.
I tried working with GetSelection but it only gives the position (start and end) of the selection, not the text itself.
What I need is actually to insert text before and after a line in a html file.
My scenario was to read the html file into a RTF object, thus allowing the user to highlight the relevant line. Then I wanted to put some text before and after that line. Something like:
Starting with:
yadayadayada
and ending with:
intro text yadayadayada outro text
Any idea?
Thanks
Yossi
I tried working via the clipboard but could not find a way to copy a string into the clipboard.
I tried working with GetSelection but it only gives the position (start and end) of the selection, not the text itself.
What I need is actually to insert text before and after a line in a html file.
My scenario was to read the html file into a RTF object, thus allowing the user to highlight the relevant line. Then I wanted to put some text before and after that line. Something like:
Starting with:
yadayadayada
and ending with:
intro text yadayadayada outro text
Any idea?
Thanks
Yossi