(1) Numbering paragraphs.Do not check "Level 2" and "Level 3" checkboxes. Select "Any" in the first listbox. If you want to have some text before/after the number enter
(2) Bulleting paragraphs.Do not check "Level 2" and "Level 3" checkboxes. Select "Any" in the first listbox. Replace '$' with a bullet character(s) in the edit control beneath the first list box. Use "Scale" control if bullet has to be enlarged. Thus, for example, period ( . ) when used as a bullet may be scaled to 500%.
(3) Inserting user specified string before evry paragraph.Do not check "Level 2" and "Level 3" checkboxes. Select "Any" in the first listbox. Replace '$' with a text you want to enter at the beginning of each paragraph
(4) Discriminating paragraphs by style.In the listbox select some style beneath the "Any" item and script will modify only those paragraphs with this style assigned.
(5) Multilevel numbering.Script can perform multilevel numbering of nested sections if headers of the same level have the same style. Specify style for each level ( up to
Script will plot the function in polar coordinates and put the plot in the middle of the page.
At the beginning of a script see several sample functions of the angle argument are listed.
Asked how his pet parrot died, the mathematician answered "Polynomial. Polygon." . More math humor.
Select one or more objects on a page or spread, and run this script
to export the selected objects as a graphic in the GIF89a file format.
Script converts selected items to GIF file format by first creating a temporary
EPS, placing this file back into PageMaker, and then exporting as a GIF.
( Computer shall be targeted on a PostScript printer)
Text, Pagemaker drawn elements, as well as any imported graphics can
be converted.
To preserve correct color select a Color PPD in PageMakers Print Dialog
box.
Choose File>Edit>Print then select the desired PPD (Adobe recomends
the Color General PPD included with PageMaker). Holding down Shift and
selecting Print will save the setting without printing.
The quality of the GIF is also dependent on settings in the EPS import
filter. Higher DPI setting result in high resolution GIFs. To Change the
EPS import filter settings Choose Show Preferences in the Place dialog
then import a EPS. Choices made in the filter remain until the user changes
them.
Disableing Smooth Font Edges on Screen in ATM is recomended when converting
text.
Run this script with a frame from a threaded story selected to delete any empty frame in the thread.
Run this script with a threaded text frame selected to apply a fill and stroke to all frames in the thread.
If the story is not framed yet then convert all textblocks to a frames using the script "Text : Frame and Story : Frame Story" and apply the script "Story Fill And Line" after that.
Script is aplicable as well to an individual unlinked frames containing text.
This script finds in the document all frames containing images and assigns to them Fill and Stroke attributes specified by the user.
From a master page or spread that includes frames, select a frame and then run this script to reproduce the frames on pages assigned to that master. The new frames on those publication pages will be threaded together into one long thread.
This script makes the selected polygon smoother by desharping its angles. Invoke the script when just one polygon is selected. The script creates a new polygon without sharp angles on top of the original one.
In the dialog box specify:
- Smoothness - number of new points per each vertex of the original polygon. More points make desharping curve smoother; 10-15 can be a good point to start for most common polygons.
- Flatness - percentage of each side of the original polygon to be inherited by the new polygon as a flat segment.
This script records current styles info as a miscellaneous script. When prompted, save style definition script in your "Scripts" directory/folder. To import recorded styles into another document just run the style definition script.
Draw a line across a polygon where you want to bisect the shape, select both the line and the polygon, and then run this script to divide the single polygon into two polygons.
Run this script with a text block or text frame selected to move to the first, last, next, or previous text object in the thread.
Script reproduces master items containing page numbers on pages assigned to a master page. User can specify page range and style of page numbering.
Select a group and then run this script to resize all objects in the group (including text characters) by the horizontal and vertical percentages you specify. Previously released versions of this script ran imperfectly unless the measurement for the publication was set to inches.
This script provides a complete listing of each paragraph style defined in the active publication, and itemizes the attributes of each style.
When exercized for the first time in a document, the script creates
a text block containing current date and time. User may modify settings
of the text and move the textblock anywhere in the pub, if need. When invoked
next time the script will find "Date and Time Stamp" in the document and
update it.
Tips:
1. If you need a framed stamp, delete from the document old stamp and
invoke the script when an empty frame is selected by the pointer tool.
2. To change formatting of the date/time stamp feel free to edit subroutine
Stamp at the end of the script.
Scripted implementation of the Add Continued Line PlugIn. It has some advantages when used in a documents with big number of the text blocks.
This is a first attempt to implement styles as a script. Graphic styles
contain fill and stroke attributes of the PageMaker graphic objects: boxes,
polygons, ovals Dialog created by the script simulates (as much as in can
) a style palette. It supports the following commands:
"New": Script displays 'Fill and Stroke' dialog
and creates a record ( in a document private data area ) which contains
name of the new style and all graphic settings entered into the 'Fill and
Stroke' dialog. Name of the new style is added to the listbox. Default
dialog state mirrors 'Fill and Stroke' settings of the current selection.
Hence it is easy to create a graphic style which copies graphic settings
of the graphic object.
"Apply": script applies selected in the listbox
graphic style to a graphic objects which are selected at the document with
a pointer tool. To apply style to an object script does 2 things: - applies
all fill and stroke attribute from the style record - raises a flag ( in
the object private data area ) thus binding the object with the style.
"Edit": script displays 'Fill and Stroke' dialog
and allows to change attributes in the style record. After that script
scans the document for all graphic objects binded with the style and change
them as appropriate. This operation may take some time when working with
a long documents.
"Delete": deletes style record. All graphic objects
keep their current fill and line attributes
"Close" : closes Graphic Style (quasi)palette.
Tutorial:
1. Download script "Graphic Styles" on your machine. Shift click on
the image at the left top of this section and save the file inside your
...\PlugIns\Scripts directory.
2. Launch PageMaker and bring up the Script palette.
3. Open folder "Templates" in the Script Palette's list and launch
the script "Brocure 2".
4. Select grey square on the right side of the first page with the
pointer tool.
5. Invoke the script "Graphic Styles"
6. Hit the "New" button and name new style "Grey squares"
7. When "Fill and Sroke" dialog comes up, just hit "OK"
Now script has created a style record mirroring the attributes of the
grey square. However the square itself does not belong to the new style
yet. So ...
8. Hit "Apply" button. Script does not change the square but assigns
a new style to it.
9. Dialog that emulates graphic style palette is modal, you have to
close it before turning page 2. Hit "Close" button.
10. On page 2 select all seven grey squares ( one big one and six smaller
ones )
11. Launch script "Graphic styles" again.
12. Make sure that "Grey squares" is hilited in the listbox and hit
"Apply" button. Now all grey squares in the document have the same style.
13. Hit "Edit" button. Change tint to 50% and stroke to dashed line.
Close the script dialog and observe: not only selected squares on page
2 got changed but the square on page 1 as well.
14. On page 1 select 2 blue rectangles and invoke "Graphic styles"
script. Hit button "New" and name new style "Blue pad". In "Fill and Stroke"
dialog box hit "OK"
15. Close "Graphic styles" script, turn page 2 and select blue rectangle
at the background. 16. Bring up "Graphic styles" script and hit "Apply"
17. Hit "Edit" and change "PANTONE 646 CVC" to "PANTONE 5835 CVC"
Hit "Close". Inspect both pages of the document. See: all blue rectangles
changed their color.
Scripted analog of the "Build booklet" plugin. Not finished (creep and
gutter not implemented yet). Comparing with "Build booklet": the script
works faster and can do vertical tiling.
If "None" is selected as imposition, then script only transfers master
items to a regular pages.
Safety tips to avoid data loss:
1. Before using the script, create back up copy of your document under
different name.
2. After script is completed - do not use File>Revert command.
3. As soon as possible use File>SaveAs to save the outcome under another
name.
( These tips are applicable to "Build Booklet" plugin as well )
(Oops, a static control "Insert pages if necessary" got slipped away from the dialog. It has to be just above the radiobuttons "after last/before first" )
The script displays coordinates of all horizontal and vertical ruler guides on the page/spread. User can edit this coordinates. When the button "Apply" is hit, guides in the documents get adjusted to the dialog entries. To delete a guide clear up the edit control. Script does not draw new guides. To draw a new guide quit the script, draw a new guide, position it approximatively and use the script for fine tuning. Script does not issue an alert if entry is invalid. Incorrectly defined guides get removed from the document. Size and position of the dialog depends on the number of the guides. If dialog happens to be bigger then your monitor and buttons drop out of the screen, ( e.g., 20 guides on the page vs. 14" moniitor ) hit enter to exit the dialog. Reduce number of guides in the document or change display settings. Depending on the number of guides, it may take up to 15-20' to apply adjusted guides to a page ( PPC 8100/80 )
Apply this script when a frame ( empty or containing a text ) is selected. Script divides the frame into columns, spreads text between the columns and preserves links if necessary.
Warning: Script does not change frame inset. When specifying number of a new columns and a gutter between them make sure that new size can suport the old inset.
There are two versions of a radial gradient script with color concentrated
at the center or at the edge of a graphic. Both scripts uses the technic
suggested by Horst Wessel.
Apply script when a box, an oval or a polygon is selected. Be sure
to assign a color to the graphic before script applied.
Gradient scripts are not very fast. Expect more delays on Macintosh.(
My benchmarking gives about 1 min on Pentuim150 and 5-7 min on PPC 8100/80
)
Outcome can be rotated,skewed,stretched. Shrinking is not always possible.
See script "Gradient" ( Horst Wessel) at http://www.svprint.com/pmscripting_folder/scripts_folder/pm_scripts.html.
This script creates a box with uniform gradient.
Yet another modification of the script brings Color
Mixer script: Draw any PM Graphic: box, oval, polygon and
specify color in the center and color at the edge using Element>Fill &
Stroke dialog ( Script looks only at the Fill and Stroke colors ). After
that invoke the script and see how Fill/Stroke colors get blurred.
This is a family of scrpts. Each script enters into a text one uper
ASCII char which could be missing on your keybord. Invoke these scripts
when text cursor is in a story.
Downloading of these scripts is a two step process. First shift click
on the image to download from the Web an installer installer script. Save
the script into your PLUGINS \ SCRIPTS directory. Launch PageMaker, bring
up the Script Palette and run the installer script. Script creates subdirectory
ASCII within the SCRIPTS directory and populates the subdirectory
with a Character scripts.
One need the latest upgrade of
the script engine to run the installer.
Attention: If you are running non English PageMaker, you may have to
edit the script: Replace \SCRIPTS in the 13th line with actual name of
the directory which contains the scripts.