Common questions about WPS Macro Editor mainly involve scripting language differences, cross-platform compatibility, and safe usage; this section includes 3 FAQs and a glossary.
FAQ
What is the difference between WPS Macro Editor and a VB editor?
- WPS Macro Editor uses JavaScript for macro development.
- A VB editor uses VBA for macro development.
- If you want a cross-platform macro workflow, reorganize the logic as JavaScript macros.
Why can VBA macros written on Windows not run directly on Linux or macOS?
- VBA macros and JS macros use different scripting languages.
- The two kinds of macro code are not directly compatible.
- To achieve a similar workflow on Linux or macOS, rewrite the logic with JS macros.
What should I pay attention to when using macro scripts?
- Only open and run macro script files from trusted sources.
- Confirm the presentation workflow you want to automate before editing the script.
- Keep JavaScript macros and VBA macros separate instead of mixing code directly.
Glossary
| Term | Definition |
|---|---|
| Macro Editor | An editing environment for writing, viewing, and managing macro code. |
| JavaScript macro | An automation script written in JavaScript for repeated actions or custom workflows. |
| Module | A code container in the Macro Editor used to organize and store script content. |