I wonder if there is a possibility to write a Python/Syntax script that would automatically creating my own menu instead of using the menu editor.
I'll be grateful for any help.
This topic has been locked.
Pinned topic Adding menu position from script
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
SystemAdmin 110000D4XK1106 Posts
Re: Adding menu position from script2011-05-04T14:52:48ZThis is the accepted answer. This is the accepted answer.You can, of course, create your own dialogs and add them to the menu system using the Custom Dialog Builder. If you have built a custom dialog, you can add it to the menu tree just be copying the component files to a certain location. That is normally under ext\lib under your Statistics installation, but users can set an environment variable to point elsewhere.
The Menu Editor does not have apis that expose its functionality, but it is all done (on Windows) by creating Registry entries. Create an item manually and look in the Registry to see what these look like.
for example, for V19 entries.
You can then use scripting code to manipulate the Registry. But be careful, as always, since messing with the Registry can mess up your system.
eldomino 270003U19K6 Posts
Re: Adding menu position from script2011-05-25T22:08:29ZThis is the accepted answer. This is the accepted answer.
Thank you Jon