Re: Scripts for reading and writing binary files

2011-12-18 Thread Alejandro Tejada
Hi All, I uploaded a new version of the stack "Analize Binary Files": http://andregarzia.on-rev.com/alejandro/stacks/Analize%20_Binary_files03.livecode http://at.livecodejournal.com/stacks/Analize%20_Binary_files03.livecode Many Thanks to Andre Garzia and Richard Gaskin for allowing me to store

Re: Scripts for reading and writing binary files

2011-12-18 Thread Michael Kann
Alejandro, As always, you come through in amazing ways. Mike --- On Sun, 12/18/11, Alejandro Tejada wrote: From: Alejandro Tejada Subject: Re: Scripts for reading and writing binary files To: use-revolut...@lists.runrev.com Date: Sunday, December 18, 2011, 10:00 AM Hi Michael, Michael

Re: Scripts for reading and writing binary files

2011-12-18 Thread Alejandro Tejada
Hi Michael, Michael Kann wrote > > It might be helpful to extract any ASCII text which is embedded in the > binary. Then you can see what kind of file you're working with. > Example: > Standard MIDI music files have the ASCII code for "MThd" (4D 54 68 64) > Overview here: > http://en.wikipedia.

Re: Scripts for reading and writing binary files

2011-12-16 Thread Michael Kann
i/Magic_number_%28programming%29 Thanks again, Mike --- On Fri, 12/16/11, Alejandro Tejada wrote: From: Alejandro Tejada Subject: Re: Scripts for reading and writing binary files To: use-revolut...@lists.runrev.com Date: Friday, December 16, 2011, 9:26 AM Hi Michael, Michael Kann wrote >

Re: Scripts for reading and writing binary files

2011-12-16 Thread Alejandro Tejada
Hi Michael, Michael Kann wrote > > Extremely useful. Thanks. > You are welcome! I received the request to include a function for alerting about the file size, before opening it. Additional ideas to make this more useful? Al -- View this message in context: http://runtime-revolution.27830

Re: Scripts for reading and writing binary files

2011-12-16 Thread Michael Kann
Extremely useful. Thanks. Michael --- On Fri, 12/16/11, Alejandro Tejada wrote: From: Alejandro Tejada Subject: Scripts for reading and writing binary files To: use-revolut...@lists.runrev.com Date: Friday, December 16, 2011, 7:03 AM Hi all, Recently, I had to test and modify some binary f

Re: Scripts for reading and writing binary files

2011-12-16 Thread Alejandro Tejada
Hi Paul, Paul Dupuis wrote > > Of course, now if you use these scripts, you should replace 'char' with > 'byte' for the eventual day the two are no longer synonymous. > That would be after RunRev change all text functions, commands and properties to work only in Unicode. Thanks for adding th

Re: Scripts for reading and writing binary files

2011-12-16 Thread Paul Dupuis
Of course, now if you use these scripts, you should replace 'char' with 'byte' for the eventual day the two are no longer synonymous. On 12/16/2011 8:03 AM, Alejandro Tejada wrote: > Hi all, > > Recently, I had to test and modify some binary files, > so digging in my own stacks, I found these scr