file.copyResourceFork

Syntax file.copyResourceFork (sourcepath, destpath)

Params sourcepath is the path to the file from which you wish to copy the entire resource fork to the file named in destpath.

destpath is the path to the file to which you wish to copy the entire resource fork of the file named in sourcepath.

Action Copies the resource fork of the file, not the data fork.

Returns True

Examples file.copyResourceFork ("System:System Folder:System", "System:Backups:System Resource Archive")

   » true

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes This is an advanced Frontier verb of primary interest to implementers and advanced scripters. It is not necessary to understand it to use Frontier effectively for most tasks.

To copy individual resources between files, you will use two or more of the resource verbs, with the Object Database serving as the intermediate storage point for the resource data being copied.

See Also file.copy

file.copyDataFork

rez.getResource

rez.putResource

Discuss