copyResource | ||||||||||||||||||||||
Type | function | |||||||||||||||||||||
Dictionary | LCS | |||||||||||||||||||||
Library | LiveCode Script | |||||||||||||||||||||
Syntax |
| |||||||||||||||||||||
Summary | ||||||||||||||||||||||
Introduced | 1.0 | |||||||||||||||||||||
Changes | The copyResource function was deprecated in LiveCode 8.1, since the versions of MacOS supported by LiveCode no longer support resource forks. It should not be used in any new code. | |||||||||||||||||||||
Deprecated | 8.1 | |||||||||||||||||||||
OS | mac | |||||||||||||||||||||
Platforms | desktop | |||||||||||||||||||||
Parameters |
| |||||||||||||||||||||
Example |
| |||||||||||||||||||||
Values |
| |||||||||||||||||||||
Related | Keyword: file Command: copy Function: result, setResource Control Structure: function Glossary: resource fork, resource, Mac OS, return | |||||||||||||||||||||
Security | disk | |||||||||||||||||||||
Description | Use the copyResource function to copy resources (such as icons, externals, and version resources) from one file to another. If you don't specify a newID, the new resource has the same ID as the original resource. Specifying a newID does not change the resource ID of the original resource in the file; it only affects the copy in the destinationFile. | |||||||||||||||||||||
Tags | file system |