rez.setResourceAttributes
| Syntax |
rez.setResourceAttributes (path, type, id, attrs)
|
| Params |
path is the path to the file containing the resource whose attributes you want to set. type is a string4 indicating the type of the resource. ID is the id of the resource. attrs is a number representing the attributes to be set.
|
| Action |
Locates the specified resource and sets its attributes according to attrs.
|
| Returns |
True
|
| Examples |
rez.setResourceAttributes ("System:TeachText", 'MENU', 1, 20) «locked, preload » true
x = bit.clear (0xff, 5); «all bits except purgable
|
| Errors |
If the specified resource isn't found, an error is generated.
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
Only valid attributes will actually be set by this verb; undefined bits are ignored.
|
| See Also |
rez.getResourceAttributes
|