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

Re: Error while loading an XML document using a structured application

Hi Russ, Hi Rick, Hi Jang, Thanks for taking time on my problem. You were right : filename was a File object, not a string ... that was the sole problem. Thanks for your answer, it now works.

View Article


my palette window hides behind main window

For awhile, as I developed a script, the "tools palette" window that it creates stayed in front of the main doc window. Somehow it changed behavior, and how hides behind the main doc window whenever I...

View Article


Re: Free and For-sale Scripts

Thanks Rick, will do.

View Article

Getting rid of a notification

I have tried notification and decided there are too many problems with it. But no matter what I do now, the Console keeps showing the same notification error with every file I open. I had a...

View Article

Re: Getting rid of a notification

1.       Go to File->Script->Catalog. 2.       Select the Registered tab. It will show list of scripts which has been registered. 3.       Now select the script which you want to unregister and...

View Article


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
Browsing all 3715 articles
Browse latest View live


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