scripting:api:menu-object:insert-item

Action unknown: addtobook

InsertItem

Method of IMenuObject

Inserts new context menu handler or separator when handler is NULL

MenuObject.InsertItem(nPosition, sName, pHandler);
MenuObject.InsertItem nPosition, sName, pHandler
HRESULT hr = MenuObject.InsertItem(nPosition, sName, pHandler);