home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.text.frame
- 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
- From: mlg@siemens.com (Michael Greenberg)
- Subject: Setting variables from outside FrameMaker
- Message-ID: <mlg.727535808@siemens.com>
- Sender: news@siemens.com (NeTnEwS)
- Nntp-Posting-Host: volvo.siemens.com
- Organization: Siemens Corporate Research, Princeton (Plainsboro), NJ
- Date: Wed, 20 Jan 1993 13:16:48 GMT
- Lines: 39
-
- I would like to automatically compute the value of a variable when a file
- is opened in FrameMaker. Since this doesen't seem possible, I have
- considered two alternative approaches (under UNIX):
-
- - Write a shell script to convert the file to MIF format (with fmbatch), modify
- the definition and then cover the MIF file to maker format (with
- fmbatch).
-
- - Write a macro to execute a shell script which computes the value and
- then modifies the variable definition.
-
- Questions:
-
- Is there a way to get maker to dynamically compute a variables'
- value at file load time, or an easy way to simulate it?
-
- I implemented the shell script method...Is there an easier way to
- modify a variable from the Shell?
-
- Is it possible to write a macro as described above? If so, how do you
- do it?
-
-
- The reason for all of this is that the FrameMaker files are under
- configuration management control, and I'd like to insert the version
- number from the CM system into the FramMaker document.
-
-
- Thanks,
-
-
-
-
-
- --
- Michael Greenberg email: mgreenberg@siemens.siemens.com
- Siemens Corporate Research phone: 609-734-3347
- 755 College Road East fax: 609-734-6565
- Princeton, NJ 08540
-