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

Re: get FontSize of the text

I have always found it very hard to set individual text properties. Maybe Rick can jump in here (I am sure he will - but he is in the US so in a different time zone).

View Article


Re: get FontSize of the text

#target framemaker var doc, textRange, prop; doc = app.ActiveDoc; textRange = doc.TextSelection; prop = new PropVal (); prop.propIdent.num = Constants.FP_FontSize; prop.propVal.valType =...

View Article


Re: get FontSize of the text

Hi, This is sample script var findSize  = "12";var changeSize = "20";var doc = app.ActiveDoc; var pgf = doc.TextSelection.beg.obj; main(pgf, doc);function main (pgf, doc) {      var end =...

View Article

iterate all tables in framemaker

Hi, i want to iterate all tables.. and process table contentshow to do it through script? pls help

View Article

Re: iterate all tables in framemaker

Even though it is totally unclear what you want to do with the tables, there is a basic approach to visiting all the tables in a document: var oDoc = app.ActiveDoc;var oTable =...

View Article


Re: iterate all tables in framemaker

Hi,i have checked table properties and make script upto getting cell.. but i have lacked in getting contents of the cell.. like get paragraph contents, var textList = pgf.GetText...

View Article

Re: iterate all tables in framemaker

This is not the best approach. Don't start at the top with tables; start at the bottom with the contents of the cell and what you want to do with it. Cells contain paragraphs. Put your cursor in a...

View Article

Re: iterate all tables in framemaker

Well, if the script is going to go through all the table contents, it is the right approach.The step that is missing is the inner loop, going through the paragraphs in each cell: doc =...

View Article


Re: get FontSize of the text

What exactly are you trying to do? Are you changing the whole paragraph from 12 to 20 points, or just some words inside the paragraph. You are trying to make a local property change and this is not...

View Article


Re: iterate all tables in framemaker

doc = app.ActiveDoc; table = doc.FirstTblInDoc ; while(table.ObjectValid()){ row = table.FirstRowInTbl;     while (row.ObjectValid()) { //traverse rows        cell = row.FirstCellInRow;        while...

View Article

Re: iterate all tables in framemaker

Yes.. i want to check the font size of the text in table.. for find and replace the font size.. and check font family of the text in table.

View Article

Image may be NSFW.
Clik here to view.

Re: get FontSize of the text

my task is find and change the font size of the text in the current document..found text may be paragraph,line,words,etc., ex: find = 12pt change = 20pt the task is find text which have the font size...

View Article

Image may be NSFW.
Clik here to view.

get name of the applied PgfFmt and charFmt of the text selection

Hi, how to get the applied PgfFmt and charFmt names of the selected text using script?

View Article


Re: iterate all tables in framemaker

table = doc.FirstTblInDoc;while(table.ObjectValid()){    row = table.FirstRowInTbl;    while (row.ObjectValid()) {              cell = row.FirstCellInRow;        while(cell.ObjectValid()){...

View Article

Image may be NSFW.
Clik here to view.

Re: iterate all tables in framemaker

No it is not looping infinitely. It is working its way through all the paragraphs in all the cells in ALL the tables, and there are a LOT of tables in the reference pages of your document. Instead of...

View Article


Image may be NSFW.
Clik here to view.

Re: iterate all tables in framemaker

Thank for your response.. I have used following code for get tables  var oTables = locFlow.GetText(Constants.FTI_TblAnchor);it returns all tables only in document at final i have done my task with your...

View Article

Framemaker script

Hi, Can anyone get me jsx coding to open bunch of files in Framemaker?

View Article


Re: Framemaker script

Hi, I have a basic sample here on how to open a single file: FrameMaker ExtendScript Samples - West Street Consulting Might give you some ideas. Russ

View Article

Re: Framemaker script

Hi Russ,I have already checked on this site and am still unable to open all the files. Looking forward you help here. Thanks,Raj

View Article

Image may be NSFW.
Clik here to view.

Re: Framemaker script

Always start with the smallest possible task. Can you open one file? If not, why not? What is going wrong?

View Article
Browsing all 3715 articles
Browse latest View live


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