I wrote a small script that add's a pulldown manu to my application window,
in order to use it i open my cellview and run load("..script path..") in the CIW.
I wanted to ask if there is any way to make the manu appear by itself ?
(and only when a specific application is opened - layout suite L in this case)
You could do this through a user menu trigger registered with the deRegUserTriggers function. Andrew provided a good example in this post. You could also do this through a menu file, e.g. layout.menus, but since you've already written this in SKILL it might be easiest to use the deRegUserTriggers approach.
In reply to skillUser:
Thanks for the replay, but if i understand correctly i will need to run
procedure(myManuTrigger(_args) ...)deRegUserTriggers("maskLayout" nil myManuTrigger)
to register the trigger every time i open virtuoso, is there a way to register it permenetly ?
In reply to TauStudent:
Add the code in your .cdsinit file - this is the file that is loaded at startup by Virtuoso.
In reply to Andrew Beckett:
You can do this without scripts or triggers by using the *.menus files
Find your install path getInstallPath() and look at the files in etc/tools/menus. There should be a README file there to how to setup and customized your menus. You can create global custom menus in your home directory or project specific where to start up your Cadence session.