home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff368.lzh / NewEx / NewEx_EN.doc < prev    next >
Text File  |  1990-08-15  |  5KB  |  139 lines

  1.       ***************************************************************
  2.       *                                                             *
  3.       *    N   N  EEEEE  W      W  EEEEE  X    X                    *
  4.       *    NN  N  E      W      W  E       X  X                     *
  5.       *    N N N  EEEE   W      W  EEEE     XX                      *
  6.       *    N  NN  E       W WW W   E       X  X                     *
  7.       *    N   N  EEEEE    W  W    EEEEE  X    X    Version 1.1     *
  8.       *                                                             *
  9.       ***************************************************************
  10.  
  11.  
  12.      NewExecute by Kjell Cederfeldt June-90. Programmed in 100% 
  13.      68000 Assembler.  The program is Public Domain (PD) and may be
  14.      copied and distributed, only for private use.
  15.  
  16.                              Kjell Cederfeldt       
  17.                              DataCentralen 115700 AB
  18.                              Box 2393
  19.                              S-403 16 GÖTEBORG      phone +46 31 139316
  20.                              SWEDEN
  21.  
  22.  
  23.  
  24.      NewEx is completely unique and replaces XIcon, IconX and simular
  25.      programs.
  26.  
  27.      NewEx as the latter programs runs a script file. But the icon 
  28.      in NewEx is of the tool type. What is the advantage with this?
  29.  
  30.      Programs like MyMenu (*) or simular ones do not work with programs
  31.      which have project icon.
  32.  
  33.      Why running a script file?
  34.  
  35.      Suppose that you want to start a terminal program. First you have to 
  36.      change fonts and then the keymap. The terminal program may even
  37.      require certain Assigns. All this can be done in your script fil. 
  38.      But to avoid the need to start two programs or to click on two icons
  39.      the start of the main program is included in the script file.
  40.  
  41.      This can be done with the Commodore IconX but unfortunately IconX has
  42.      a project icon which make a start from a menu program e.g. MyMenu
  43.      impossible. NewEx has a tool icon.
  44.  
  45.      NewEx can be used to start programs which otherwise only could be done
  46.      with CLI.
  47.  
  48.      START FROM CLI!
  49.  
  50.      NewEx can be started from CLI. Syntax is the NewEx filename.
  51.  
  52.      Possible output data (like text from command Echo and so on) will then
  53.      appear in the CLI window where the program was started.
  54.  
  55.  
  56.      START FROM THE WORKBENCH. (WB)
  57.  
  58.      Usually the program is started from the WB. It is then important
  59.      to name file name and output unit in tool icons and tooltype lines.
  60.      These parameters are FILENAME and WINDOW. Note, both must be named
  61.      to get the program working. It is important that FILENAME and WINDOW
  62.      are written in capital letters.
  63.  
  64.      HOW TO DO:
  65.  
  66.                 Click the NewEx icon once so it will be activated (changes
  67.                 colour).
  68.  
  69.                 Choose Info from Workbech menu.
  70.  
  71.                 Click ADD  and write FILENAME=scriptfilename
  72.  
  73.                 Click ADD again and write WINDOW=CON:0/11/640/150/NewEx
  74.  
  75.                 Save the setting by clicking SAVE.
  76.  
  77.                 (If those two lines exist you only have to change the names.
  78.                  Use the pointer at the beginning of the line to change.)
  79.  
  80.                 Double click on your icon. The program is executed and runs
  81.                 your scriptfile (like execute but from workbench).
  82.  
  83.  
  84.      Note how to set path, assigns and CD.
  85.  
  86.      You can write NIL: behind WINDOW to get rid of the window which is
  87.      opned each time you run the program. The disadvantage is that you
  88.      loose messages, error messages and other output texts.
  89.  
  90.      You can write several WINDOW (own lines) but only the first activates.
  91.      If you want to "deactivate" a WINDOW-line you can write wINDOW instead.
  92.      (Note the small letter).
  93.      NewEx will then choose the next line which contains WINDOW with capital
  94.      letters.
  95.  
  96.      CON:0/11/640/150/NewEx is size and  name of the window.
  97.      
  98.      0/11 means 0 pixels from the left and 11 pixels from the top of the
  99.      screen.
  100.      640/150 is the width and height in pixels. 640 is the maximal width on
  101.      a normal 80-character screen. 256 is the maximum height in pixels on
  102.      a PAL-screen (the most common). Note that these values decreases if
  103.      you move the window towards the screen centre.
  104.  
  105.      Instead of CON: you can choose RAW:. Instead of opening a window you
  106.      can send the output a printer  PRT: , PAR: or to an ordinary file.
  107.      Note than an existing file will disappear.
  108.  
  109.  
  110.      When starting from CLI the program doesn't consider what is placed in
  111.      the icon, but expect a file name after the program name (NewEX).
  112.      Output data is written in CLI.
  113.  
  114.      It is possible to controll this text by the file Editor in the AmigaDos.
  115.      CLI Exemaples:
  116.  
  117.           NewEx > CON:0/11/640/100/Test scriptfilename
  118.  
  119.           NewEx > PRT:  scriptfilename
  120.  
  121.           NewEx > PAR:  scriptfilename
  122.  
  123.           NewEx > SER:  scriptfilename
  124.  
  125.           NewEx >NIL:       (Note thee file Editor together with NIL:)
  126.  
  127.           NewEx > File  scriptfilename
  128.  
  129.  
  130.  
  131.       Much benefit and pleasure  / Kjell Cederfeldt
  132.  
  133.       (*) Mymenu is a program which gives the workbench screen more self
  134.           defined menus. from these menus you can start different programs
  135.           defined in MyMenu (e.g. NewEx).
  136.  
  137.           MyMenu is written by Darin Johson. (*)
  138.  
  139.