User Tools

Site Tools


jvs:fscan:manual:chapter2:run

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
jvs:fscan:manual:chapter2:run [2013/03/09 16:32]
voyvodic
jvs:fscan:manual:chapter2:run [2016/07/19 19:23]
voyvodic
Line 2: Line 2:
 ===== Run -- Execute a series of fScan interactive commands ===== ===== Run -- Execute a series of fScan interactive commands =====
 **usage:**\\ **usage:**\\
- %%-run flag string%%\\+ %%-run mode [flagstring%%\\
  %%-run%%\\  %%-run%%\\
  %%:%%  %%:%%
Line 10: Line 10:
 With arguments, this loads interactive command strings. With arguments, this loads interactive command strings.
  
-FLAG+MODE
-  * 1 - interpret STR as a sequence of interactive commands (default). This sets [[jvs:fscan:manual:chapter4:peekstr|peekstr]] to STR+  * 1 - interpret STRING as a sequence of interactive commands (default). This sets [[jvs:fscan:manual:chapter4:peekstr|peekstr]] to STRING
-  * 2 - run contents of file STR as a sequence of interactive commands +  * 2 - run contents of file STRING as a sequence of interactive commands 
-  * 3 - STR is the name of a menu; ITEM is the number of an item within that menu (1=first). If STRING="funckey", ITEM is Funckey number. The menu item is run as though it had been selected interactively. Multiple pairs of [MENUNAME ITEM] can be combined in the same '-run 3' command. +  * 3 - STRING is the name of a menu; ITEM is the number of an item within that menu (1=first). If STRING="funckey", ITEM is Funckey number. The menu item is run as though it had been selected interactively. Multiple pairs of [MENUNAME ITEM] can be combined in the same '-run 3' command. 
-  * 4 - set contents of file STR to run when fScan terminates (sets [[jvs:fscan:manual:chapter4:quitstr|quitstr]]) +  * 4 - set contents of file STRING to run when fScan terminates (sets [[jvs:fscan:manual:chapter4:quitstr|quitstr]]) 
-  * 5 - run STR as a synchronous fScan shell command +  * 5 - run STRING and following arguments as an EXEC command (like interactive cmd: 'STRING',flag E) 
 +  * 6 - run contents of file STRING as a sequence of fScan command-line commands 
 +  * 7 - run STRING as a sequence of fScan command-line commands
  
 Examples: Examples:
Line 24: Line 26:
   fscan infile -run 2 myview -D               # load data and run interactive commands in file "myview"   fscan infile -run 2 myview -D               # load data and run interactive commands in file "myview"
   fscan infile -run 3 display 3 -D            # load data and run icon 3 from taskbar 'Display'   fscan infile -run 3 display 3 -D            # load data and run icon 3 from taskbar 'Display'
 +  fscan -run 5 run_fslmc infile 9 -v 0        # run the shell script as: "csh run_fslmc INFILE 9"
 </code>                </code>               
 **Note:**\\ **Note:**\\
jvs/fscan/manual/chapter2/run.txt · Last modified: 2023/02/23 18:43 (external edit)