Hm, I don't know how you are writing the files but you can always rename the
file using BuddyAPI's RenameFile command.

HTH

Jorge

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nigel Cowley
Sent: Thursday, August 16, 2001 3:54 PM
To: [EMAIL PROTECTED]
Subject: <lingo-l> FileIO and writing file extensions


Hello list,

I've made a little utility to trace scanned artwork into (x,y) co-ords. I'm
writing these co-ords out to a text file using FileIO. Wa-hey! it worked!
Why do I want to do this? because I read this file into a primative CAD/CAM
system - this allows me then to cut out the shapes I have sketched and
scanned in... Why did I use director to do this? because it's the only
development environment I know...
But the only problem I have is I'd like to write the files with a .TPL
extension instead of a .TXT extension, I have struggled a little but I can't
figure out how to do this, any advice very much appreciated. I have
obviously been renaming the files manually for the time being.

Best Regards,
Nigel


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to