Below is a partial list of the scripts included with the Super Web
Bundle.
| AddIndexMarker.
Inserts an Index marker at the insertion point after prompting you
for the marker text. Selected text in the document will appear as
the default in the dialog box. |
| ApplyCustomMasterPage.
Applies a custom master page to the last page of the document if
it is a left page and its main text frame is empty. If there are
empty paragraphs on the last page, the script deletes them. Only
empty paragraphs at the very END of the main text flow are
deleted. Blank paragraphs containing markers or anchors are NOT
deleted. |
| ApplyMasterPage.
Presents a list of master pages and allows you to quickly apply
one to the current page. Although it duplicates the functionality
of FrameMaker's Apply Master Page command, the scroll list dialog
allows you to see the document's master pages at a glance, and to
choose one by typing the first letter of its name. |
| AsciiFinder.
Finds and displays the ASCII value of characters in the active
document. The script loops through ASCII values 0-255, highlights
the first occurrence in the document, and displays the ASCII
number in a message box. |
| AutoNumReport.
Creates a report of all autonumbered paragraphs in your document.
The report includes each paragraph's format name, autonumber
format, autonumber string, and text. Each paragraph in the report
has a hypertext link to the corresponding paragraph in the
document. |
| BodyToHeadingRows.
Converts selected body rows in a table to header rows, while
maintaining the row contents. This is useful for cleaning up
tables imported from Word. |
| BookBuilder.
Creates a book with a series of numbered files. The script prompts
you for a book name, a common file prefix, and the number of files
you want in your book. The script automatically populates the book
with numbered files, with pages set to restart at one and page
prefixes corresponding to the file number. There are several other
options that can be set. |
| BookFindChange.
Finds and changes text in an entire book. Unlike the
BookFindReplace script that comes with FrameScript, this script
will find and change text within table cells, in text frames in
anchored frames, and in text lines. |
| CatalogGraphics.
Creates a catalog of graphics in a folder. |
| ChangeGraphicPath.
Allows you to change the path for a selected graphic. |
| ChangeParaFormat.
Finds paragraphs with one paragraph format and changes them to
another paragraph format. The script works with both books and
individual documents. The "find" format does not have to be
present in the document's paragraph catalog, but the "change"
format does. The script can optionally delete the "find" paragraph
format. |
| ChangeParaFormatBatch.
Same as ChangeParaFormat except it works with a batch file so you
can change multiple formats at once. Works with both documents and
books. |
|
CopyPasteTblColumnWidths. Adds a Table Column menu to the
menu bar with Copy Table Column Widths and Paste Column Widths
commands. Copies and pastes ALL column widths at once. |
| ConvertTextInsetsToText.
Converts text insets to text without having to reimport the text. |
| CountPagesInBook.
Gives a total page count for a book. |
| DefaultGraphicProps.
Sets default properties for imported graphics and the anchored
frames that contain them. This is an event script that runs
automatically, immediately after a graphic is imported. |
| DeleteColors.
Deletes all of the colors in a predefined list from a document. |
| DeleteEmptyParagraphs.
Deletes empty paragraphs in a document. Paragraphs containing
markers, table anchors, etc. will not be deleted. |
| DeleteEmptyTextLines.
Deletes all empty text lines in a document. |
| DeleteFormatsInDoc.
Deletes all paragraph and character formats from current document.
You can run this script before importing formats from a template. |
| DeleteFormatsNotInUse.
Deletes paragraph and character formats that are in the document's
catalogs, but not in use in the document. |
| DeleteUnusedVariables.
Deletes all unused user variable formats in a document or book. |
| DeleteUnusedXRefs.
Deletes all unused cross-reference formats in a documen or book. |
| FindChangeBatch.
Finds and changes text in batches. |
| FindChangeXRefFmts.
Finds all cross-references that use one cross-reference format and
changes them to another format. |
| FindCharTags.
Searches for a string of text and counts how many times it is
tagged with a particular character format. Can be easily modified
to apply a character format to all the occurrences of a text
string. |
| FindCondFmts.
Counts how many times each condition format is applied to text in
a document. |
| FindRowHeights.
Makes a log file listing all of the minimum and maximum table row
heights in a document. Can be easily modified to set row heights
for tables. |
| GraphicNameInFrame.
Inserts the filename of the selected graphic into a new text frame
in the anchored frame. Optionally, the height of the anchored
frame can be increased to accomodate the text frame. |
| ImportUserVarsOnly.
Imports user variables only from any open document you select into
all the files in the active book or document. If you run the
script on an active document, at least one other document must be
open. Unlike Frame's Import Formats command, this script does not
import system variables. |
| InsertNewLinks.
Adds a newlink Hypertext marker at the beginning of each paragraph
with a specified paragraph format. |
| InsertVariable.
Presents a list of user variable formats and allows you to quickly
insert one at the insertion point. |
| ListFormatsInUse.
Makes lists of paragraph and character formats that are in use in
the active document. |
| ListFormatsNotInUse.
Makes a list of paragraph and character formats that are in the
document's catalogs, but not in use in the document. |
| LockUnlockGraphics.
Locks selected graphics in an anchored frame so they can't be
selected and moved. Unlocks all graphics in an anchored frame.
Demonstrates how to add custom menus and commands with
FrameScript. Included with MakePalette
script. |
|
MakeAllPgfsUnconditional. Makes all of the text in the
document unconditional. |
| MakeListOfFilesInFolder.
Prompts for a folder and makes a list of all of the files and
folders inside of it. |
MakePalette. Saves the current document as a
view-only palette document. Palettes can be used to launch your
script commands. Includes a short tutorial on making palettes and
detailed event script that combines these scripts: LockUnLockGraphics and
ScaleGraphics. You will also learn about adding custom menus
to FrameMaker for your scripts. |
| MultiLevelCont.
This script is for indexes. It adds a "continued" line when a
Level 2 entry begins at the top of a column or page. The line is
in the form of "Level 1 Entry (Cont.)". The script is designed to
work with 2 level indexes; it assumes the default paragraph format
names in the index: "Level1IX" and "Level2IX". |
| OpenAllInBook.
Opens all of the documents in a book, skipping unavailable fonts
messages. The script can be modified to ignore missing graphics,
unresolved cross-references, etc., so that you can open all of the
documents in a book without having to dismiss dialog boxes. |
| OpenCatalogs.
An event script that automatically opens the paragraph and
character format catalogs whenever a document is opened. |
| OpenDocToRefPages.
An event script that automatically opens documents to the
reference pages or master pages. Useful for working on the
reference or master pages of a series of documents. |
| PadEmptyCells.
Inserts non-breaking spaces in empty table cells, so that they are
correctly displayed in HTML. |
| RemoveAllCondFromRows.
Makes all table rows in the document unconditional. |
| RemoveCellOverrides.
Removes ruling, shading, and color overrides from selected table
cells. |
|
RemoveCharacterOverrides. Removes local character
formatting from all the text in the document, but preserves
formatting applied by character tags. Includes two fully-commented
versions of the script and an explanation of how FrameMaker
character formatting works. |
| RemoveTableOverrides.
Removes ruling, shading, and color overrides from all of the cells
in the selected table. |
| RenameFilesInBook.
Allows you to rename files in a book. A .fm extension is
automatically added by the script. Actual FrameMaker files on the
disk are not renamed. |
| ReversedHeads.
Converts heading paragraphs to reversed (white on black) text
using a single-cell table. |
| SaveAllAsMif.
Saves all of the files in a book file to Maker Interchange Format
(MIF). This script ignores missing fonts and graphics, allowing
the script to process the book without any interruptions. It will
also open earlier versions of Frame documents and save them as MIF
without interruption. |
| ScaleGraphics.
Scales selected graphic to frame. If an anchored frame is
selected, all the graphics in the frame are scaled as a group to
fill the frame. Scaling is always proportionate. Since Frame uses
Escape m p as a shortcut to shrinkwrap a frame to its graphics,
this script uses Esc M P as a shortcut. Included with MakePalette script. |
| SetRunaroundToNone.
Automatically sets the runaround properties of imported graphics
to Don't Runaround as they are imported. |
| SizeTextFrameToText.
Vertically sizes a text frame to fit the text contained in it.
Great for doing callouts on illustrations. |
| ShowAllParaFormats.
Creates one paragraph for each of the paragraph formats in the
catalog and inserts the name of the paragraph format into the
paragraph. Run the script on a blank copy of your template. |
| StripCharFmt. Prompts you for a format from
the character catalog, and sets all occurrences of text with that
format to the default paragraph font. |
| SubDropPath.
Parses a complete file name into its path and file names |
| TableNavigation.
An event script that allows you to move from table to table in a
document using keyboard shortcuts |
| TagsToFormats.
Finds formatting tags in paragraphs and applies paragraph
formatting to the found paragraph. Tags are then deleted. |
| TogglePostscript.
Toggles the Postscript Code property on or off for a selected text
frame. |