BLOBs to files - works great but...

Devin Asay devin_asay at byu.edu
Tue Jan 12 22:31:40 EST 2010


On Jan 12, 2010, at 8:08 PM, Sarah Reichelt wrote:

> On Wed, Jan 13, 2010 at 12:07 PM, Alex Adams <alex at a2technology.com>  
> wrote:
>> I have recently added the ability to store files in BLOBs and  
>> everything
>> works fine on the way in and on the way out.  Thanks Zryip TheSlug  
>> for your
>> explanations.
>>
>> What isn¹t working for me yet is a lack of autonomy of the files  
>> restored to
>> a Mac OS X.  The files work just fine, if opened by a program that  
>> uses the
>> file type, but the finder always opens them in a text editor.
>
>
> Check out "the filetype" in the docs.
> By default, Rev sets the filetype to "ttxtTEXT" which means that any
> file saved will appear to be a text file.
> You can set the file type to the required creator code & type, but now
> that Apple no longer supports creator codes, it is much easier just to
> set the filetype to empty and let the Finder use the file extension to
> sort out which application to use for each file type.

Alex,

As Sarah mentioned, with Snow Leopard Apple has abandoned the creator  
code and file type model, but if you're still using Leopard or have  
users who are, this page might be useful:

http://revolution.byu.edu/helps/file-creatorcodes.php

Regards,

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list