Can someone point to a resource for syntax for Alias/Funckey scripting? I came across very useful hotkeys online and would like to write my own, but limited by the lack of knowledge of the syntax.
Some examples I came across online are as shown below. I can understand them, but I am sure the capability of this funckeys is limitless, if basic syntax is known. I could not find this syntax anywhere in Allegro help.
Using a shift or ctrl key in combination with mouse wheel. Add the following line in the env file and start PCB Editor
button Swheel_up "FORM mini Alt; FORM mini Alt_subclass XXXXX; pop bbdrill -cursor"
While routing press the shift key and roll the mouse wheel in upward direction to place the via. To use the control key in place of shift then replace 'Swheel_up' with 'Cwheel_up' in the above line. Similarly if you want to use downward direction of wheel then replace 'Swheel_up' with 'Swheel_down'. If you want to use it with working layer model instead of alternate layer replace 'Alt' with 'WL'.
you can refer to the following link
you can always use "scriptmode +e" to find out the actual command.
just type scriptmode e+ at the command line then you will be able to see the actual syntax of the command you are using.
Thank you very much! This is very helpful information.
Any place where I can find what syntax can be used for buttons and keys?
For example, I have seen these cases:
button Swheel_up "copy"
button SCwheel_up "copy"
button Cwheel_up "copy"
funckey SLeft "copy"
these sites might help you as well.
https://www.flowcad.de/AN/FlowCAD_AN_PCB_SiteAndHome.pdf (pages 10&11)