Onetastic 4 is Available with User Defined Functions
March 01, 2019
Onetastic 4 is available with support for user defined functions. You can now add new functions with parameters in your macro and call them to re-use code and simplify your macro. This allows writing macros that do much more with less code than before especially in problems with recursive nature (e.g. macros dealing with section group hierarchy or nested tables).
Adding User Defined Functions to Macros
Macro Editor is updated for adding and editing your own functions. You can see how this works in the short recording below:
Debugging Macros with User Defined Functions
The debugger can now step into and out of user defined functions. A callstack is displayed in the debugger and you can see return values of both user defined and built-in functions in Object Browser during debugging to help investigate and identify problems:
Menus and Toolbar
Macro Editor's user interface is fully updated with menus and toolbars. You can now open macros or create new ones directly from inside the editor. A full list of menu items and their explanations can be found in the
documentation.

Licensing
Editing and debugging macros with user defined functions requires an active Onetastic Dev license. Licenses purchased for Onetastic 3.X.X releases will continue to work on Onetastic 4.
Comments