That's right, the code I sketched is just for data capture – others may know more about LaunchBar actions and their formats and requirements – I haven't looked at them for a long time.
(But the documentation looks good)
Perhaps something to ask about on a LaunchBar forum ?