D&Do v. 1.0   Prev   Next   Top


Variants

It is possible to define other variation of argument list templates (a variant) within the same metascript. When D&Do has the screen focus, pressing a digit key that corresponds to a variant index will set that variant as the active one. The next time that the command line will be executed, it will use that active variant as its argument list template (or argument block). The default variant (the one without an index and that has been described above) is selected if any number key that does not correspond to a defined variant or to a menu command is pressed. The default variant is also selected if any non-number key that is not associated with a context menu item is pressed.

Example (it defines the variant number 1):
ARGID1: Create
ARG1: DirCreate.py "*0" *# -C

 


Prev   Next   Top

Copyright (c) 2003 Marcel St-Amant