Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resource fork help



We use the Mac commands Rez and DeRez to do this: DeRez to "decompile" the resource fork into a normal file, Rez to combine the data and resource forks back into a Mac file.  Both are installed with the developer tools, though, in the /Developer/Tools folder, so you can't count on them being on all users' machines.

Geoff

On 19 Dec 2006, at 18:34, Greg Guerin wrote:

2) Find an exec()'able command that can encode resource fork and metadata

on behalf of your applet, and then give your applet exec() permission.


I don't know of any such command off the top of my head, but someone else

might.  Note that commands like ditto and cp will copy resource forks and

metadata, but they don't encode it.  You may be able to trick them into

encoding it if you mount a temp file-system (disk-image) with FAT format,

from which you can directly read the "dot-underscore" file.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Resource fork help (From: Greg Guerin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.