rez.getNthResInfo
| Syntax |
rez.getNthResInfo (path, type, n, addrID, addrName)
|
| Params |
path is a path to the file from which you wish to get the indicated resource. type is a string4 indicating the type of resource you want. n is the index of the resource you want returned. addrID is the address where the ID of the returned resource is to be stored. addrName is the address where the name of the returned resource is to be stored.
|
| Action |
Locates a resource from a file, using the resource's index. Resources start at 1. If found, the Object Database cell pointed to by addrID is filled with the resources's ID, and the cell pointed to by addrName is filled with the resource's name.
|
| Returns |
True if the resource was found, false otherwise
|
| Examples |
local (ID, name); rez.getNthResInfo ("System:System Folder:TeachText", 'DLOG', 2, @ID, @name) » 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.getNthResource
|