copy file on Mac

Ken Ray kray at sonsothunder.com
Mon May 8 20:45:39 EDT 2006


On 5/8/06 6:49 PM, "Mark Schonewille" <m.schonewille at economy-x-talk.com>
wrote:

> Hi Chipp,
> 
> Check the file and creator type of the original file and make sure to
> the filetype before using the put url command.

And FYI, for Office 2004 for Mac, the creator is "XCEL" and the type is
"XLS8" (case sensitive).

If for some reason the .xls file has resources in it, you might also want to
do a "resfile:" copy as well, as in:

set the fileType to "XCELXLS8"
put URL ("binfile:" & "text.xls") into URL ("binfile:" & "text2.xls")
put URL ("resfile:" & "text.xls") into URL ("resfile:" & "text2.xls")

HTH,


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list