This content has been marked as final. Show 4 replies
> Does anyone know of a way to save the text of a cast member as a Word
Use or rtf or html formatting and give it a .doc extension - Word knows what
to do with it.
You can get the rtf or html of a text member using member("whatever").rtf or
member("whatever").html - put it into a variable and save that with an xtra
like fileIO, propSave or buddyFile.
I don't have the latest Director, so I don't know what the implications of
Unicode will be.
Andrew's suggestion is the way to go to meet your requirement "to
add some text formatting (in the form of bold and coloured text) and
would also like the file to open in Word when double clicked."
If your requirement is "to save the text of a cast member as a Word
document" then you will need an Xtra such as this one.
Andrew ur tip worked for me. that's all i wanted to accomplish. thanks.
Thanks Andrew, works a treat. At the moment it really just needs to contain some limited formatting and open by default in Word (or whatever you've got set to open .docs with). So getting the rtf or html and adding .doc as the extension works great.
Thanks for the heads up on the Xtra Dave, might come in handy in the future as there's a good chance future versions will be needed with more features.