How to Run Macro in WPS on macOS

Last updated:July 17, 2026

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.TopicMembership Requirement
11. Run a MacroFree
22. Create a MacroFree

How-to Guide

1. Run a Macro

Entry path: Tools → Developer Tools → Run Macro

  1. Open the document you want to process.
  2. Click the Tools tab.
  3. Open Developer Tools.
  4. Click Run Macro.
  5. In the dialog box, select the macro you want to run.
  6. Click Run to execute the macro.
  7. 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

  1. Open the target document in WPS Writer.
  2. Click the Tools tab.
  3. Open Developer Tools.
  4. Click Run Macro.
  5. Enter a macro name in the dialog box.
  6. Click Create.
  7. 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.