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.

Is it possible to use a Onetastic macro to : (1) search and find pages limited to just a link; (2) then find and Insert the full webpage below the link; or (3) alternatively trigger the OneNote clipper to build a New Page with the full web content?
How about flipping it around?
How about allowing me to define multiple functions that can be bound to multiple menu items from the same XML file? That way I could create one bundle of all of the macros I am working on, and ensure that all have the latest and greatest versions of my "library" functions.
But how about?:
A) Local variables within functions
B) Libraries of functions that can be shared between macros?
(Currently I am creating a "master macro" with my function library, changing what Main calls, and the Macro info, each time saved.)
--
Really, I should stop playing with OneTastic, and use a real programming language to write extensions to OneNote.
Now it works as expected, thanks a lot.
Thanks!
Fehlerbucket 1839292796566660490, Typ 1
Ereignisname: APPCRASH
Antwort: Nicht verfügbar
CAB-Datei-ID: 0
Problemsignatur:
P1: ONENOTE.EXE
P2: 16.0.11231.20174
P3: 5c5e347a
P4: Onetastic.dll
P5: 4.0.0.0
P6: 5c776655
P7: c0000005
P8: 0005e3c0
P9:
P10:
@Omer: I do not understand what you ment by:
"elyss: Can you provide the bucket number for the crash? You can find it by:
1. Start > Type View all problem reports, hit enter
2. …
"
But I looked into the Windows Events Display. There I can find within Microsoft Office Alerts as Event 300 at the time of the OneNote 2016 start with your add-in activated:
"
Microsoft OneNote
OneNote hat ein Problem mit dem Add-In 'onetastic.addin'. Wenn sich dies wiederholt, deaktivieren Sie dieses Add-In, und überprüfen Sie, ob ein Update verfügbar ist. Möchten Sie das Add-In jetzt deaktivieren?
P1: 700160
P2: 16.0.11231.20174
P3: afi2aP4:
"
I translated the message text yesterday.
1. Start > Type View all problem reports, hit enter
2. Find the OneNote crash
3. Double click
4. Find the Bucket ID at the bottom
Is anyone there?
Any help?
I have to deactive the Add-In within that dialog. Reactivating it by Office/OneNote-Options, Add-Ins leads to the same error dialog.
Can somebody help me?