# Metadata
Platforms: desktop, server OS: mac Introduced: 1.1 Security: disk
# Syntax
getResource(filePath, resourceType,{resourceName | resourceID})
# Params
- filePath : The location and name of the file that holds the resource you want. If you specify a name but not a location, LiveCode assumes the file is in the defaultFolder. - resourceType : The 4-character type of the resource you want. - resourceName : - resourceID :
# Examples
getResource("/Hard Drive/Stuff","DLOG",128) getResource(it,"BNDL","Application")
# Description
Use the getResource function to get the contents of a resource.
# Tags
# See
- **keyword:** file - **function:** result, setResource - **glossary:** resource fork, resource, Mac OS, return - **control structure:** function