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
addTranslation(id=str, text=str)
Add the translation for the text identifier.
Definition coat.py:3352
insertInMenu(Menu=str, ID_in_menu=str, script_path=str)
Insert the scripted command into the main menu.
Definition coat.py:3313
bool checkIfMenuItemInserted(ID_in_menu=str)
Check if the command inserted somewhere into the menu.
Definition coat.py:3334