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


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to