Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Browsing all 3715 articles
Browse latest View live

Re: Getting rid of a notification

Thanx. That worked.   I always build menus with commands. So I never really experimented with all the options in the Scripts Catalog. It takes too much screen real estate, as I am already short of...

View Article


How can I find out if a structured doc is valid?

Hi all, I need to establish the validity of a Doc before my script transforms it to XML and applies an XSLT in the process. I have searched the FM12 scripting guide but cannot find any Doc property or...

View Article


Re: How can I find out if a structured doc is valid?

Some more digging showed the solution, although I do feel there should be an easier way: The highest level element of the main flow may show a red plus in the Structure View but this is not reflected...

View Article

Re: How can I find out if a structured doc is valid?

Hi Jang, This is the only way I've found do to it; that is, step through the entire tree and look at elements individually. It may just be that the granular nature of the API expects us to write...

View Article

Re: How can I find out if a structured doc is valid?

Hi Russ, What strikes me is that apparently the FM code already contains this routine - as visible in the Structure View - but it was not deemed important enough to share with scripters via an...

View Article


Patternstream and Framemaker Publishing Server 12

What's the best way to make sure an FDK (Patternstream in our case) fires up with every job on Framemaker Server 12, and how do you pass parameters (e.g., the name of the pset file to work with?)   We...

View Article

Re: Patternstream and Framemaker Publishing Server 12

FrameScript has the ability to run an "Initial Script" whenever you start FrameMaker. Patternstream has some integration with FrameScript so you may be able to pass parameters to Patternstream once...

View Article

Re: Patternstream and Framemaker Publishing Server 12

I have done a project where my ExtendScript was initiated from a FrameScript. In the other direction, there are several API Clients I use that can be called from ExtendScript, using the CallClient...

View Article


Set book file name when opening XML file using Read/Write rules

We are attempting to script the loading of an XML file into FrameMaker binary files and subsequent processing.  Our structured appplication read/write rules specify the component names, but FrameMaker...

View Article


FDK: #define FAPI_*_BEHAVIOR

FDK allows for defining the following symbols: FAPI_4_BEHAVIOR, FAPI_5_BEHAVIOR, FAPI_55_BEHAVIOR and FAPI_6_BEHAVIOR. What FAPI_*_BEHAVIOR shall be defined for FDK12? I found the follwoing...

View Article

Framescript: search and replace condition name in a bunch of mif files

Hello fellows, I would like to loop through all mif files listed in a book, and search/replace specific condition names with other ones.This can be done in each FM file as follows:...Sub ProcessDoc...

View Article

Re: FDK: #define FAPI_*_BEHAVIOR

Zdenek, What are you trying to do? Are you trying to use FDK 4 code with the FDK 12 or something like that? If you are just trying to write an FDK12 plugin, you don't need to do anything.  I didn't...

View Article

Re: FDK: #define FAPI_*_BEHAVIOR

Hello Russ, thank you very much for your response. I completely understand what you have written. I do not want to define these symbols with the aim to achieve the backward compatibility. The...

View Article


Re: FDK: #define FAPI_*_BEHAVIOR

Hi Zdenek, Interesting observation. I'm not sure what the reason is. I think that anymore, either a bug in the software or an error in the documentation is par for the course. I have only ever used a...

View Article

Re: Framescript: search and replace condition name in a bunch of mif files

There is no difference in the code. FM binary and mif are just the formats in which the files are stored on the disk. When the document is loaded into FM, the internal representation is what your...

View Article


Re: Framescript: search and replace condition name in a bunch of mif files

Hi Jang, Thank you for your response. Interestingly enough, FM allows changing the Track Changes conditions to any other conditions using the script, but not the other way around. This can only be done...

View Article

Re: Framescript: search and replace condition name in a bunch of mif files

Hi Roman, I have not delved into the details of applying conditions, but I did find that some condition formats are predefined by FM. Probably there is a property (possibly hidden) that does not allow...

View Article


Output function (results to a file) in Extendscript

When I check a script I use the alert to see if the code is working, such as "Current tag is body".Is there a function that outputs alert results to a file? For example, a way to send to a file allof...

View Article

Re: Output function (results to a file) in Extendscript

Check the JavaScript Tools Guide for details about the File object. Basically, it works more or less like this: var oFile = new File ( /* full path name as text string */ ); oFile.open( "w" );     /*...

View Article

Re: Finding an element from a text location

Hi Jang,  Did you end up working this out? I'm trying to do the same thing now and looking for the answer.... thanks, Tracey

View Article
Browsing all 3715 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>