rez.countResTypes

Syntax rez.countResTypes (path)

Params path is a path to the file whose resource types you wish to count.

Action Determines the number of different resource types a file has.

Returns The number of resource types in the file named in path.

Examples rez.countResTypes ("System:ResEdit 2 .1.1")
» 51

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.

Combined with rez.getNthResType you can access all the resource types.

Combined with rez.countResources and rez.getNthResource you can visit every resource in a given file.

Combined with fileloop, you can visit every single resource in all files on a disk volume.

See Also rez.getNthResType

rez.countResources

Discuss