Insert the command into the menu.
Insert the command into the menu
1
2import coat
3
5
8 coat.dialog().text(
"The 'test_script' inserted into the File menu.").ok().show()
9else:
10
insertInMenu(str Menu, str ID_in_menu, str script_path)
Insert the scripted command into the main menu.
Definition coat.py:3328
addTranslation(str id, str text)
Add the translation for the text identifier.
Definition coat.py:3367
bool checkIfMenuItemInserted(str ID_in_menu)
Check if the command inserted somewhere into the menu.
Definition coat.py:3349