Common questions about WPS Advanced Development on macOS usually focus on script capabilities, runtime errors, and scheduled task setup; this FAQ covers 4 frequent questions.
FAQ
What can AirScript scripts do?
- AirScript can be used for spreadsheet data create, read, update, and delete operations, cell style changes, property settings, and automation tasks.
- For more complex logic, write and save the script in the script editor first.
- Test the script against your actual table structure before using it in routine work.
What should I do if a script returns an error?
- Run the script and check the Log panel at the bottom.
- Review the error details in the log and inspect the script syntax or logic.
- Confirm that the required parameters, data ranges, and access conditions are correct.
- Save the revised script and run it again.
What trigger times are available for scheduled tasks?
- Open the Scheduled Tasks panel and start creating a task.
- In the trigger time options, choose once, daily, weekly, or monthly.
- Set the specific time based on your workflow. In daily mode, you can skip weekends if needed.
What can a scheduled task run?
- A scheduled task is used to run an AirScript script automatically.
- Before creating the task, prepare the script in the AirScript script editor.
- When creating the task, select the script from Document Shared Script.
Glossary
| Term | Definition |
|---|---|
| AirScript Script Editor | The development interface used to create, edit, save, and run AirScript scripts. |
| Log Panel | The area that shows output results and error details after a script runs. |
| Scheduled Task | A task mechanism that runs a specified AirScript script automatically at a preset time. |
| Document Shared Script | A shared script that can be selected when you create a scheduled task. |