Quantcast
Channel: Adobe Community : All Content - FrameMaker Scripting
Browsing all 888 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

unresolved typeref token (0100001B) for '_masterListT'; image may not run

I have the following link error in the C++\CLI library that uses the latest FDK libraries. Where exactly is the problem? Inside the f_types.h file there is (in line 239): /* string list */typedef...

View Article


Find next marker

Dear friends,While it is quite simple to find the next marker with oDoc.NextMarkerInDoc the sequence of the found markers is not that what the user sees in the document: you get the markers in the...

View Article


Image may be NSFW.
Clik here to view.

Debugging dialogues - how?

I have a rather complicated dialogue and want to use the step-by-step walk-through to check variables etc.As soon as I press a button in the dialogue the related code in the callback routine is run -...

View Article

Have object - want that user sees selection

Dear experts,I'm down in the object store and have found a marker. I want that the user sees in the document, what I have found.The problem is: how to come from an object to a TextSelection and...

View Article

Image may be NSFW.
Clik here to view.

How do I load an XML file, and save it as an fm file

Hi Experts, I have a bunch of XML files in a folder. What I'd like to achieve is that, I'd like to iteratively load the xml using a StructuredApplication and save it as an FM file. I've been able to...

View Article


How to connect always to the active FrameMaker window?

Whenever I connect to the FrameMaker with the following command in the local machine: F_ApiStartUp(nullptr) it is connected randomly with one of the FM instances running. How can I make it to connect...

View Article

Keyboard Shortcuts Don't Work

I'm hoping I can explain this clear enough, I know I'm missing something, but I'm completely stumped. Here is the symptom:When working in structured view, selecting an element and then using the...

View Article

Image may be NSFW.
Clik here to view.

Arabic/Hindi digits

Hi all, i'm wondering if it is possible to make a code can change all numbers on file to Arabic numbers like (0123) and another one can change all digits to Hindi like (٠١٢٣) Thanks in advance

View Article


Is this correct for undo/redo operations in FDK?

I would like someone to assure me that the following way is the correct one:  In the beginning I enable FDK Undo recording with :  F_ApiSetInt(FV_SessionId, FV_SessionId, FP_UndoFDKRecording, True);...

View Article


Image may be NSFW.
Clik here to view.

Problems with ObjectValid ()

Dear experts,In my scripts I have this snippet:var tLoc2, fRange, j, thisMarker, thisId, thatId; //... for (j = 0; j < markerRange.length; j++)        // loop should not be necessary due to...

View Article

Debugging callback functions

Am I right with my observations?Ordinary (not named) callback functions are all listed as (for example) onClick() in the Functions pane of ESTK. In addition local variables in these functions are not...

View Article

How to detect change of document ?

Dear friends and experts,It seems obvious that with my new project I have opened the box of Pandora...Palettes stay open even when setting a new cursor location, hence I use this for my dialogue.But...

View Article

Image may be NSFW.
Clik here to view.

Deleting an XML object

Hi all, I've been having a bit of trouble deleting XML objects with ExtendScript's native delete() function. Basically I have an XML object being passed into a function like this: makeChanges(XMLObj,...

View Article


Cannot execute script

I am trying to use ExtendScript for the first time (with FrameMaker 11, from TCS 4), but the script cannot be executed (very basic script example from the  Adobe "Introduction to Scripting" guide). The...

View Article

Image may be NSFW.
Clik here to view.

Finding text with variables

I am facing the following problem: I have a paragraph that I want to replace some text from it. Say that I want to search for text "Hello world my friend Jonathan Foyl" and replace it with some other...

View Article


F_ApiFind returns -1 FA_errno if user clicks on the document.

I am facing the following problem. I am doing in a while loop multiple finds and replaces. However, because there are many while the replacements happen the user can click on the document somewhere....

View Article

filter to body pages

I need to filter only bodypage within this iterator below anyone know an easy way to do this?thanks  var doc= app.ActiveDoc;iterate(doc) function iterate(doc){        var pgf = doc.FirstPgfInDoc;...

View Article


How get TableId in Document by FDK?

My Code get Table, But it not working.It only can get a Cell has content="FrameMaker Source Item"This content not exist in my table.tableId = F_ApiGetId(0, DocId, FP_FirstTblInDoc);while ( tableId ) {...

View Article

Convert list of FM files to PDF

Hi, Back in the Frame 8 days we had a combination of Windows shell scripting and FrameScript to detect updated .fm files in our Perforce versioning system, convert the new files to PDF, and upload them...

View Article

How to filter tables from body pages only?

I have the following code to handle tables: for (F_ObjHandleT tableId = F_ApiGetId(FV_SessionId, docId, FP_FirstTblInDoc); tableId; tableId = F_ApiGetId(docId, tableId, FP_NextTblInDoc)) {  for...

View Article
Browsing all 888 articles
Browse latest View live


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