ONLYOFFICE Desktop Editors: new version with macros is out
Hello!
We have launched a new version of the ONLYOFFICE Desktop Editors with pre-installed plugins and macros. The full change log can be found on GitHub.
Macros are scripts that help you automate your routine tasks and standardize documents. ONLYOFFICE macros use JavaScript language syntax and ONLYOFFICE Document Builder API scripting notation. You can add your own macros to documents, edit and save them.
- Click the plugin button and select “Macros”.
- Click “New” and consult the ONLYOFFICE Document Builder API documentation to see what you need to write the necessary script.
- Enter your script code and click “Run” to run it within the document.
You are probably used to macros which are written in Visual Basic. They won’t be compatible with ONLYOFFICE because we use a different scripting language*. However, you can slightly rewrite your old macros to make them work in ONLYOFFICE. Have a look at our documentation to learn how to convert them. It’s much easier than it seems!
We are also planning to add a special tool for automatic conversion in future.
*JavaScript was chosen because it’s both easy and cross-platform.
Download the new version and try everything yourself!
We have just started working on macros, so some functionality you need might be missing. Please, let us know immediately which is that. The best way to contact our developers is GitHub.
We also appreciate any feedback here, in comments, and on our developers’ forum. Let us know what you think and help us make ONLYOFFICE macros better!