Rich,
Yet with every file type, if I run the program, I can select text and
Ctl/C
a copy of the text, then paste it into my TMemo. There has to be a better
way to move it, at least. The TMemo has a windows level paste that does
that part of the job. But that is the part I want to automate as much as
possible.
When, for example, you run Adobe Acrobat Reader, select some text, and press
Ctrl+C, a "copy" message is sent to Acrobat Reader. Reader converts that
section of text to text format, then places it into the Windows Clipboard
(perhaps with other formats). When you paste it into TMemo, the TMemo takes
the data that is already in text format and copies it in.
IOW, the proprietary program takes the data in its proprietary format, does
its conversion, and *then* gives it out to the world. You could easily
automate the pasting, but the copying to the clipboard is another matter.
If you can't do a direction conversion from the proprietary format to text,
you could simulate a select then a press of Ctrll+C; components exist to
emulate keystrokes.
IFilter sounds like a good idea; I also thought of that. But I have not
seen the specification, and my own recent attempt to find IFilters for my
old data files does not give much hope for dealing with many formats.
Rory Daulton
[email protected]
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk