Step-by-Step guide to loading and using LUA scripts in CARA:
- How to copy a script into CARA:
- Click on "Terminal" in main CARA window.
- Right-click in middle pane and select Import and select the LUA script file
- The script will be automatically opened so you can inspect the header.
- Open the Script and Read the Header:
- Right-click on the name of the script in the middle pane of the Terminal-Explorer.
- Open the script by clicking Open in the context menu.
- Carefully read the header and edit the user variables (if the header states that this is required) to suite your needs.
- If it was necessary to edit user variables then
- Files-Update the edited script to update the current version of the script in memory
- Files-Save to Store the changes in the repository
- Back up your repository before running the script.
- How to run a script once it is defined:
- Right-click on the name of the script in the middle pane of the Terminal-Explorer.
- Run the script by clicking Execute in context menu.
- Check the results!
- most scripts write text to the Terminal-Explorer window (right side).
- Files are written out to the directory that you started CARA from.