[RunProg#]


  • This command tells the Terminal app to run one of the program scripts. 
  • The # character must be a valid number from 1 to 9, or it can be a question mark (?) to open a named file or force an Open File dialog to be displayed. 
    • The program scripts 1 to 9 are the same as if you pressed the CTRL-F1 to CTRL-F9 keys.
    • When the # character is a question mark (?), there are two options.
      • No text after the command forces an Open File dialog to be displayed.
      • You can also use the following syntax to define a "custom" program by adding a custom program name macro after the command
        • [RUNPROG?]mycustomname
        • The custom program filename macro must be alpha-numeric characters only.


See Run ASCII program for more details. 


Example:        [RunProg3]                           'run program script number 3

               [RunProg?]                           'force an Open File dialog to be displayed so user can select which program script to run

               [RunProg?]mycustomname                'run program script test99mycustomname.prg