home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / text / frame / 4023 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.7 KB  |  51 lines

  1. Newsgroups: comp.text.frame
  2. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!spool.mu.edu!uwm.edu!linac!att!att!dptg!ulysses!allegra!princeton!siemens!siemens.com!mlg
  3. From: mlg@siemens.com (Michael Greenberg)
  4. Subject: Setting variables from outside FrameMaker
  5. Message-ID: <mlg.727535808@siemens.com>
  6. Sender: news@siemens.com (NeTnEwS)
  7. Nntp-Posting-Host: volvo.siemens.com
  8. Organization: Siemens Corporate Research, Princeton (Plainsboro), NJ
  9. Date: Wed, 20 Jan 1993 13:16:48 GMT
  10. Lines: 39
  11.  
  12. I would like to automatically compute the value of a variable when a file
  13. is opened in FrameMaker.  Since this doesen't seem possible, I have
  14. considered two alternative approaches (under UNIX):
  15.  
  16.  - Write a shell script to convert the file to MIF format (with fmbatch), modify
  17. the definition and then cover the MIF file to maker format (with
  18. fmbatch).
  19.  
  20. - Write a macro to execute a shell script which computes the value and
  21. then modifies the variable definition.
  22.  
  23. Questions:
  24.  
  25. Is there a way to get maker to dynamically compute a variables'
  26. value at file load time, or an easy way to simulate it?
  27.  
  28. I implemented the shell script method...Is there an easier way to
  29. modify a variable from the Shell?
  30.  
  31. Is it possible to write a macro as described above?  If so, how do you
  32. do it?
  33.  
  34.  
  35. The reason for all of this is that the FrameMaker files are under
  36. configuration management control, and I'd like to insert the version
  37. number from the CM system into the FramMaker document.
  38.  
  39.  
  40. Thanks,
  41.  
  42.  
  43.  
  44.  
  45.  
  46. -- 
  47. Michael Greenberg                      email: mgreenberg@siemens.siemens.com
  48. Siemens Corporate Research             phone: 609-734-3347
  49. 755 College Road East                  fax: 609-734-6565
  50. Princeton, NJ 08540
  51.