Macros (edmac command) are simple tools to customize typical routine works. For instance, thsi is an example to record, process and plot a protn spectrum with the minor user interaction .

Example:

  1. Type edmac proton
  2. Insert the following lines:
      edc
      rpar PROTON all
      getprosol
      ns
      rga
      zg
      ft
      apk
      abs
      plot
    and save the file
  3. Type proton from the XWINNMR command line. Each line of the program will be sequentially executed.