How can I add newly developed macros to Klayout Mainwindow instead of launch them from Macro IDE ?

edited January 2016 in KLayout Support
Hi Matthias,

Could you kindly show me where to find the "Help" or give some examples to do this ?


Best regards,
Sunny

Comments

  • edited January 2016

    http://www.klayout.de/doc/about/macro_editor.html, scroll down to where it talks about "Show in menu"

    For example to put it at the end of the tools menu, in Macro IDE, click orange "Properties" button (you have to hover over it to see what it's called), then check "Show in menu" and type:

     tools_menu.end
    

    While you are in this dialog box, click "Read more about menu paths" just under the thing you just typed.

    To show it after the existing "Diff tool" in tools menu, type

    tools_menu.diff_tool
    

    To show it in the toolbar, type

    @toolbar.end
    

    If you want to know what to type, you can find these in File > Setup > Key bindings. For example that is where I found that the diff tool's path is "tools_menu.diff_tool"

    David

  • edited November -1
    Hi David,

    It's great. Thank you David.
Sign In or Register to comment.