![]() |
| ||||||||||||||||||
![]() |
| ||||||||||||||||||
|
Why yet another macro language? Why not use Python directly,
as it is possible in YASARA plugins? There are two simple reasons:
So if you quickly want to color all CA and CB atoms blue,
you type: coloratom ca cb,blue Because the command above is not a valid Python syntax,
you would have to type:
ColorAtom("ca cb","blue")
In the first case, it takes 20 keystrokes, in the second case
33 (counting SHIFTs), that's 65% more. The quick way is possible because Yanaconda is not case sensitive and the command
'ColorAtom' knows its argument types and does not expect quotes around strings.
When writing a macro that will be used again, you would invest more time and choose a more readable form of the command,
with the same result: ColorAtom CA CB,Blue
| ||||||||||||||||||