put URL destroys my file
Devin Asay
devin_asay at byu.edu
Wed Apr 17 11:53:16 EDT 2013
On Apr 17, 2013, at 3:13 AM, Tiemo Hollmann TB wrote:
> Hi Warren,
> thank you, you were completly right. The put URL just sets the filetype to
> standard text
> Setting the filetype to empty before put URL lets the OSX recognize the file
> by its dmg extension.
>
> I have read that there might be some older systems, which can't recognize
> the filetype safely by its extension. Would it be more safely to set the
> filetype to a correct filetype or is empty ok for OS X 10.4 and higher? I
> didn't found the creator sign for the diskImageMounter and the filetype for
> DMG. Anybody knows?
> Thanks
> Tiemo
Tiemo,
This is an educated guess based on quick research, but I think the creator code is 'ddsk' and the file type for a DMG is 'udif'. You could try this before you save the DMG file to your local disk:
set the fileType to "ddskudif"
I would be interested to know what you discover.
For more information see http://livecode.byu.edu/helps/file-creatorcodes.php
Regards,
Devin
Devin Asay
Office of Digital Humanities
Brigham Young University
More information about the use-livecode
mailing list