|
ANY-maze Help > The ANY-maze reference > The Protocol page > The elements of a protocol > Testing > Events and actions > Setting up an action > Specifying the effect of an action > Running a program Running a program
IntroductionWhen an action is triggered by a procedure, you can choose that one of the action's effects should be to Run a program. In this case, you will be asked to enter the program's Command line, Parameters and Run options using the Run program window shown in figure 1.
Figure 1. The Run program window, which is used to run an external program or Windows command line.
DetailsThe command line is usually just the path name of the program you want to run, for example: c:\windows\notepad.exe The easiest way to enter this is to use the As well as specifying the program to run, you can also specify parameters such as: mynotes.txt In this case, the command will cause the notepad program to open the file mynotes.txt If you want the action to perform multiple commands, then you can write a Windows batch file and then have the command line run that. For full details about Windows command lines, batch files, etc., refer to your Windows documentation. The Run options allow you to specify how the program will be displayed:
See also:
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T0446 |