Hi Jochen
You can use the Trigger property of the NotesAgent class to determine this.
Sample code :
Dim session As New NotesSession
Dim agent As NotesAgent
Set agent = session.CurrentAgent
If agent.Trigger= TRIGGER_MANUAL Then
Messagebox "Manual"
Else
Messagebox "Not manual"
End If
I hope this helps!
Please mark this question as answered and helpful if your issue is resolved.