how to add a file type and creator code to a binary file under mac os x

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Sat Sep 17 19:33:24 EDT 2011


Thanks to both of you, Mark and Klaus.

Matthias


Am 17.09.2011 um 14:13 schrieb Mark Schonewille:

> Matthias,
> 
> set the filetype to "myAPMP4!"
> 
> or whatever the code is supposed to be. The first 4 chars are the creator code, the second 4 are the file type. Any file created after this line will have this creator and type. Works on Mac only.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Send me a friend request on Facebook if you like https://www.facebook.com/marksch
> 
> On 17 sep 2011, at 14:08, Matthias Rebbe wrote:
> 
>> Hi,
>> 
>> i am creating a binary file (audio) with extension .mp4  with LiveCode. GetFileInfo (from the Xcode SDK) shows the file type  "TEXT" and the creator code "ttxt".
>> 
>> Is there a way to addjust/modify this? Does anyone have a clue?
>> 
>> Regards,
>> 
>> Matthias
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list