Article View: adobe.framemaker
Article #2387Re: Parameterized keep?
From: Arnis_Gubins
Date: Sat, 20 Sep 2008 20:31
Date: Sat, 20 Sep 2008 20:31
25 lines
1894 bytes
1894 bytes
Philip, FrameScript is an object-oriented scripting language that lets you get at almost everything that's available in the FDK (the programming interface). It has all of the programming constructs that you'd expect for building complex scripts. In the case of your requirement, you would have to write a script that walks through a document checking the number of lines in a paragraph and then applying the keep property accordingly (realizing of course that simply applying the property creates an override, which could be a maintenance issue). For more info on creating FrameScripts, Rick Quatro's site at http://www.frameexpert.com is a great resource. Also, his tutorial book is an absolute must have if you want to start scripting. There's also a FrameScript user group at http://tech.groups.yahoo.com/group/framescript-users/ where you can ask questions and learn by perusing the archives. All of your other needs could also be addressed, however, it may be a complex programming task for some of them. There are a number of scripts available from various sources that can be used as starting points for developing your own scripts. Google is your friend... ;-)
Technical Details
Message-ID:
<jhmad4lg81fdmd07qd1hku2rss7fm3i826@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossingReferences:
<59b6883f.-1@webcrossing.la2eafNXanI> <59b6883f.1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fd315,87d14dda17f9a3f9 X-Google-Attributes: gidfd315,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Arnis_Gubins@adobeforums.com Newsgroups: adobe.framemaker Subject: Re: Parameterized keep? Message-ID: <jhmad4lg81fdmd07qd1hku2rss7fm3i826@4ax.com> Date: Sat, 20 Sep 2008 13:31:42 -0700 References: <59b6883f.-1@webcrossing.la2eafNXanI> <59b6883f.1@webcrossing.la2eafNXanI> Lines: 25 X-Newsreader: Forte Agent 4.2/32.1118 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing