This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
jvs:fscan:manual:chapter2:run [2013/06/05 20:21] voyvodic |
jvs:fscan:manual:chapter2:run [2023/02/23 18:43] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Run -- Execute a series of fScan interactive commands ===== | ===== Run -- Execute a series of fScan interactive commands ===== | ||
**usage: | **usage: | ||
- | | + | |
| | ||
%%:%% | %%:%% | ||
Line 10: | Line 10: | ||
With arguments, this loads interactive command strings. | With arguments, this loads interactive command strings. | ||
- | FLAG: | + | MODE: |
- | * 1 - interpret | + | * 1 - interpret |
- | * 2 - run contents of file STR as a sequence of interactive commands | + | * 2 - run contents of file STRING |
- | * 3 - STR is the name of a menu; ITEM is the number of an item within that menu (1=first). If STRING=" | + | * 3 - STRING |
- | * 4 - set contents of file STR to run when fScan terminates (sets [[jvs: | + | * 4 - set contents of file STRING |
- | * 5 - run STR as a synchronous fScan shell command | + | * 5 - run STRING and following arguments |
- | * 6 - run contents of file STR as a sequence of fScan command-line commands | + | * 6 - run contents of file STRING |
- | * 7 - run STR as a sequence of fScan command-line commands | + | * 7 - run STRING |
Examples: | Examples: | ||
Line 26: | Line 26: | ||
fscan infile -run 2 myview -D # load data and run interactive commands in file " | fscan infile -run 2 myview -D # load data and run interactive commands in file " | ||
fscan infile -run 3 display 3 -D # load data and run icon 3 from taskbar ' | fscan infile -run 3 display 3 -D # load data and run icon 3 from taskbar ' | ||
+ | fscan -run 5 run_fslmc infile 9 -v 0 # run the shell script as: "csh run_fslmc INFILE 9" | ||
</ | </ | ||
**Note:**\\ | **Note:**\\ |