Message 1 of 5
Running python script from menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone!
So because the old menu system has removed and the new menu system way too restrictive I run into a problem that prevents us from creating Qt based menu on the main menu bar.
The problem comes from the fact that the #welcomeScreenDone is not the latest callback that runs, but the #cuiRegisterMenus. This unfortunately destroys the menu created by the #welcomeScreenDone callback.
Of course the #cuiRegisterMenus system cannot run python scripts at all since it accepts only MacroScripts.
Is there a reliable solution for this problem? Creating .mcr files to run the python files are also a no go, since there are other python dependencies.