🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker
Article #25159

Command-line support for File Compare utility

#25159
From: Aditya Gurajada
Date: Mon, 22 Jul 2002 02:08
52 lines
3674 bytes
Hi folks, 

I don't know if this topic has been discussed in this forum earlier. I am trying to find out what level of command-line utility support Frame Maker offers on Unix. 

(I had tried to get this info from a non-Adobe newsgroup, but only got back that there is very limited support. I'm writing to this group in the hope that if someone from Adobe/Frame is reading, they listen to some of the needs of Unix users of Frame Maker.) 

Here goes. My questions are: 

1. Command-line support for all Frame functions/utilities: 

Is there a full-fledged command-line language for the tasks that one could do with Frame through the GUI? I read the Maker (5.1 ) docs for Unix, and only found fmprint, fmbatch, and not much else. 

In particular, I need to use the File -> Utilities -> Compare feature that is very nice. We need to do this to automatically generate diff packets for documents authored in Frame (Maker 5.1, 5.5) on Unix. 

The idea is that when a doc is changed, and submitted for review, the diff files are produced using scripts on Unix.  

   (I know of fmprint and distill utility under acrobat, so the next step 
����to automate this review packet generation is to generate the *.ps and 
����*.pdf files for the output from the compare utility.) 

   Does anyone know of ways to run 'Compare' from the command-line? 

2. Let's say I do run File -> Compare from the GUI, and it creates a Summary doc with change bars.  

Is there a way to tell Print to only print the changed pages either directly to the printer, or to a postscript file? 

The usefulness of this feature is while trying to review large docs with small sets of changes. If one could reduce the # of pages printed using a Print specifier to only print pages with change bars, that would be really cool. 

3. Is there full support for all actions that one can do from the GUI to also run from the command-line ? 

  One idea I was thinking of pursuing is to capture the keystrokes in a batch file, and then re-playing them through the fmbatch utility. 

One would have to create scenario-specific batch files for each type of action to take (e.g. compare, or generate TOC etc.) 

  Has anyone tried this before, or can anyone comment if this would work? 

4. Putting it all together, what I'd like to do is: 

  (FEATURE REQUEST to Frame Developers if you are listening): 

  a. Generate File-> Compare output from the command-line. 
��b. Save the summary.doc that Compare creates as $file.summary.frm 
��c. Save the changes list as $file.changes 
��d. Print $file.summary.frm using options to fmprint to only print pages with change bars. 
��e. Print output from fmprint goes to $file.summary.ps 

Now, I can automate the whole thing in one Unix script to generate a review packet for online reviews. 

Has anyone tried something like the above series of steps ? 

Thanks, in advance, 
-- Aditya.
Technical Details
Message-ID: <ef9c5f5.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!newspump.sol.net!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fd315,b79bdaa506374554,start
X-Google-Attributes: gidfd315,public
X-Google-ArrivalTime: 2002-07-21 20:23:12 PST
From: "Aditya Gurajada" <aditya.gurajada@sybase.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!newspump.sol.net!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.framemaker
Subject: Command-line support for File Compare utility
Message-ID: <ef9c5f5.-1@WebX.aaQKaf7vad4>
Date: Sun, 21 Jul 2002 19:08:45 -0700
Lines: 51
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit