The resource command provides some generic operations for dealing with Macintosh resources. This command is only supported on the Macintosh platform. You use the normal open, puts, close, etc. You must use this command, however, to interact with the resource fork.
Option indicates what resource command to perform.
Any unique abbreviation for option is acceptable. Resources from that resource file will no longer be available. If resourceRef is specified then the command will limit the search to that particular resource file. Otherwise, all resource files currently opened by the application will be searched. Open the resource for the file fileName .