Re: extract changed texts
The primary difference between FrameScript and other scripting languages is that FrameScript provides direct access to the internals of FrameMaker itself. FrameScript exposes the FrameMaker API (which you can also manipulate by downloading the Frame Developers Kit and programming in C). FrameScript also allows you to extend FrameMaker by linking to OCX controls. FrameScript also provides direct access to relational database systems through ODBC. We make extensive use of the MSXML OCX control for XML parsing and have developed solutions for content reuse by encoding sections of FrameMaker documents in XML and uploading them to a relational database. Best regards, Martin Martin R. Smith www.golehtek.com [EMAIL PROTECTED] ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: extract changed texts
REXX is a general-purpose interpretive scripting language developed by IBM. They bundled it with OS/2, which is where I picked it up. As scripting languages go, it's not bad. Some of the commands are difficult to remember (if you want to open a file, you CALL STREAM), the syntax is a bit finicky, there's no regexp support (not out of the box anyway), and although there are support groups and libraries out there, they're pretty thin on the ground compared to more mainstream scripting languages like Perl. But the documentation is good, and the language is flexible and powerful (and non-typed). Regina is an open-source REXX interpreter for the Windows platform. These days I use AutoIT for scripting. I have no experience with FrameScript, but if I had a copy I'd undoubtedly prefer it for FM work, if only to save myself from working with MIF. Rene Stephenson wrote: > Jim: > I've never heard of REXX or Regina. Is it like FrameScript? as powerful? > limited to working only with FM? > > */Rene L. Stephenson/* > > - Original Message > From: Jim Owens <[EMAIL PROTECTED]> > To: Shmuel Wolfson <[EMAIL PROTECTED]> > Cc: framers@lists.frameusers.com > Sent: Wednesday, April 2, 2008 1:11:53 PM > Subject: Re: extract changed texts > > Hello, Gunnar. We have a REXX script that processes MIF files to extract > only the changebar text. We use it to get a rough word counts for > translation. You're welcome to it if you don't find anything else. > > To run the script you'd need to install a free REXX interpreter (I use > Regina). > > Shmuel Wolfson wrote: > > Is there a way to search for text with a change bar, you could do the > > same thing with a simple AutoIt script. And AutoIt is free. > > > > Regards, > > Shmuel Wolfson > > > > > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote: > >> Hi Gunnar, > >> > >> This is rather easy to do if you have FrameScript. FrameScript is a > >> powerful and easy-to-use internals programming language for FrameMaker. > >> > >> Using FrameScript you would would do the following: > >> > >> Loop for every chapter in a book: > >> --Loop for every paragraph in a chapter: > >> Inspect each paragraph for a change bar: > >> If a change bar is detected: > >> Copy the content of the paragraph into a new document > >> > >> If you decide to go the FrameScript route, you will find that there > >> are many freely available scripts that can extend the capabilities of > >> FrameMaker. I offer a number of free scripts on my web site >> > (www.golehtek.com <http://www.golehtek.com>). I also develop custom > scripts for my clients. > >> > >> If you are interested in a FrameScript solution, you are welcome to > >> contact me off list. > >> > >> Best regards, > >> > >> Martin > >> > >> Martin R. Smith >> > www.golehtek.com <http://www.golehtek.com> > >> > >> ___ > >> > >> > >> You are currently subscribed to Framers as [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>. > >> > >> Send list messages to framers@lists.frameusers.com > <mailto:framers@lists.frameusers.com>. > >> > >> To unsubscribe send a blank email to > >> [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > >> or visit > http://lists.frameusers.com/mailman/options/framers/sbw%40actcom.com > >> > >> Send administrative questions to [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>. Visit > >> http://www.frameusers.com/ for more resources and info. > >> > >> > > ___ > > > > > > You are currently subscribed to Framers as [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>. > > > > Send list messages to framers@lists.frameusers.com > <mailto:framers@lists.frameusers.com>. > > > > To unsubscribe send a blank email to > > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > or visit > http://lists.frameusers.com/mailman/options/framers/jowens%40magma.ca > > > > Send administrative questions to [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>. Visit > > http://www.frameusers.com/ for more resources and info. > > > > > > ___ > > > You are currently subscribed to
Re: extract changed texts
Hi, Gunnar: One approach that might work is to use File > Utilities > Document Reports > Word Count to compare the changed documents to their originals. If the originals aren't available, another approach might be to use Find/Replace to replace all change-bar-marked text with nothing, and compare the word count after the replacement with the word count before. For this method: * Make copies before proceeding * Turn off Format > Text Options > Change Bars > Create Automatic Change Bars * Click the insertion pointer into blank space, then open Edit > Find. Choose Find > Character Format (not Character Tag), turn ON Change Bars (all others should be As Is or display a gray square in their checkbox). Replace With should be empty (no space or other character). Replace All. * Compare the word count after this replacement with the word count before. HTH Regards, Peter ___ Peter Gold KnowHow ProServices ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: extract changed texts
Hello, Gunnar. We have a REXX script that processes MIF files to extract only the changebar text. We use it to get a rough word counts for translation. You're welcome to it if you don't find anything else. To run the script you'd need to install a free REXX interpreter (I use Regina). Shmuel Wolfson wrote: > Is there a way to search for text with a change bar, you could do the > same thing with a simple AutoIt script. And AutoIt is free. > > Regards, > Shmuel Wolfson > > > [EMAIL PROTECTED] wrote: >> Hi Gunnar, >> >> This is rather easy to do if you have FrameScript. FrameScript is a >> powerful and easy-to-use internals programming language for FrameMaker. >> >> Using FrameScript you would would do the following: >> >> Loop for every chapter in a book: >> --Loop for every paragraph in a chapter: >> Inspect each paragraph for a change bar: >> If a change bar is detected: >> Copy the content of the paragraph into a new document >> >> If you decide to go the FrameScript route, you will find that there >> are many freely available scripts that can extend the capabilities of >> FrameMaker. I offer a number of free scripts on my web site >> (www.golehtek.com). I also develop custom scripts for my clients. >> >> If you are interested in a FrameScript solution, you are welcome to >> contact me off list. >> >> Best regards, >> >> Martin >> >> Martin R. Smith >> www.golehtek.com >> >> ___ >> >> >> You are currently subscribed to Framers as [EMAIL PROTECTED] >> >> Send list messages to [EMAIL PROTECTED] >> >> To unsubscribe send a blank email to >> [EMAIL PROTECTED] >> or visit http://lists.frameusers.com/mailman/options/framers/sbw%40actcom.com >> >> Send administrative questions to [EMAIL PROTECTED] Visit >> http://www.frameusers.com/ for more resources and info. >> >> > ___ > > > You are currently subscribed to Framers as [EMAIL PROTECTED] > > Send list messages to [EMAIL PROTECTED] > > To unsubscribe send a blank email to > [EMAIL PROTECTED] > or visit http://lists.frameusers.com/mailman/options/framers/jowens%40magma.ca > > Send administrative questions to [EMAIL PROTECTED] Visit > http://www.frameusers.com/ for more resources and info. > > ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: extract changed texts
Is there a way to search for text with a change bar, you could do the same thing with a simple AutoIt script. And AutoIt is free. Regards, Shmuel Wolfson [EMAIL PROTECTED] wrote: > Hi Gunnar, > > This is rather easy to do if you have FrameScript. FrameScript is a > powerful and easy-to-use internals programming language for FrameMaker. > > Using FrameScript you would would do the following: > > Loop for every chapter in a book: > --Loop for every paragraph in a chapter: > Inspect each paragraph for a change bar: > If a change bar is detected: > Copy the content of the paragraph into a new document > > If you decide to go the FrameScript route, you will find that there > are many freely available scripts that can extend the capabilities of > FrameMaker. I offer a number of free scripts on my web site > (www.golehtek.com). I also develop custom scripts for my clients. > > If you are interested in a FrameScript solution, you are welcome to > contact me off list. > > Best regards, > > Martin > > Martin R. Smith > www.golehtek.com > > ___ > > > You are currently subscribed to Framers as [EMAIL PROTECTED] > > Send list messages to [EMAIL PROTECTED] > > To unsubscribe send a blank email to > [EMAIL PROTECTED] > or visit http://lists.frameusers.com/mailman/options/framers/sbw%40actcom.com > > Send administrative questions to [EMAIL PROTECTED] Visit > http://www.frameusers.com/ for more resources and info. > > ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: extract changed texts
Hi Gunnar, This is rather easy to do if you have FrameScript. FrameScript is a powerful and easy-to-use internals programming language for FrameMaker. Using FrameScript you would would do the following: Loop for every chapter in a book: --Loop for every paragraph in a chapter: Inspect each paragraph for a change bar: If a change bar is detected: Copy the content of the paragraph into a new document If you decide to go the FrameScript route, you will find that there are many freely available scripts that can extend the capabilities of FrameMaker. I offer a number of free scripts on my web site (www.golehtek.com). I also develop custom scripts for my clients. If you are interested in a FrameScript solution, you are welcome to contact me off list. Best regards, Martin Martin R. Smith www.golehtek.com ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.