Script to resize all tables in a document
cross posted in FrameMaker forum Does anyone know of a script that will resize all tables within a document at once so that the tables fit the width of the text frame?
View ArticleIs there support for the GraphicsFmt object in FrameMaker 11 ExtendScript?
I was reading the FDK documentation for FrameMaker 11 and I see that support has been added for Object formats using FO_GraphicsFmt. Is there support for the GraphicsFmt object in FrameMaker 11...
View ArticleRe: Is there support for the GraphicsFmt object in FrameMaker 11 ExtendScript?
Stuart, I am pretty sure you can use the object from ExtendScript. With the FDK documentation you should be able to guess the property names in ExtendScript, but the easiest way is to use a small test...
View ArticleRe: Is there support for the GraphicsFmt object in FrameMaker 11 ExtendScript?
I tried this: #target framemaker var doc = app.ActiveDoc; var fmt = doc.GetNamedGraphicFmt("Test"); alert (fmt); but it doesn't work. The omv.xml file for the Object Model Viewer is for FrameMaker 10....
View ArticleHow do I take an anchored frame and return the paragraph tag it uses?
I need to parse through anchored frames and return the paragraph tag that it is located it. I can't seem to find a property that returns the paragraph tag. Anyone have any ideas?
View ArticleRe: How do I take an anchored frame and return the paragraph tag it uses?
The AFrame object has a TextLoc property which leads to the paragraph in which the anchor is located. Does that answer your question?
View ArticleRe: How do I take an anchored frame and return the paragraph tag it uses?
Try this on the selected anchored frame: #target framemaker var doc = app.ActiveDoc; var aFrame = doc.FirstSelectedGraphicInDoc; var pgf = aFrame.TextLoc.obj; alert (pgf.Name); Rick
View ArticleRe: How do I take an anchored frame and return the paragraph tag it uses?
Please mark my answer as Correct. Thanks.
View ArticleNeed Help With Script Skipping Word Before Variable
I borrowed and modified a skip I found here: http://forums.adobe.com/message/4808804 with code borrowed from elsewhere. I noticed that it seems to run fine, but it skips any word that appears right...
View ArticleRemove Character Format Override From Text Range
This should be simple, but I am wracking my brains trying to figure this out. I simply want to take a text range and remove any character format override (CTRL-I or CTRL-O) and remove the override. I...
View ArticleRe: Remove Character Format Override From Text Range
Marc, If you simply want to remore all overrides (i.e. not change the current overrides to existing formats), there is a much simpler and faster method. To explain this, you need to know about the...
View ArticleRe: Remove Character Format Override From Text Range
I tried to use this technique, both code-wise and using the menu, and the character format overrides are not in fact removed. I would really prefer not to do it this way, though, because I need much...
View ArticleRe: Remove Character Format Override From Text Range
Hi Marc, It should really work via the menu if you use the Remove Overrides option, otherwise there may be a character format you do not know about (possibly applied via the EDD ?). If you cannot...
View ArticleRe: Remove Character Format Override From Text Range
We don't use structured Framemaker here, so I don't see how EDD would be applicable. I did check and as far as anyone knows we don't use anything like EDDs. The idea is to convert from overrides to...
View ArticleRe: Remove Character Format Override From Text Range
OK, but with no EDD there is no reason that the character format overrides cannot be removed using the Import Formats function. But as you want to convert the overrides, that would not help you,...
View ArticleExtendscript that runs "Apply Master Pages"
Hello Framers, In the extendscipt toolkit data browser, I don't see an option to apply master pages to a document (as in Format-->Page Layout--> Apply Master Pages...). Shouldn't this be some...
View ArticleRe: Extendscript that runs "Apply Master Pages"
I have answered this same question last week on the FrameScript forum. In that scripting product, there is an option to execute any FrameMaker command as long as you can find the command name. Looking...
View ArticleRe: Extendscript that runs "Apply Master Pages"
Hi Jang, Thank you for your prompt response! I've already tried using CallClient(), but for some reason, I get an error saying that app.CallClient() is not a function. I doubt if Adobe guys respond....
View ArticleRe: Extendscript that runs "Apply Master Pages"
http://forums.adobe.com/thread/880398 discussses this issue, but it's still not clear how to invoke the Apply Master Pages command.
View Article