ExtendScript Find() methods - FS_FindCustomizationFlags constants
Hi, While attempting to do Find operations with ExtendScript, FM2015, I find that the documented constants for FS_FindCustomizationFlags do not resolve. From the doc: Constant.FS_FindCustomizationFlags...
View ArticleProgrammatic equivalent for the Find dialog Change functions
Hi, Is there a reasonable programmatic equivalent for the Change buttons in the Find dialog? FDK or ES? I have no urgency to find one, but I was going to use it if available. I'm looking for something...
View ArticleES regex does not recognise umlauts etc...
Friends of regular expressions!I want to check for valid (special) variable names and use\wfor word characters. This does not find characters such as ä - or any other none-ASCI character.My test script...
View ArticleFrameMaker script: alignment of all anchored frames in document to "Left"
I'm a long term FrameMaker (11) user, but completely new to scripting.Can someone help me make a script that will set the alignment for all anchored frames in a document to "Left"?Can someone help me...
View ArticleNested dialogue problem
Dear experts,From a palette i need to divert into a dialgoue and then come back into the palette.This works fine for the first time i enter the dialogue. The dialogue fails when entered the second...
View Articlewrap text with element
Hello, I'm using FM12 with structured docs. I'm looking to convert some Framescript into Extendscript language.I finish my first Extendscript this morning (too me 3 days) : searching Element and saving...
View ArticleDoes anybody knows, where i can get the Graphic2Dir data, for the Elm/Frame...
Does anybody knows, where i can get the Graphic2Dir data, for the Elm/Frame Script Tool ?
View ArticleHow to find a variable just after a marker?
Dear experts,My project steps further - but as soon as I have to deal with FM-objects I still struggle. The script should do this:In the document (http://www.daube.ch/zz_tests/Markers-and-variables.fm)...
View ArticleGet row and col nr of current cell
Dear all,For absolute addressing a table cell out of the current cell I need to know where I am.I have not found a proporty like CurrentRow or CellRowNum. CellRow is an object Row.// CellNumbering.jsx...
View ArticleInserting a Date text into a document on several different pages
I need to put an ordinal date phrase in several positions in a document. I have managed to be able to get it to put the phrase on the top of the first page where I then go along and cut and paste it...
View ArticleFind name of variable
Dear friends and experts, I'm again at the end of my knowledge:A variable just behind a marker is found and the variable can be deleted in the textThis variable should also be removed from the...
View ArticleKeyboard shortcuts
Dear friendsFYI: When working on "Customising FrameMaker 12/13" I was not succesful with keyboard shortcuts for a scipt.In the meantime I discovered Russ Wards post on this forum and his script...
View ArticleCan I do this with FrameMaker ExtendScripting?
Using FM 12.0I'm a coder so coding is not the issue here. It's just my lack of familiarity with FM ExtendScript and the art of the possible. I want to create a script that Inserts a marker of a custom...
View ArticleGet focus back into document
Dear friends,After opening a panel (wPalC) from the menu the focus is (of course) on the panel.a) Before working in this panel, the user may want to open another panel wPalS (by means of a keyboard...
View ArticleSetting up a character format
Dear friends, It's quite easy to set up a new character format with 'all AsIs', but I have not found the necessary ingredients to set up one with particular properties:a) name = superscript: all...
View ArticleDisplay on/off quirks
Dear experts(FM-13.0.5.547) I have discovered a strange behaviour:In the following order the location is not restored after the actions. It seems that SetDisplay destroys it: SetDisplay (false);...
View ArticleSpecial effects (mostly unwanted)
Dear friends,We all know about special effects in the movies, but I can tell you: also ExtendScript can entertain us with such. It appears to be a conjurer of the good old style. It all happens on the...
View ArticleWhat's the ExtendScript command for updating a FrameMaker book?
I have some scripts adapted from the FM_Outputs_CondText.jsx sample in FM10, but I just noticed today that the book is not getting updated. Seems like I need something in between these two commands:...
View ArticleWhen is a script closed (time of unregistering)?
Dear friends and experts!To avoid one (or more) of the special effects reported in this forum Klaus Göbel proposes to unregister the script when it is closed. But: when is the script closed?I did not...
View ArticleSelecting an unanchored frame
BeackgroundI have a few old documents (~150) that are having issues. When opening these documents one graphic file cannot be found. I know this file was not checked into our source control system,...
View Article