Functions
Watching for changes
To react to files changing instead of polling them, create aDirectoryWatcher. It reports creations, writes,
deletions and renames inside a workspace folder, using the same relative paths
these functions take.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Read and write files in Athena’s workspace folder.
| Function | Description |
|---|---|
readfile | Read a file as a string. |
writefile | Write a string to a file. |
appendfile | Append a string to a file. |
isfile | Test whether a path is a file. |
isfolder | Test whether a path is a folder. |
makefolder | Create a folder. |
delfile | Delete a file. |
delfolder | Delete a folder. |
listfiles | List a folder’s contents. |
loadfile | Compile a file into a function. |
dofile | Run a file. |
getcustomasset | Turn a local file into an asset id. |
DirectoryWatcher. It reports creations, writes,
deletions and renames inside a workspace folder, using the same relative paths
these functions take.
| Function | Description |
|---|---|
openfiledialog | Pick one existing file. |
openfilesdialog | Pick several existing files. |
savefiledialog | Pick a save location. |
openfolderdialog | Pick a folder. |
readfile will accept.| Canonical | Aliases |
|---|---|
getcustomasset | getsynasset |
dofile | runfile |