Scripts for use with PageStream

This is a collection of Python scripts for use with PageStream. Although some or all of these are distributed with PageStream I have made them available for download here to provide an easy way of providing updated versions. Although I assert copyright (these scripts are not public domain) these scripts are all freely redistributable. Anyone wishing to modify these scripts is free to do so under the terms of the GNU GPL. If a different license is desired inquire on the PageStream support list and arrangements can probably be made.

ScriptVersionUploadedComments
Console 0.3.1 20150718 22:16:05 An interactive Python console for PageStream. Now includes a Nederlands translation (thanks Theo!) «documentation»
CreateBorder 1.0a 20150718 22:16:05 Provides a GUI interface to the scripting commands necessary to create borders. Some additional conveniences such as automatic movement and alignment of paths. Now with Dutch translation courtesy of Theo Zweers (thanks!) «documentation»
CreateCalendar 1.1.4 20150718 22:16:05 Interim release and bug fix adding support for multiselect of events and support for anniversary events (FIXED MMDD[YYYY] category name) where 'name' can include format strings such as {ddd}. The only change to the previous version (1.1.3d) is the bundling of additional holiday files (thanks Theo!). See the documentation for more information. Note the script is not feature complete—primarily in astronomical functions. However it is perfectly serviceable outside of that. «documentation»
FontSpec 1.4.1 20150718 22:16:05 Adapted from SoftLogik script to generate font catalogs. Please read the documentation for important information on getting this script to work. «documentation»
FontSpec 1.4.2 20150718 22:16:05 Adapted from SoftLogik script to generate font catalogs. Please read the documentation for important information on getting this script to work. «documentation»
FontSpec 1.4.3 20150718 22:16:05 Adapted from SoftLogik script to generate font catalogs. Please read the documentation for important information on getting this script to work. «documentation»
HCTextEditor 1.1.3 20150718 22:16:05 A UTF-8 text editor written in Python that has syntax highlighting including for PageStream text codes and a few other file types. It is distributed as source code and requires a working Python and PySide (or PyQt for legacy versions) installation—see the documentation for more information. Tested on Linux with Python 2.7.1, Qt 4.7.2, PySide 1.1.0. Tested on OS X with Python 2.7.2, Qt 4.7.3, PySide 1.0.4. For PyQt versions, Windows users should download the "Setup" version. «documentation»
HCTextEditor 1.2.2 20150718 22:16:05 A UTF-8 text editor written in Python that has syntax highlighting including for PageStream text codes and a few other file types. It is distributed as source code and requires a working Python and PySide (or PyQt for legacy versions) installation—see the documentation for more information. Tested on Linux with Python 2.7.1, Qt 4.7.2, PySide 1.1.0. Tested on OS X with Python 2.7.2, Qt 4.7.3, PySide 1.0.4. For PyQt versions, Windows users should download the "Setup" version. «documentation»
HCTextEditor 1.2.6 20150718 22:16:05 A UTF-8 text editor written in Python that has syntax highlighting including for PageStream text codes and a few other file types. It is distributed as source code and requires a working Python and PySide (or PyQt for legacy versions) installation—see the documentation for more information. Tested on Linux with Python 2.7.1, Qt 4.7.2, PySide 1.1.0. Tested on OS X with Python 2.7.2, Qt 4.7.3, PySide 1.0.4. For PyQt versions, Windows users should download the "Setup" version. «documentation»
HCTextEditor 1.2 20150718 22:16:05 A UTF-8 text editor written in Python that has syntax highlighting including for PageStream text codes and a few other file types. It is distributed as source code and requires a working Python and PySide (or PyQt for legacy versions) installation—see the documentation for more information. Tested on Linux with Python 2.7.1, Qt 4.7.2, PySide 1.1.0. Tested on OS X with Python 2.7.2, Qt 4.7.3, PySide 1.0.4. For PyQt versions, Windows users should download the "Setup" version. «documentation»
HCTextEditorSetup 1.2 20150718 22:16:06 A text editor for Windows that has syntax highlighting including for PageStream text codes. Although written in PyQt, this is a Windows installer that contains everything needed and is standalone—it neither uses nor interferes with other applications or libraries that may be installed. «documentation»
InsertSpace 1.0 20150718 22:16:06 Quick and dirty script that opens a dialog for inserting the various spaces available in PageStream.
LoremIpsum 1.0 20150718 22:16:06 Inserts a Lorem Ipsum text at the text insertion point. (Bug fixed 20071020)
PrintBorders 1.1 20150718 22:16:06 Prints a catalog of all currently installed borders.
SendPictureToEditor 1.3 20150718 22:16:06 Crossplatform, same script for Windows, Linux and OS X
SendTextToEditor 2.0 20150718 22:16:06 Sends currently selected text to a text editor. The first time the script is run it will prompt you to either keep the default editor for your platform or to select a different one. It also allows setting some additional parameters (unless you have a specific reason to change them it is highly recommended to keep the defaults). You can then save your settings to a preference file. If you do so then you won't be prompted again. Editing the script is neither required nor recommended. «documentation»
SendTextToEditor 2.2 20150718 22:16:06 Sends currently selected text to a text editor. The first time the script is run it will prompt you to either keep the default editor for your platform or to select a different one. It also allows setting some additional parameters (unless you have a specific reason to change them it is highly recommended to keep the defaults). You can then save your settings to a preference file. If you do so then you won't be prompted again. Editing the script is neither required nor recommended. «documentation»
pgs2xtg 1.0 20150718 22:16:06 Converts text files with PageStream text codes into QuarkXPress tagged text files «documentation»

Note about documentation: if there is a documentation link for the script then the same html file is available in the archive and (theoretically) from the script by clicking the Help button. This used to work on linux and may still—however due to how my workstation is configured this does not work for me. It may work for you, however. On Windows this does not work. On Windows only compiled help files can be used. I am planning on addressing this, but currently no script comes with compiled help files.