rez.getNamedResource

Syntax rez.getNamedResource (path, resourcetype, name, addr)

Params path is a path to the file from which you wish to get the indicated resource.

resourcetype is a string4 indicating the type of resource you want.

name is the name of the resource you want returned.

addr is the address where the returned resource data is to be stored.

Action Gets a resource from a file, using the resource's name. If found, it creates a binary value at addr containing the resource data.

Returns True if a resource with the indicated name and type was found, false otherwise

Examples rez.getNamedResource ("Frontier.root", 'DLOG', "personalize", @scratchpad.dlog)
» 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.

See Also rez.getResource

rez.putNamedResource

Discuss