save as for text file?
Dar Scott
dsc at swcp.com
Sat Jul 17 15:57:22 EDT 2004
On Jul 17, 2004, at 1:48 PM, Rich Lague wrote:
> on mouseUp
> ask "Save list as..."
> set the defaultFolder to "/Users/rlague/Documents/Revolution-iB/RFP
> projecto/7.2i"
> put field "daTable" into URL "file:it.txt"
> end mouseUp
Off the top of my head...
on mouseUp
ask "Save list as..."
if char -4 to -1 of it is not ".txt" put ".txt" after it
put field "daTable" into URL ("file:" & it)
end mousUp
Something like that.
Dar Scott
More information about the use-livecode
mailing list