Import text?
2 messages in this thread
> Your ARexx program should be able to read an ASCII file and then
> 'Type' (see ARexx chapter of Final Copy II's manual) it straight into
> your own document. I'd offer to send you a version of this, but I
> haven't received one, yet.
I played around with ARexx, although not with any success to importing
ASCII text from a text file into my existing document. The step that I'm
lost on is how to read the file into the 'Type' command. I was able to
'Type' strings into my FC document, but not from a disk file.
I even dl'ed a macro from another service which claimed to accomplish this
task, but it still opened a second FC document, then cut and pasted to the
first which brought along the new text/font attributes from that second
document – this wipes out the preset format I'm trying to import into.
Any more help would be greatly appreciated.
Thanks,
Fred
Fred,
Look up the READLN function in your ARexx documentation. It allows you
to read a line of text from a file. I forget the parameters it requires,
but it would be similar to this:
line = readln(??,??)
Type line
The ?? are to signify that I forgot what belongs there, that's why
you'll have to look it up.
Ric Fischer — SoftWood Tech Support: (602) 431-9151
SoftWood Sales: (800) 247-8330