The PTC Community email address has changed to firstname.lastname@example.org. Learn more.
I want to create an option in the Table Menu or Tools Menu, to call an script and make some stuff in the DITA document,
How can I customize the menu??
Check the Help Center for "menu_add". It should give you all the details you need about adding menu items and making them do useful things.