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 [2011/12/20 18:39] 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 9: | 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 | + | * 5 - run STRING and following arguments as an [[jvs: |
+ | * 6 - run contents of file STRING | ||
+ | * 7 - run STRING as a sequence of fScan command-line commands | ||
Examples: | Examples: | ||
< | < | ||
- | fscan infile -e + 100 : -e x 4 -D # | + | fscan infile -e + 100 |
- | fscan infile -e + 100 | + | fscan infile -e + 100 : -e x 4 -D # |
- | fscan infile -run | + | fscan infile -run " |
- | </ | + | 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 -run 5 run_fslmc infile 9 -v 0 # run the shell script as: "csh run_fslmc INFILE 9" | ||
+ | </ | ||
+ | **Note: | ||
+ | RUN is a command-line command designed for running sequences of interactive fScan commands.\\ | ||
+ | [[jvs: | ||
+ | The ' | ||
+ | Combining and embedding RUN, OPTIONS, and ' | ||
+ | When in doubt, insert ':' | ||
**See Also:**\\ | **See Also:**\\ | ||
[[jvs: | [[jvs: | ||
- | [[jvs: | + | [[jvs: |
+ | [[jvs: | ||
[[jvs: | [[jvs: |