Save field text to file

Klaus Major klaus at major-k.de
Sat Dec 9 11:11:35 EST 2006


Hi Adrian,

> On the subject of Saving...  can anyone give me some pointers about
> how to Save text from a field into a file with the extension .txt  
> for example?
> The docs don't explicitly have anything about 'Save'.

on mouseup
    put fld "your field here" into url("file:path/to/text_file.txt")
end mouseup

See the docs for "URL".

> Thanks,
> Adrian
> ______________________
> Club Type
> http://www.clubtype.co.uk
> adrian at clubtype.co.uk

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list