rez.putStringResource
| Syntax |
rez.putStringResource (path, id, s)
|
| Params |
path is a path to the file ionto which you wish to place the resource. id is the ID of the 'STR ' resource that you want to create or replace in the file at path. string is the string of which the new resource is to be composed.
|
| Action |
Copies the data at addr into resource fork of the file. Creates a new 'STR ' resource with an empty name. If the resource already exists, its contents are updated and its name is preserved.
|
| Returns |
True
|
| Examples |
rez.putStringResource ("System:tmp", 512, "Oh the buzzing of the bees.") » 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. This verb converts the format of the Frontier string (no length byte) to the standard 'STR ' format (with length byte). This verb is implemented as a script.
|
| See Also |
rez.putResource
|