On 24/7/01 1:24 am, Gary Aitcheson <[EMAIL PROTECTED]> wrote:
> I am trying to use Revolution's import and export text capabilities. I can get
> importing to work just fine, but I am unable to get any success with
> exporting. Even after reading all the documentation several times and several
> frustrating hours. I don't think that this is a bug. I expect that I am just
> missing some small but vital point. Please will some one be so kind as to send
> me the code to export a typed sentence from a field called "Origin" to a
> Microsoft Word file called "Destination" in the Revolution folder.
ask file "Save as:"
if it is empty then exit mouseUp
put it into tFilePath
--or simply put "Destination" into tFilePath
put field "origin" into URL ("file:" & tFilePath)
--or put line 2 to 8 of field "example" into ...
--or ... into line 1 to 5 of URL ...
To save the file using the creator type of Microsoft word, set the fileType
global property to the correct 8 characters before running the rest of the
script above.
Regards,
Kevin
Kevin Miller <[EMAIL PROTECTED]> <http://www.runrev.com/>
Runtime Revolution Limited - Power to the Developer!
Tel: +44 (0)131 718 4333. Fax: +44 (0)1639 830 707.