On this page
hs.plist
Read and write Property List files
API Overview
- Functions - API calls offered directly by the extension
API Documentation
Functions
read
Signature | hs.plist.read(filepath) -> table |
---|---|
Type | Function |
Description | Loads a Property List file |
Parameters |
|
Returns |
|
Source | extensions/plist/libplist.m line 4 |
readString
Signature | hs.plist.readString(value, [binary]) -> table | nil |
---|---|
Type | Function |
Description | Interprets a property list file within a string into a table. |
Parameters |
|
Returns |
|
Source | extensions/plist/libplist.m line 23 |
write
Signature | hs.plist.write(filepath, data[, binary]) -> boolean |
---|---|
Type | Function |
Description | Writes a Property List file |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/plist/libplist.m line 100 |
writeString
Signature | hs.plist.writeString(data, [binary]) -> string | nil |
---|---|
Type | Function |
Description | Interprets a property list file within a string into a table. |
Parameters |
|
Returns |
|
Source | extensions/plist/libplist.m line 62 |
© 2014–2017 Hammerspoon contributors
Licensed under the MIT License.
https://www.hammerspoon.org/docs/hs.plist.html