I have some code lifted from IBM.
This creates an agent which is then run and it works.
In order to track what's going on I have inserted two message boxes.
The first:
MessageBox view.Toplevelentrycount & " Encrypted Documents", MB_OK, view.Name
The second is similar but contains different text. The issue is that these message boxes block the execution of the agent. I have researched this to find a page about threading in Lotus Script.
Which is How Synchronisation Works
This is the closest which I have found to pushing my message box onto another thread but I am unable to achieve my goal.
Ideally, I'd like the whole agent to run in its own thread as well...