the fair gds editor ShortCutMacro

Shortcut Macro

This macro changed some shortcut of the LayoutEditor.

The name of the feature as it appreas in the menu had to be used. Spaces, capital letter and dots had to be used identically. If the feature menu name includes a underline add a & before that letter.

Alternative to the menu name also the FeatureCode can be used to set a short cut. The FeatureCode is listed in the footer of ever feature docmentation. (This alternative is introduced with version 20130301)

Download: shortkeys.layout

   1 #!/usr/bin/layout
   2 #name=short cut
   3 #help=changing shortcuts
   4 
   5 
   6 int main(){
   7 layout->setShortcut("&Sector",""); // remove old 'F' shortkey
   8 layout->setShortcut("&Remove Small Edges...",""); // remove old 'Z' shortkey
   9 layout->setShortcut("&Save",""); // remove old 'S' shortkey
  10 layout->setShortcut("&Zoom Fit All","F"); // set 'F' to zoom fit
  11 layout->setShortcut("&Zoom Mouse","Z"); // set 'Z' to zoom fit selection
  12 layout->setShortcut("&Select/Edit","S"); // set 'S' to select/edit mode
  13 } 

See also


CategoryMacro


ShortCutMacro (last edited 2017-04-06 10:19:02 by JurgenThies)