Use Run Macro with 2 how-to topics: run a macro and create a macro. Both are available from Tools → Developer Tools → Run Macro.
How-to Index
| No. | Topic | Membership Requirement |
|---|---|---|
| 1 | 1. Run a Macro | Free |
| 2 | 2. Create a Macro | Free |
How-to Guide
1. Run a Macro
Entry path: Tools → Developer Tools → Run Macro
- Open the document you want to process.
- Click the Tools tab.
- Open Developer Tools.
- Click Run Macro.
- In the dialog box, select the macro you want to run.
- Click Run to execute the macro.
- Wait for the macro to complete the preset actions.
Success Criteria
- Interface result: the Run Macro dialog box opens and shows the available macro list.
- Next action available: after you click Run, the document is processed according to the macro settings.
Tips While Using
- Confirm that the macro comes from a trusted source before you run it.
- On macOS, this feature supports WPS macros (JS macros) only.
- If a macro does not run, check the macro security-related settings in Developer Tools.
2. Create a Macro
Entry path: Tools → Developer Tools → Run Macro
- Open the target document in WPS Writer.
- Click the Tools tab.
- Open Developer Tools.
- Click Run Macro.
- Enter a macro name in the dialog box.
- Click Create.
- Start editing JS macro code in the WPS Macro Editor window.
Success Criteria
- Interface result: after you enter a name, the WPS Macro Editor window opens normally.
- Next action available: you can enter, edit, and save JS macro code in the editor.
Tips While Using
- Use a clear macro name so it is easy to identify later.
- On macOS, macro editing and running are limited to JS macros in this feature.
- Plan the steps you want to automate before editing, so later maintenance is easier.