I would like to change your shorcut.
Indeed, ctrl+u to fix a element have a wrong position.
It's the command most used by a user and touch "ctrl" and touch "u" are very far.
We would like touch "0" for exemple.
How to do that ? thanks
' Add type library so that we can use BindCommand and BindAccelerator constants.Scripting.AddTypeLibrary("MGCSDD.KeyBindings")
' Get the application objectDim pcbAppSet pcbApp = Application
' Get the document key bind tableDim keyBindTableSet keyBindTable = pcbApp.Gui.Bindings("Document")
' Map the key to the command.keyBindTable.AddKeyBinding "Alt+F1", "fix", BindCommand, BindAcceleratorkeyBindTable.AddKeyBinding "Alt+F2", "unfix", BindCommand, BindAccelerator
Thanks for your answer.
I understand that i must create a file with these commands, surely "fix.vbs". (May be no and i must add them in a specific file.)
But where i must put it ? Directly in the directory "[...]:\MentorGraphics\Capital".
We work in 2 tiers. So in the database servor ? Application servor ?
It depends on what you want.
If you want your keybindings to be active for all users, you have to place it in a location that is accessible for
all users. You can then use the scripts.ini file in the template directory to load it into the application on startup.
You can also use "Drag &Drop" in a Windows environment. Just drag the script file into the application and drop it.
Retrieving data ...